about summary refs log tree commit diff
path: root/src/librustdoc/html/static
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2015-02-20 13:54:11 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2015-02-20 13:54:11 +0200
commit888dac97c7f182aa39105ea813abe2645c555b4e (patch)
tree15d108793328619d32d0165ecdeaeb00c6e09284 /src/librustdoc/html/static
parent522d09dfecbeca1595f25ac58c6d0178bbd21d7d (diff)
downloadrust-888dac97c7f182aa39105ea813abe2645c555b4e.tar.gz
rust-888dac97c7f182aa39105ea813abe2645c555b4e.zip
Fix style fallout from 204e2bd442
Links in docblock headers also became blue, which was not intended.
Diffstat (limited to 'src/librustdoc/html/static')
-rw-r--r--src/librustdoc/html/static/main.css19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css
index 2f0755ecb89..21b7de9ff7c 100644
--- a/src/librustdoc/html/static/main.css
+++ b/src/librustdoc/html/static/main.css
@@ -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;