/* ==UserStyle==
@name Rust Documentation + Async Book + Easy Rust Book - Coal Theme Override - Dark Smaragd Theme - 1/7/2023, 8:33:38 PM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description The theme overrides some colors of the Coal theme for the Rust Documentation, the Async Book and the Easy Rust Book. Basically it's a dark gray theme with green/purple code highlighting.
@author eminor
==/UserStyle== */
@-moz-document url-prefix("https://doc.rust-lang.org/"),
url-prefix("https://rust-lang.github.io/async-book/"),
url-prefix("https://dhghomon.github.io/easy_rust/") {
.coal {
--bg: #202020;
--fg: #f1f1f1;
--sidebar-bg: #262626;
--sidebar-fg: #f1f1f1;
--sidebar-non-existant: #363636;
--sidebar-active: #00ffb7;
--sidebar-spacer: #363636;
--scrollbar: var(--sidebar-fg);
--icons: #404040;
--icons-hover: #b3c0cc;
--links: #00ffb7;
--inline-code-color: #f1f1f1;
--theme-popup-bg: #363636;
--theme-popup-border: #404040;
--theme-hover: #262626;
--quote-bg: #202020;
--quote-border: hsl(234, 1%, 1%);
--table-border-color: hsl(200, 7%, 13%);
--table-header-bg: hsl(200, 7%, 28%);
--table-alternate-bg: hsl(200, 7%, 11%);
--searchbar-border-color: #aaa;
--searchbar-bg: #b7b7b7;
--searchbar-fg: #000;
--searchbar-shadow-color: #aaa;
--searchresults-header-fg: #666;
--searchresults-border-color: #98a3ad;
--searchresults-li-bg: #2b2b2f;
--search-mark-bg: #02A073;
}
.hljs {
display: block;
overflow-x: auto;
background: #262626;
color: #f1f1f1;
}
:not(pre):not(a) > .hljs {
color: #f1f1f1;
}
/* Comment */
.hljs-comment {
color: #fdffb6;
}
.hljs-variable,
.hljs-attribute,
.hljs-tag,
.hljs-regexp,
.ruby .hljs-constant,
.xml .hljs-tag .hljs-title,
.xml .hljs-pi,
.xml .hljs-doctype,
.html .hljs-doctype,
.css .hljs-id,
.css .hljs-class,
.css .hljs-pseudo {
color: #7deefe;
}
.hljs-number,
.hljs-preprocessor,
.hljs-pragma,
.hljs-built_in,
.hljs-literal,
.hljs-params,
.hljs-constant {
color: #ffa5ff;
}
.hljs-meta {
color: #ff6699;
}
.hljs-section {
color: #a6ffca;
}
.hljs-string,
.hljs-symbol,
.hljs-bullet {
color: #ffbfd4;
}
.ruby .hljs-class .hljs-title,
.css .hljs-rule .hljs-attribute {
color: #7deefe;
}
.hljs-string,
.hljs-value,
.hljs-inheritance,
.hljs-header,
.hljs-name,
.ruby .hljs-symbol,
.xml .hljs-cdata {
color: #a6ffca;
}
.hljs-title,
.css .hljs-hexcolor {
color: #7deefe;
}
.hljs-function,
.python .hljs-decorator,
.python .hljs-title,
.ruby .hljs-function .hljs-title,
.ruby .hljs-title .hljs-keyword,
.perl .hljs-sub,
.javascript .hljs-title,
.coffeescript .hljs-title {
color: #59ff8c;
}
/* Tomorrow Purple */
.hljs-keyword,
.javascript .hljs-function {
color: #00ffb7;
}
.coffeescript .javascript,
.javascript .xml,
.tex .hljs-formula,
.xml .javascript,
.xml .vbscript,
.xml .css,
.xml .hljs-cdata {
opacity: 0.5;
}
.hljs-addition {
color: #718c00;
}
.hljs-deletion {
color: #c82829;
}
.menu-title {
font-weight: 400;
}
}