about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-10-21 14:12:42 -0700
committerMichael Howell <michael@notriddle.com>2022-10-21 14:13:18 -0700
commit1adb4c338ab1b3bc2b44b054444b7ce8252241f6 (patch)
tree8ae66201675bb5d69cd8c8233f805f6e0c7289d0
parent657f246812ab2684e3c3954b1c77f98fd59e0b21 (diff)
downloadrust-1adb4c338ab1b3bc2b44b054444b7ce8252241f6.tar.gz
rust-1adb4c338ab1b3bc2b44b054444b7ce8252241f6.zip
rustdoc: remove unused CSS `.out-of-band { font-weight: normal }`
This CSS was added in 083c3952e0d5473cd5c41a9eb7b4ffca18cc8e5f to
normalize the appearance of out-of-band elements that were nested directly
below headers.

Now, the only use of `out-of-band` is in the main page header, and it is
nested below a wrapper, not the `<h1>` itself.
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index afe1ca5d7e5..2dc81bf36be 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -634,7 +634,6 @@ pre.example-line-numbers {
 .out-of-band {
 	flex-grow: 0;
 	font-size: 1.125rem;
-	font-weight: normal;
 }
 
 .docblock code, .docblock-short code,