about summary refs log tree commit diff
path: root/src/librustdoc/html/static/noscript.css
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-13 15:54:11 +0200
committerGitHub <noreply@github.com>2021-05-13 15:54:11 +0200
commit5aa40dda855d7c0562655903e1daa018d78297e7 (patch)
treeea4bce19510fefd949fc09d3d19e2afdacd583b0 /src/librustdoc/html/static/noscript.css
parent3db335b934d31cf3bdaaa248ca34aa25ef67f366 (diff)
parentcb91c6f24dfd522d07a4c7db6294dca9fbc2d20d (diff)
downloadrust-5aa40dda855d7c0562655903e1daa018d78297e7.tar.gz
rust-5aa40dda855d7c0562655903e1daa018d78297e7.zip
Rollup merge of #85175 - GuillaumeGomez:rustdoc-cleanup, r=jsha
Rustdoc cleanup

Part of https://github.com/rust-lang/rust/issues/83332. The goal of this PR is to remove a few unused things:

 * The "loading content" things are now unneeded.
 * Some toggle CSS rules were still there.
 * Some parts of the JS had a different indent, fixed it.

r? `@jsha`
Diffstat (limited to 'src/librustdoc/html/static/noscript.css')
-rw-r--r--src/librustdoc/html/static/noscript.css25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/librustdoc/html/static/noscript.css b/src/librustdoc/html/static/noscript.css
index 4d3332877c0..0a196edd53b 100644
--- a/src/librustdoc/html/static/noscript.css
+++ b/src/librustdoc/html/static/noscript.css
@@ -4,31 +4,6 @@ of content is hidden by default (depending on the settings too), we have to over
 rules.
 */
 
-#main > h2 + div, #main > h2 + h3, #main > h3 + div {
-	display: block;
-}
-
-.loading-content {
-	display: none;
-}
-
-#main > h2 + div, #main > h3 + div {
-	display: block;
-}
-
-#main > h2 + h3 {
-	display: flex;
-}
-
-#main .impl-items .hidden {
-	display: block !important;
-}
-
-#main .impl-items h4.hidden {
-	/* Without this rule, the version and the "[src]" span aren't on the same line as the header. */
-	display: flex !important;
-}
-
 #main .attributes {
 	/* Since there is no toggle (the "[-]") when JS is disabled, no need for this margin either. */
 	margin-left: 0 !important;