Skip to content

Commit 28956d1

Browse files
Remove unneeded empty ayu CSS rules
1 parent 7cf67bf commit 28956d1

File tree

1 file changed

+3
-21
lines changed
  • src/librustdoc/html/static/css/themes

1 file changed

+3
-21
lines changed

src/librustdoc/html/static/css/themes/ayu.css

+3-21
Original file line numberDiff line numberDiff line change
@@ -278,29 +278,11 @@ individually rather than as a group) */
278278
/* FIXME: these rules should be at the bottom of the file but currently must be
279279
above the `@media (max-width: 700px)` rules due to a bug in the css checker */
280280
/* see https://github.com/rust-lang/rust/pull/71237#issuecomment-618170143 */
281-
.content span.attr, .content a.attr,
282-
.content span.derive,.content a.derive,
283-
.content span.macro,.content a.macro {}
284-
.content span.struct,.content a.struct {}
285-
#titles > button:hover, #titles > button.selected {}
286-
.content span.union, .content a.union {}
287281
pre.rust .lifetime {}
288-
.content span.enum, .content a.enum {}
289-
.content span.constant, .content a.constant,
290-
.content span.static, .content a.static {}
291-
.content span.keyword, .content a.keyword {}
292-
.content span.traitalias,.content a.traitalias {}
293-
.content span.fn,.content a.fn,
294-
.content .fnname {}
295282
pre.rust .kw {}
296-
pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute {}
297-
.content span.foreigntype,.content a.foreigntype {}
298-
.stab.deprecated {}
299-
.content a.attr,.content a.derive,.content a.macro {}
300-
.stab.portability {}
301-
.content span.primitive,.content a.primitive {}
302-
pre.rust .kw-2,pre.rust .prelude-ty {}
303-
.content span.trait,.content a.trait {}
283+
#titles > button:hover, #titles > button.selected {}
284+
pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val, pre.rust .attribute {}
285+
pre.rust .kw-2, pre.rust .prelude-ty {}
304286

305287
.search-results a:focus span {}
306288
a.result-trait:focus {}

0 commit comments

Comments
 (0)