diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-18 14:35:03 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-18 14:35:03 -0800 |
| commit | b64dfff326a0e248227c5782eccce7ca8b02f66c (patch) | |
| tree | 2818687ff935ff4d3c37ac5405c063e7fa80dce9 | |
| parent | 5250a82f7917d6f9ec590e7e762bfd036e21ef74 (diff) | |
| parent | a36fc2d66cb95382008a4236f3a803350b64d784 (diff) | |
rollup merge of #22498: nagisa/style-fixes
| -rw-r--r-- | src/librustdoc/html/render.rs | 3 | ||||
| -rw-r--r-- | src/librustdoc/html/static/main.css | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 95994af7dc8..fc3c8738991 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -1404,8 +1404,7 @@ impl<'a> fmt::Display for Item<'a> { try!(write!(fmt, r##"<span id='render-detail'> - <a id="collapse-all" href="#">[-] - </a> <a id="expand-all" href="#">[+]</a> + <a id="collapse-all" href="#">[-]</a> <a id="expand-all" href="#">[+]</a> </span>"##)); // Write `src` tag diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css index a4263badb01..2f0755ecb89 100644 --- a/src/librustdoc/html/static/main.css +++ b/src/librustdoc/html/static/main.css @@ -374,8 +374,8 @@ a { color: #000; background: transparent; } -p a { color: #4e8bca; } -p 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; } |
