Skip to content

Commit 1e1dc7b

Browse files
authored
Rollup merge of #100960 - rust-lang:notriddle/ayu-span-code, r=GuillaumeGomez
rustdoc: ayu code color selector more specific According to #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 df354f5 + 5bac3d7 commit 1e1dc7b

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)