about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-17 22:33:20 +0100
committerGitHub <noreply@github.com>2022-11-17 22:33:20 +0100
commit68a8109ddbb44fdfdd455036d2e53a8bf3545d4e (patch)
tree1d7fc63be06a998ab0b804f57bd90ea820dcb559
parent039cae73ad308c5e7f72218616c4b53c133a9c02 (diff)
parent893bd781be889c8c34430098064dd9afc1cd48cc (diff)
downloadrust-68a8109ddbb44fdfdd455036d2e53a8bf3545d4e.tar.gz
rust-68a8109ddbb44fdfdd455036d2e53a8bf3545d4e.zip
Rollup merge of #104503 - notriddle:notriddle/where, r=GuillaumeGomez
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);
 }