about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2015-02-18 21:37:48 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2015-02-18 21:37:48 +0200
commit204e2bd442f1fe7db7201c048300dbf66f123e30 (patch)
tree2465d5190fe7a3ee9e4199bf3030590c90a5375c
parentdfc5c0f1e8799f47f9033bdcc8a7cd8a217620a5 (diff)
downloadrust-204e2bd442f1fe7db7201c048300dbf66f123e30.tar.gz
rust-204e2bd442f1fe7db7201c048300dbf66f123e30.zip
Style all docblock links properly
Fixes #22493
-rw-r--r--src/librustdoc/html/static/main.css4
1 files changed, 2 insertions, 2 deletions
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; }