From 28956d18d15b80d639d83b9dc0d31240bff90e32 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 16 Sep 2022 16:48:24 +0200 Subject: [PATCH] Remove unneeded empty ayu CSS rules --- src/librustdoc/html/static/css/themes/ayu.css | 24 +++---------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/src/librustdoc/html/static/css/themes/ayu.css b/src/librustdoc/html/static/css/themes/ayu.css index 4654d8e47d2..c292a8a7ef7 100644 --- a/src/librustdoc/html/static/css/themes/ayu.css +++ b/src/librustdoc/html/static/css/themes/ayu.css @@ -278,29 +278,11 @@ individually rather than as a group) */ /* FIXME: these rules should be at the bottom of the file but currently must be above the `@media (max-width: 700px)` rules due to a bug in the css checker */ /* see https://github.com/rust-lang/rust/pull/71237#issuecomment-618170143 */ -.content span.attr, .content a.attr, -.content span.derive,.content a.derive, -.content span.macro,.content a.macro {} -.content span.struct,.content a.struct {} -#titles > button:hover, #titles > button.selected {} -.content span.union, .content a.union {} pre.rust .lifetime {} -.content span.enum, .content a.enum {} -.content span.constant, .content a.constant, -.content span.static, .content a.static {} -.content span.keyword, .content a.keyword {} -.content span.traitalias,.content a.traitalias {} -.content span.fn,.content a.fn, -.content .fnname {} pre.rust .kw {} -pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute {} -.content span.foreigntype,.content a.foreigntype {} -.stab.deprecated {} -.content a.attr,.content a.derive,.content a.macro {} -.stab.portability {} -.content span.primitive,.content a.primitive {} -pre.rust .kw-2,pre.rust .prelude-ty {} -.content span.trait,.content a.trait {} +#titles > button:hover, #titles > button.selected {} +pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val, pre.rust .attribute {} +pre.rust .kw-2, pre.rust .prelude-ty {} .search-results a:focus span {} a.result-trait:focus {}