]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/noscript.css
Auto merge of #79945 - jackh726:existential_trait_ref, r=nikomatsakis
[rust.git] / src / librustdoc / html / static / noscript.css
index 832bd9ba2d628b42fa9616895cce8355e162e34b..ffa1a7639abbb0f8f174b9c9e88305a1815b9a81 100644 (file)
@@ -1,3 +1,9 @@
+/*
+This whole CSS file is used only in case rustdoc is rendered with javascript disabled. Since a lot
+of content is hidden by default (depending on the settings too), we have to overwrite some of the
+rules.
+*/
+
 #main > h2 + div, #main > h2 + h3, #main > h3 + div {
        display: block;
 }
@@ -13,3 +19,7 @@
 #main > h2 + h3 {
        display: flex;
 }
+
+#main .impl-items .hidden {
+       display: block !important;
+}