Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

OpenSans-Light is a truetype font. Lightened description in info modal - OpenSans-Light was set as opentype in main.css font-face definition, changed this to truetype. - Added OpenSans-Regular as open_sans_regular, changed descriptions to user this font and brightened up the font from #bbb to #eee in info dialog box.

ZachTRice157e567852ea
diff --git a/web/css/wv.layers.modal.css b/web/css/wv.layers.modal.css
index 2576c9383..cee995a60 100644
--- a/web/css/wv.layers.modal.css
+++ b/web/css/wv.layers.modal.css
@@ -15,7 +15,7 @@
.layer-modal p, .layer-modal div,
.layer-modal h1, .layer-modal h2,
.layer-modal h3, .layer-modal h4 {
- font-family: open_sans_light;
+ font-family: open_sans_light, Arial, sans-serif;
font-weight:300;
color:#383838;
}
@@ -82,7 +82,7 @@
height: 40px;
line-height:40px;
font-size: 28px;
- font-family: open_sans_light;
+ font-family: open_sans_light, Arial, sans-serif;
padding:0 10px;
position:absolute;
left:35px;
@@ -251,7 +251,7 @@
#category-breadcrumb{
height:30px;
line-height:30px;
- font-family: open_sans_light;
+ font-family: open_sans_light, Arial, sans-serif;
font-size:16px;
color:#000;
/*font-style:italic;*/
@@ -378,7 +378,7 @@
-o-box-sizing: border-box;
padding: 0.5em 0.5em;
width:150px;
- font-family: open_sans_light;
+ font-family: open_sans_light, Arial, sans-serif;
font-size:13px;
text-align:left;
font-weight:300;
@@ -452,7 +452,7 @@
#selected-category .ui-tabs-panel p,
#selected-category .ui-tabs-panel span {
font-size: 11px;
- font-family: open_sans_light;
+ font-family: open_sans_regular, Arial, sans-serif;
font-weight: 300;
color: #bbb;
}
@@ -466,14 +466,14 @@
#selected-category .ui-tabs-panel .source-metadata a,
.layer-metadata p,
.layer-metadata a {
- font-family: open_sans_light;
+ font-family: open_sans_regular, Arial, sans-serif;
font-size: 13px;
line-height:14px;
margin-bottom: 15px;
}
#layers-all .source-metadata p,
.layer-metadata p {
- color: #bbb;
+ color: #eee;
}
#selected-category .ui-tabs-panel .source-metadata.overflow{
height:100px;
diff --git a/web/css/wv.main.css b/web/css/wv.main.css
index e7be837e9..0ae622f47 100644
--- a/web/css/wv.main.css
+++ b/web/css/wv.main.css
@@ -10,9 +10,14 @@
*/
@font-face {
font-family: open_sans_light;
- src: local(open_sans_light), url('../font/OpenSans-Light.ttf') format('opentype');
+ src: local(open_sans_light), url('../font/OpenSans-Light.ttf') format('truetype');
font-weight:300;
}
+@font-face {
+ font-family: open_sans_regular;
+ src: local(open_sans_regulat), url('../font/OpenSans-Regular.ttf') format('truetype');
+ font-weight:400;
+}
html,body, div, ul, li, p, h1, h2, h3, h4, h5, h6 {
display:block;
margin:0;