diff options
| author | Michael Howell <michael@notriddle.com> | 2022-08-24 09:01:35 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-08-24 10:38:18 -0700 |
| commit | 5bac3d71d34813286d51e319f3c8ed95f19d4dc7 (patch) | |
| tree | d827771ed269930b479ae862d7496a84b1829bb5 | |
| parent | 4a24f08ba43166cfee86d868b3fe8612aec6faca (diff) | |
| download | rust-5bac3d71d34813286d51e319f3c8ed95f19d4dc7.tar.gz rust-5bac3d71d34813286d51e319f3c8ed95f19d4dc7.zip | |
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.
| -rw-r--r-- | src/librustdoc/html/static/css/themes/ayu.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/themes/ayu.css b/src/librustdoc/html/static/css/themes/ayu.css index e7ccd402dd0..63009006b3f 100644 --- a/src/librustdoc/html/static/css/themes/ayu.css +++ b/src/librustdoc/html/static/css/themes/ayu.css @@ -47,7 +47,7 @@ h4 { .docblock pre > code, pre > code { color: #e6e1cf; } -span code { +.item-info code { color: #e6e1cf; } .docblock a > code { |
