consolidate link styles
authorDan Allen <dan@opendevise.com>
Thu, 8 Feb 2018 03:41:17 +0000 (20:41 -0700)
committerDan Allen <dan@opendevise.com>
Thu, 8 Feb 2018 23:10:04 +0000 (16:10 -0700)
- set text decoration on link globally
- only override text decoration on link where necessary

src/css/base.css
src/css/doc.css
src/css/footer.css
src/css/navigation-explore.css
src/css/navigation-menu.css
src/css/page-versions.css
src/css/toolbar.css

index 14ad1fc..3cb8e38 100644 (file)
@@ -35,6 +35,14 @@ body {
   margin: 0;
 }
 
+a {
+  text-decoration: none;
+}
+
+a:hover {
+  text-decoration: underline;
+}
+
 code,
 pre {
   font-family: 'Roboto Mono', monospace;
index ccb2673..72ca304 100644 (file)
   color: #1565c0;
 }
 
-.doc a {
-  text-decoration: none;
-}
-
 .doc a:hover {
   color: #104d92;
-  text-decoration: underline;
 }
 
 .doc b,
index 7dd2bad..a0f5cf5 100644 (file)
@@ -11,9 +11,4 @@ footer.footer {
 
 .footer a {
   color: #5d5d5d;
-  text-decoration: none;
-}
-
-.footer a:hover {
-  text-decoration: underline;
 }
index 2943c15..ef9042b 100644 (file)
@@ -76,7 +76,6 @@
 
 .navigation-explore .component .version a {
   color: #4a4a4a;
-  text-decoration: none;
   white-space: nowrap;
 }
 
   content: ' (latest)';
 }
 
-.navigation-explore .component .version a:hover {
-  text-decoration: underline;
-}
-
 .navigation-explore .component .version + .version {
   padding-left: 0.5em;
 }
index df7b385..a6d937b 100644 (file)
@@ -45,13 +45,9 @@ html.is-clipped--nav {
   padding: 0.125rem 0.5rem 0.25rem;
 }
 
-.nav-menu a {
+.nav-menu a,
+.nav-menu a:visited {
   color: inherit;
-  text-decoration: none;
-}
-
-.nav-menu a:hover {
-  text-decoration: underline;
 }
 
 .nav-list {
index 4cd9207..28a62cc 100644 (file)
@@ -59,6 +59,6 @@
 
 .page-versions .version.is-missing {
   color: #8e8e8e;
-  text-decoration: none;
   font-style: italic;
+  text-decoration: none;
 }
index 411e4e2..4fd3db2 100644 (file)
   z-index: 1;
 }
 
-.toolbar a {
-  text-decoration: none;
-}
-
 .toolbar a,
-.toolbar a:hover,
 .toolbar a:visited {
   color: inherit;
 }
 
-.toolbar a:hover {
-  text-decoration: underline;
-}
-
 .navigation-toggle {
   background: url(../img/menu.svg) no-repeat 50% 47.5%;
   background-size: 49%;