Skip to content

Commit 688bdbd

Browse files
authored
Rollup merge of rust-lang#100960 - rust-lang:notriddle/ayu-span-code, r=GuillaumeGomez
rustdoc: ayu code color selector more specific According to rust-lang#100960 (comment), this selector is only really intended to apply to item info. However, it's so broad that it's hard to tell when it deliberately applies vs where it accidentally applies.
2 parents d0b2295 + 5bac3d7 commit 688bdbd

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ h4 {
4747
.docblock pre > code, pre > code {
4848
color: #e6e1cf;
4949
}
50-
span code {
50+
.item-info code {
5151
color: #e6e1cf;
5252
}
5353
.docblock a > code {

0 commit comments

Comments
 (0)