]> git.lizzy.rs Git - rust.git/commitdiff
Fix style fallout from 204e2bd442
authorSimonas Kazlauskas <git@kazlauskas.me>
Fri, 20 Feb 2015 11:54:11 +0000 (13:54 +0200)
committerSimonas Kazlauskas <git@kazlauskas.me>
Fri, 20 Feb 2015 11:54:11 +0000 (13:54 +0200)
Links in docblock headers also became blue, which was not intended.

src/librustdoc/html/static/main.css

index 2f0755ecb898a0bf17b04cdd9b3641eb6b21f752..21b7de9ff7c821ab6f68c9439b5c9371a4369d8e 100644 (file)
@@ -374,8 +374,14 @@ a {
     color: #000;
     background: transparent;
 }
-.docblock a { color: #4e8bca; }
-.docblock a:hover { text-decoration: underline; }
+
+.docblock a {
+    color: #4e8bca;
+}
+
+.docblock a:hover {
+    text-decoration: underline;
+}
 
 .content span.trait, .content a.trait, .block a.current.trait { color: #ed9603; }
 .content span.mod, .content a.mod, block a.current.mod { color: #4d76ae; }
@@ -529,10 +535,19 @@ pre.rust { position: relative; }
     margin: 0 0 -5px;
     padding: 0;
 }
+
 .section-header:hover a:after {
     content: '\2002\00a7\2002';
 }
 
+.section-header:hover a {
+    text-decoration: none;
+}
+
+.section-header a {
+    color: inherit;
+}
+
 .collapse-toggle {
     font-weight: 300;
     position: absolute;