about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-22 01:48:18 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-22 01:48:18 +0530
commite1c2f77754e107f5b95fa794a412680695b8bce3 (patch)
tree5398f5e704342ed051c1ccafc280f538ee645976
parent2b8160bbd512d1c230ace0e7b891798e1da1db79 (diff)
parent888dac97c7f182aa39105ea813abe2645c555b4e (diff)
downloadrust-e1c2f77754e107f5b95fa794a412680695b8bce3.tar.gz
rust-e1c2f77754e107f5b95fa794a412680695b8bce3.zip
Rollup merge of #22571 - nagisa:style-fallout, r=alexcrichton
 Links in docblock headers also became blue, which was not intended.

r? @steveklabnik
-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;