diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-05-13 15:54:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-13 15:54:11 +0200 |
| commit | 5aa40dda855d7c0562655903e1daa018d78297e7 (patch) | |
| tree | ea4bce19510fefd949fc09d3d19e2afdacd583b0 /src/librustdoc/html/static/noscript.css | |
| parent | 3db335b934d31cf3bdaaa248ca34aa25ef67f366 (diff) | |
| parent | cb91c6f24dfd522d07a4c7db6294dca9fbc2d20d (diff) | |
| download | rust-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.css | 25 |
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; |
