about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-04-01 13:31:55 -0700
committerCamelid <camelidcamel@gmail.com>2021-04-02 11:38:06 -0700
commit1fe0fe47fcd88c67887b45293351a653b548e86a (patch)
treec67787eec16135432f5ac074924163404864469e
parent5f96c48de26a029727483b6f14f0ca2e5067da19 (diff)
downloadrust-1fe0fe47fcd88c67887b45293351a653b548e86a.tar.gz
rust-1fe0fe47fcd88c67887b45293351a653b548e86a.zip
rustdoc: Remove unused `spotlight` CSS
I couldn't find any uses of this CSS. I think it was superseded by the
`.notable-traits` CSS class and other similarly-named CSS classes.
-rw-r--r--src/librustdoc/html/static/rustdoc.css5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 07dfb7f5cf0..f3ddd8ec6fa 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -173,13 +173,10 @@ code, pre, a.test-arrow {
 	border-radius: 3px;
 	padding: 0 0.1em;
 }
-.docblock pre code, .docblock-short pre code, .docblock code.spotlight {
+.docblock pre code, .docblock-short pre code {
 	padding: 0;
 	padding-right: 1ex;
 }
-.docblock code.spotlight :last-child {
-	padding-bottom: 0.6em;
-}
 pre {
 	padding: 14px;
 }