]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/css/themes/dark.css
Rollup merge of #85833 - willcrichton:example-analyzer, r=jyn514
[rust.git] / src / librustdoc / html / static / css / themes / dark.css
index 93801af46ecc5d3e267fb72ef68defc9b061f4ad..9a38277d55905ca7a56e8b79b4d134c0059da7a8 100644 (file)
@@ -485,3 +485,22 @@ div.files > .selected {
 .setting-line > .title {
        border-bottom-color: #ddd;
 }
+
+.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(53, 53, 53, 1), rgba(53, 53, 53, 0));
+}
+.scraped-example:not(.expanded) .code-wrapper:after {
+       background: linear-gradient(to top, rgba(53, 53, 53, 1), rgba(53, 53, 53, 0));
+}
+.toggle-line-inner {
+       background: #616161;
+}
+.toggle-line:hover .toggle-line-inner {
+       background: ##898989;
+}