about summary refs log tree commit diff
path: root/src/librustdoc/html/static/rustdoc.css
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2016-06-06 06:48:33 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2016-06-06 06:48:33 +0300
commit61eeffa372a77fb43c7ba595994fbbe5535e4bb5 (patch)
tree5a1c605c92b0046253cd2a57b31c47a5972b11ea /src/librustdoc/html/static/rustdoc.css
parent324a356d78adc9224add453960f32040278b3d6c (diff)
parent55af6e48ca4f24284f7dd096b35e3364f5fa674f (diff)
downloadrust-61eeffa372a77fb43c7ba595994fbbe5535e4bb5.tar.gz
rust-61eeffa372a77fb43c7ba595994fbbe5535e4bb5.zip
Rollup merge of #34082 - ollie27:rustdoc_css, r=alexcrichton
rustdoc: Fix a few missing colors in the CSS

This adds color to some of the search results and sidebar items which were missing.
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
-rw-r--r--src/librustdoc/html/static/rustdoc.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index bfe3f7b8dd6..45dacb68e91 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -409,8 +409,8 @@ a {
 
 .content span.enum, .content a.enum, .block a.current.enum { color: #5e9766; }
 .content span.struct, .content a.struct, .block a.current.struct { color: #df3600; }
-.content a.type { color: #e57300; }
-.content a.macro { color: #068000; }
+.content span.type, .content a.type, .block a.current.type { color: #e57300; }
+.content span.macro, .content a.macro, .block a.current.macro { color: #068000; }
 .block a.current.crate { font-weight: 500; }
 
 .search-input {
@@ -453,7 +453,7 @@ a {
 .content .search-results td:first-child { padding-right: 0; }
 .content .search-results td:first-child a { padding-right: 10px; }
 
-tr.result span.primitive::after { content: ' (primitive type)'; font-style: italic; }
+tr.result span.primitive::after { content: ' (primitive type)'; font-style: italic; color: black}
 
 body.blur > :not(#help) {
     filter: blur(8px);