diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-08-25 08:51:00 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-25 08:51:00 +0900 |
| commit | 1e1dc7b4c34f57c72d9f07cced15e18596b4c59d (patch) | |
| tree | 3d567b0eb0ec61123942b7c59e094ccce25ee9d9 | |
| parent | df354f5cf6e0c0a68d7c4d1b1d945182eb7d7811 (diff) | |
| parent | 5bac3d71d34813286d51e319f3c8ed95f19d4dc7 (diff) | |
Rollup merge of #100960 - rust-lang:notriddle/ayu-span-code, r=GuillaumeGomez
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 { |
