]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/styles/main.css
Rollup merge of #44562 - eddyb:ugh-rustdoc, r=nikomatsakis
[rust.git] / src / librustdoc / html / static / styles / main.css
index 034c5307fc0807836ae9689d4f139d73acbd9097..42d0ec704f45f01f98fef03255209bf0b4d06453 100644 (file)
@@ -26,6 +26,7 @@ h1.fqn {
 h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) {
        border-bottom-color: #DDDDDD;
 }
+
 .in-band {
        background-color: white;
 }
@@ -83,6 +84,11 @@ pre {
 }
 
 :target { background: #FDFFD3; }
+
+:target > .in-band {
+       background: #FDFFD3;
+}
+
 .content .highlighted {
        color: #000 !important;
        background-color: #ccc;
@@ -152,6 +158,7 @@ a.test-arrow {
 
 .stab.unstable { background: #FFF5D6; border-color: #FFC600; }
 .stab.deprecated { background: #F3DFFF; border-color: #7F0087; }
+.stab.portability { background: #C4ECFF; border-color: #7BA5DB; }
 
 #help > div {
        background: #e9e9e9;
@@ -195,4 +202,36 @@ a.test-arrow:hover{
 
 :target > code {
        background: #FDFFD3;
-}
\ No newline at end of file
+}
+
+pre.compile_fail {
+       border-left: 2px solid rgba(255,0,0,.4);
+}
+
+pre.compile_fail:hover, .information:hover + pre.compile_fail {
+       border-left: 2px solid #f00;
+}
+
+pre.ignore {
+       border-left: 2px solid rgba(255,142,0,.4);
+}
+
+pre.ignore:hover, .information:hover + pre.ignore {
+       border-left: 2px solid #ff9200;
+}
+
+.tooltip.compile_fail {
+       color: rgba(255,0,0,.3);
+}
+
+.information > .compile_fail:hover {
+       color: #f00;
+}
+
+.tooltip.ignore {
+       color: rgba(255,142,0,.3);
+}
+
+.information > .ignore:hover {
+       color: rgba(255,142,0,1);
+}