about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-11-16 13:28:51 -0700
committerMichael Howell <michael@notriddle.com>2022-11-16 13:28:51 -0700
commit893bd781be889c8c34430098064dd9afc1cd48cc (patch)
tree2a722c0a640d590c62a45e010b569f7d93be183a
parente69336efe035c274f2ee66922cd9cac6015956ea (diff)
downloadrust-893bd781be889c8c34430098064dd9afc1cd48cc.tar.gz
rust-893bd781be889c8c34430098064dd9afc1cd48cc.zip
rustdoc: remove redundant font-color CSS on `.where`
Before 7f6ce7dddd49f453da15bb4d586a5990985814d8, light-theme where clauses
had color `#4E4C4C` while the main color was `#000`. One of that commit's
simplifications made it so that everything used the same black.
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 9b1cac85cfd..2ae76f628d2 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -217,10 +217,7 @@ h1 a,
 .search-results a,
 .module-item .stab,
 .import-item .stab,
-.result-name .primitive > i, .result-name .keyword > i,
-.method .where,
-.fn .where,
-.where.fmt-newline {
+.result-name .primitive > i, .result-name .keyword > i {
 	color: var(--main-color);
 }