about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-08-24 09:01:35 -0700
committerMichael Howell <michael@notriddle.com>2022-08-24 10:38:18 -0700
commit5bac3d71d34813286d51e319f3c8ed95f19d4dc7 (patch)
treed827771ed269930b479ae862d7496a84b1829bb5
parent4a24f08ba43166cfee86d868b3fe8612aec6faca (diff)
downloadrust-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.css2
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 {