]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/css/themes/ayu.css
Rollup merge of #85833 - willcrichton:example-analyzer, r=jyn514
[rust.git] / src / librustdoc / html / static / css / themes / ayu.css
index 0fd6462a8f5dd82851928adc60e510088b4664d1..f9c84dc3e318dc9e5023131c8c76e39143eb65b3 100644 (file)
@@ -220,7 +220,7 @@ body.source .example-wrap pre.rust a {
        background: #333;
 }
 
-.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),
+.docblock:not(.item-decl) a:not(.srclink):not(.test-arrow),
 .docblock-short a:not(.srclink):not(.test-arrow), .item-info a,
 #help a {
        color: #39AFD7;
@@ -613,3 +613,22 @@ div.files > .selected {
 input:checked + .slider {
        background-color: #ffb454 !important;
 }
+
+.scraped-example .example-wrap .rust span.highlight {
+       background: rgb(91, 59, 1);
+}
+.scraped-example .example-wrap .rust span.highlight.focus {
+       background: rgb(124, 75, 15);
+}
+.scraped-example:not(.expanded) .code-wrapper:before {
+       background: linear-gradient(to bottom, rgba(15, 20, 25, 1), rgba(15, 20, 25, 0));
+}
+.scraped-example:not(.expanded) .code-wrapper:after {
+       background: linear-gradient(to top, rgba(15, 20, 25, 1), rgba(15, 20, 25, 0));
+}
+.toggle-line-inner {
+       background: #616161;
+}
+.toggle-line:hover .toggle-line-inner {
+       background: ##898989;
+}