]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/rustdoc.css
Fixes issue #43205: ICE in Rvalue::Len evaluation.
[rust.git] / src / librustdoc / html / static / rustdoc.css
index 51465bafc42e23f10b4ab947ed366c0163e145df..ee94f0baeb9a39bdf9cf590adc1b4c88878ab00b 100644 (file)
@@ -438,6 +438,16 @@ a {
        background: transparent;
 }
 
+.small-section-header:hover > .anchor {
+       display: initial;
+}
+.anchor {
+       display: none;
+}
+.anchor:after {
+       content: '\2002\00a7\2002';
+}
+
 .docblock a:hover, .docblock-short a:hover, .stability a {
        text-decoration: underline;
 }
@@ -677,6 +687,10 @@ span.since {
        left: 0;
 }
 
+.variant + .toggle-wrapper + .docblock > p {
+       margin-top: 5px;
+}
+
 .variant + .toggle-wrapper > a {
        margin-top: 5px;
 }
@@ -695,7 +709,7 @@ span.since {
        margin-bottom: 25px;
 }
 
-.enum .variant, .struct .structfield, .union .structfield {
+#main > .variant, #main > .structfield {
        display: block;
 }