1
Fork 0

rustdoc: ayu code color selector more specific

According to https://github.com/rust-lang/rust/pull/100960#issuecomment-1225970579,
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.
This commit is contained in:
Michael Howell 2022-08-24 09:01:35 -07:00
parent 4a24f08ba4
commit 5bac3d71d3

View file

@ -47,7 +47,7 @@ h4 {
.docblock pre > code, pre > code {
color: #e6e1cf;
}
span code {
.item-info code {
color: #e6e1cf;
}
.docblock a > code {