Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Styled h3/h4 description titles/subtitles - The latest options repo changes title/subtitle output from h1/h2 to h3/h4. Since we are targeting h1/h2, I left these rules in for people using old data and added h3/h4 rules titles remain consistent.

ZachTRice162a5b75e0bd
diff --git a/web/css/wv.layers.modal.css b/web/css/wv.layers.modal.css
index 58f936829..f749c1b63 100644
--- a/web/css/wv.layers.modal.css
+++ b/web/css/wv.layers.modal.css
@@ -371,8 +371,8 @@
background-position: 30px 0;
}
-#layers-all .layers-all-layer h3,
-#selected-category .ui-accordion-header h3 {
+.layers-all-layer h3,
+.ui-accordion-header h3 {
color: #ddd;
font-size: 20px;
line-height: 100%;
@@ -381,8 +381,8 @@
}
@media (min-width: 753px) {
- #layers-all .layers-all-layer h3,
- #selected-category .ui-accordion-header h3 {
+ .layers-all-layer h3,
+ .ui-accordion-header h3 {
padding-right: 40px;
}
}
@@ -474,7 +474,9 @@
margin-top: 0;
}
-.source-metadata h1 {
+.source-metadata h1,
+.source-metadata h3 {
+ display: block;
color: #ddd;
font-weight: 700;
font-size: 14px;
@@ -483,11 +485,13 @@
font-family: 'Open Sans', sans-serif;
}
-.source-metadata h1:first-child {
+.source-metadata h1:first-child,
+.source-metadata h3:first-child {
margin-top: 4px;
}
-.source-metadata h2 {
+.source-metadata h2,
+.source-metadata h4 {
color: #ddd;
font-weight: 700;
margin-bottom: 5px;