Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fonts moved to separate file. Lucida/Monaco fonts now Open Sans. Mono... - @font-face definitions now contained within a separate css file and moved to the top of the our link.dev stack in index.html - Gill Sans + Lucida Sans fonts have been converted to Open Sans - Lucida Console / Monaco fonts have been converted to Roboto Mono - Minor css cleanup / tweaks

ZachTRice8b71fb4a01e0
diff --git a/web/css/bank.css b/web/css/bank.css
index f160a0097..d83223c91 100644
--- a/web/css/bank.css
+++ b/web/css/bank.css
@@ -1,4 +1,3 @@
-/*canvas {float:left;}*/
.toggleButtonHolder{
position:absolute;
right:0;
diff --git a/web/css/dataDownload.css b/web/css/dataDownload.css
index 9aee935a5..4a43ffa89 100644
--- a/web/css/dataDownload.css
+++ b/web/css/dataDownload.css
@@ -8,7 +8,7 @@
}
#wv-data-selection li {
- font: 100 12px/12px 'Lucida Sans', 'Monaco', Arial;
+ font: 300 12px/12px 'Open Sans', sans-serif;
margin-top: 3px;
display: list-item;
list-style-type: none;
diff --git a/web/css/wv.alert.css b/web/css/wv.alert.css
index 90e521cde..8a94ae2b3 100644
--- a/web/css/wv.alert.css
+++ b/web/css/wv.alert.css
@@ -27,7 +27,7 @@
.wv-notify-modal h2 {
text-transform: capitalize;
font-size: 18px;
- font-family: 'Lucida Sans', 'Arial', Sans-Serif;
+ font-family: 'Open Sans', Sans-Serif;
font-weight: bold;
color: #eee;
padding: .75em 10px;
@@ -40,12 +40,12 @@
}
.wv-notify-modal h2 span {
font-size: 13px;
- font-weight: 100;
+ font-weight: 300;
margin-left: 5px;
color: #999;
}
.wv-notify-modal p {
- font-family: 'Helvetica', sans-serif;
+ font-family: 'Open Sans', sans-serif;
font-size: 16px;
line-height: 22px;
margin: 10px 10px;
diff --git a/web/css/wv.anim.widget.css b/web/css/wv.anim.widget.css
index 8515797f6..a81adc33a 100644
--- a/web/css/wv.anim.widget.css
+++ b/web/css/wv.anim.widget.css
@@ -227,7 +227,7 @@
.input-range__label {
color: #ffffff;
- font-family: 'Helvetica Neue', san-serif;
+ font-family: 'Open Sans', san-serif;
font-size: 0.9rem;
white-space: nowrap; }
diff --git a/web/css/wv.date.css b/web/css/wv.date.css
index 900062d3b..62133b58e 100644
--- a/web/css/wv.date.css
+++ b/web/css/wv.date.css
@@ -188,7 +188,7 @@ div.ui-slider {
bottom: 85px;
border: none;
text-shadow: none;
- font-family: 'Lucida Sans', 'Arial', sans-serif;
+ font-family: 'Open Sans', sans-serif;
color: white;
background-color: rgba(40, 40, 40, 0.85);
text-align: center;
diff --git a/web/css/wv.dateselector.css b/web/css/wv.dateselector.css
index cb2776cfd..b22c99e44 100644
--- a/web/css/wv.dateselector.css
+++ b/web/css/wv.dateselector.css
@@ -20,7 +20,7 @@
color:#fff;
background:transparent;
border:0px;
- font-family: 'Lucida Console', 'Monaco', monospace;
+ font-family: 'Roboto Mono', monospace;
vertical-align:middle;
box-sizing:border-box;
-moz-box-sizing:border-box;
diff --git a/web/css/wv.fonts.css b/web/css/wv.fonts.css
new file mode 100644
index 000000000..3b20745fc
--- /dev/null
+++ b/web/css/wv.fonts.css
@@ -0,0 +1,44 @@
+/*
+ * NASA Worldview
+ *
+ * This code was originally developed at NASA/Goddard Space Flight Center for
+ * the Earth Science Data and Information System (ESDIS) project.
+ *
+ * Copyright (C) 2013 - 2016 United States Government as represented by the
+ * Administrator of the National Aeronautics and Space Administration.
+ * All Rights Reserved.
+ */
+
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 300;
+ src: url('../font/OpenSans/Light/OpenSans-Light.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans Light'), local('OpenSans-Light'),
+ url('../font/OpenSans/Light/OpenSans-Light.eot?#iefix') format('embedded-opentype'), /* IE Compat Modes */
+ url('../font/OpenSans/Light/OpenSans-Light.woff2') format('woff2'), /* Super Modern Browsers */
+ url('../font/OpenSans/Light/OpenSans-Light.woff') format('woff'), /* Pretty Modern Browsers */
+ url('../font/OpenSans/Light/OpenSans-Light.ttf') format('truetype'); /* Safari, Android, iOS */
+}
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 400;
+ src: url('../font/OpenSans/Light/OpenSans-Regular.eot'); /* IE9 Compat Modes */
+ src: local('Open Sans Regular'), local('OpenSans-Regular'),
+ url('../font/OpenSans/Light/OpenSans-Regular.eot?#iefix') format('embedded-opentype'), /* IE Compat Modes */
+ url('../font/OpenSans/Regular/OpenSans-Regular.woff2') format('woff2'), /* Super Modern Browsers */
+ url('../font/OpenSans/Regular/OpenSans-Regular.woff') format('woff'), /* Pretty Modern Browsers */
+ url('../font/OpenSans/Regular/OpenSans-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
+}
+@font-face {
+ font-family: 'Roboto Mono';
+ font-style: normal;
+ font-weight: 400;
+ src: url('../fonts/roboto-mono-v4-latin-regular.eot'); /* IE9 Compat Modes */
+ src: local('Roboto Mono'), local('RobotoMono-Regular'),
+ url('../fonts/roboto-mono-v4-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('../fonts/roboto-mono-v4-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
+ url('../fonts/roboto-mono-v4-latin-regular.woff') format('woff'), /* Modern Browsers */
+ url('../fonts/roboto-mono-v4-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
+}
diff --git a/web/css/wv.layers.modal.css b/web/css/wv.layers.modal.css
index fbd56394f..97e638a58 100644
--- a/web/css/wv.layers.modal.css
+++ b/web/css/wv.layers.modal.css
@@ -414,9 +414,9 @@
color: #ddd;
font-weight:bold;
font-size: 14px;
- line-height: 14px;
+ line-height: 18px;
margin: 15px 0px 5px;
- font-family: "Lucida Sans", "Arial", Sans-Serif;
+ font-family: 'Open Sans', Sans-Serif;
}
.source-metadata h1:first-child{
margin-top:0;
diff --git a/web/css/wv.main.css b/web/css/wv.main.css
index 17a7cd144..1585875c5 100644
--- a/web/css/wv.main.css
+++ b/web/css/wv.main.css
@@ -8,44 +8,12 @@
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*/
-@font-face {
- font-family: 'Open Sans';
- font-style: normal;
- font-weight: 300;
- src: url('../font/OpenSans/Light/OpenSans-Light.eot'); /* IE9 Compat Modes */
- src: local('Open Sans Light'), local('OpenSans-Light'),
- url('../font/OpenSans/Light/OpenSans-Light.eot?#iefix') format('embedded-opentype'), /* IE Compat Modes */
- url('../font/OpenSans/Light/OpenSans-Light.woff2') format('woff2'), /* Super Modern Browsers */
- url('../font/OpenSans/Light/OpenSans-Light.woff') format('woff'), /* Pretty Modern Browsers */
- url('../font/OpenSans/Light/OpenSans-Light.ttf') format('truetype'); /* Safari, Android, iOS */
-}
-@font-face {
- font-family: 'Open Sans';
- font-style: normal;
- font-weight: 400;
- src: url('../font/OpenSans/Light/OpenSans-Regular.eot'); /* IE9 Compat Modes */
- src: local('Open Sans Regular'), local('OpenSans-Regular'),
- url('../font/OpenSans/Light/OpenSans-Regular.eot?#iefix') format('embedded-opentype'), /* IE Compat Modes */
- url('../font/OpenSans/Regular/OpenSans-Regular.woff2') format('woff2'), /* Super Modern Browsers */
- url('../font/OpenSans/Regular/OpenSans-Regular.woff') format('woff'), /* Pretty Modern Browsers */
- url('../font/OpenSans/Regular/OpenSans-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
-}
-@font-face {
- font-family: 'Roboto Mono';
- font-style: normal;
- font-weight: 400;
- src: url('../fonts/roboto-mono-v4-latin-regular.eot'); /* IE9 Compat Modes */
- src: local('Roboto Mono'), local('RobotoMono-Regular'),
- url('../fonts/roboto-mono-v4-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('../fonts/roboto-mono-v4-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
- url('../fonts/roboto-mono-v4-latin-regular.woff') format('woff'), /* Modern Browsers */
- url('../fonts/roboto-mono-v4-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
-}
+
html,body, div, ul, li, p, h1, h2, h3, h4, h5, h6 {
display:block;
margin:0;
padding:0;
- font: 100 13px/13px 'Lucida Sans', 'Arial', sans-serif;
+ font: 400 13px/13px 'Open Sans', sans-serif;
}
html, body {
@@ -60,8 +28,6 @@ body {
}
div {display:block;}
-h1, h2, h3, h4, h5, h6 { font-weight:400; }
-
#info_drop { border:none; margin: 0;}
#info_drop div.hidden a {display:block; color:#fff; font-weight:100; line-height:1em; font-size: 11px; width:70px; padding: 2px 5px; text-align:right; text-decoration:none;}
@@ -98,8 +64,6 @@ div.horizontalContainer {
/*border-bottom: 1px solid #000;*/
}
-
-
#banner img.logo {padding:11px 5px;}
#banner ul {float:right; }
#banner ul li {display:block; float:right; margin:3px 3px; line-height:0; }
@@ -122,7 +86,7 @@ div.horizontalContainer {
#imgFileSize {color:#D99694;}
#transition ul {
- font: 10px 'Gill Sans', sans-serif;
+ font: 10px 'Open Sans', sans-serif;
text-align: center;
}
diff --git a/web/css/wv.sidebar.css b/web/css/wv.sidebar.css
index 0e803e599..f938bf9f2 100644
--- a/web/css/wv.sidebar.css
+++ b/web/css/wv.sidebar.css
@@ -75,4 +75,4 @@
}
#productsHolder .ps-scrollbar-y {
background:#ccc;
-}
\ No newline at end of file
+}
diff --git a/web/index.html b/web/index.html
index a77360008..e4d817980 100644
--- a/web/index.html
+++ b/web/index.html
@@ -69,6 +69,7 @@
<link type="text/css" rel="Stylesheet" href="ext/map/openlayers-3.17.1.wv1/ol.css">
<!-- link.prod --> <!-- <link type="text/css" href="css/wv.css?v=20131218215115174" rel="Stylesheet" /> -->
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.fonts.css">
<!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.alert.css">
<!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/bank.css">
<!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.main.css">