lupyuen.org/dark.css

650 lines
9.8 KiB
CSS
Raw Normal View History

2023-11-23 17:40:50 +08:00
body {
background-color: #353535;
color: #ddd;
}
h1,
h2,
h3:not(.impl):not(.method):not(.type):not(.tymethod),
h4:not(.method):not(.type):not(.tymethod) {
color: #ddd;
}
h1.fqn {
border-bottom-color: #d2d2d2;
}
h2,
h3:not(.impl):not(.method):not(.type):not(.tymethod),
h4:not(.method):not(.type):not(.tymethod) {
border-bottom-color: #d2d2d2;
}
.in-band {
background-color: #353535;
}
.invisible {
background: rgba(0, 0, 0, 0);
}
.docblock code,
.docblock-short code {
background-color: #2A2A2A;
}
pre {
background-color: #2A2A2A;
}
.sidebar {
background-color: #505050;
}
.sidebar .current {
background-color: #333;
}
.source .sidebar {
background-color: #353535;
}
.sidebar .location {
border-color: #fff;
background: #575757;
color: #DDD;
}
.sidebar .version {
border-bottom-color: #DDD;
}
.sidebar-title {
border-top-color: #777;
border-bottom-color: #777;
}
.block a:hover {
background: #444;
}
.line-numbers span {
color: #3B91E2;
}
.line-numbers .line-highlighted {
background-color: #0a042f !important;
}
.docblock h1,
.docblock h2,
.docblock h3,
.docblock h4,
.docblock h5 {
border-bottom-color: #DDD;
}
.docblock table,
.docblock table td,
.docblock table th {
border-color: #ddd;
}
.content .method .where,
.content .fn .where,
.content .where.fmt-newline {
color: #ddd;
}
.content .highlighted {
color: #eee !important;
background-color: #616161;
}
.content .highlighted a,
.content .highlighted span {
color: #eee !important;
}
.content .highlighted.trait {
background-color: #013191;
}
.content .highlighted.traitalias {
background-color: #013191;
}
.content .highlighted.mod,
.content .highlighted.externcrate {
background-color: #afc6e4;
}
.content .highlighted.mod {
background-color: #803a1b;
}
.content .highlighted.externcrate {
background-color: #396bac;
}
.content .highlighted.enum {
background-color: #5b4e68;
}
.content .highlighted.struct {
background-color: #194e9f;
}
.content .highlighted.union {
background-color: #b7bd49;
}
.content .highlighted.fn,
.content .highlighted.method,
.content .highlighted.tymethod {
background-color: #4950ed;
}
.content .highlighted.type {
background-color: #38902c;
}
.content .highlighted.foreigntype {
background-color: #b200d6;
}
.content .highlighted.attr,
.content .highlighted.derive,
.content .highlighted.macro {
background-color: #217d1c;
}
.content .highlighted.constant,
.content .highlighted.static {
background-color: #0063cc;
}
.content .highlighted.primitive {
background-color: #00708a;
}
.content .highlighted.keyword {
background-color: #884719;
}
.content .stability::before {
color: #ccc;
}
.content span.enum,
.content a.enum,
.block a.current.enum {
color: #82b089;
}
.content span.struct,
.content a.struct,
.block a.current.struct {
color: #2dbfb8;
}
.content span.type,
.content a.type,
.block a.current.type {
color: #ff7f00;
}
.content span.foreigntype,
.content a.foreigntype,
.block a.current.foreigntype {
color: #dd7de8;
}
.content span.attr,
.content a.attr,
.block a.current.attr,
.content span.derive,
.content a.derive,
.block a.current.derive,
.content span.macro,
.content a.macro,
.block a.current.macro {
color: #09bd00;
}
.content span.union,
.content a.union,
.block a.current.union {
color: #a6ae37;
}
.content span.constant,
.content a.constant,
.block a.current.constant,
.content span.static,
.content a.static,
.block a.current.static {
color: #82a5c9;
}
.content span.primitive,
.content a.primitive,
.block a.current.primitive {
color: #43aec7;
}
.content span.externcrate,
.content span.mod,
.content a.mod,
.block a.current.mod {
color: #bda000;
}
.content span.trait,
.content a.trait,
.block a.current.trait {
color: #b78cf2;
}
.content span.traitalias,
.content a.traitalias,
.block a.current.traitalias {
color: #b397da;
}
.content span.fn,
.content a.fn,
.block a.current.fn,
.content span.method,
.content a.method,
.block a.current.method,
.content span.tymethod,
.content a.tymethod,
.block a.current.tymethod,
.content .fnname {
color: #2BAB63;
}
.content span.keyword,
.content a.keyword,
.block a.current.keyword {
color: #de5249;
}
pre.rust .comment {
color: #8d8d8b;
}
pre.rust .doccomment {
color: #8ca375;
}
nav:not(.sidebar) {
border-bottom-color: #4e4e4e;
}
nav.main .current {
border-top-color: #eee;
border-bottom-color: #eee;
}
nav.main .separator {
border-color: #eee;
}
a {
2023-11-23 18:17:55 +08:00
color: #aaf;
2023-11-23 17:40:50 +08:00
}
.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),
.docblock-short a:not(.srclink):not(.test-arrow),
.stability a {
color: #D2991D;
}
.stab.internal a {
color: #304FFE;
}
a.test-arrow {
color: #dedede;
}
.collapse-toggle {
color: #999;
}
#crate-search {
color: #111;
background-color: #f0f0f0;
border-color: #000;
box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent;
}
.search-input {
color: #111;
background-color: #f0f0f0;
box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent;
}
.search-input:focus {
border-color: #008dfd;
}
.search-focus:disabled {
background-color: #c5c4c4;
}
#crate-search+.search-input:focus {
box-shadow: 0 0 8px 4px #078dd8;
}
.module-item .stab {
color: #ddd;
}
.stab.unstable {
background: #FFF5D6;
border-color: #FFC600;
color: #2f2f2f;
}
.stab.internal {
background: #FFB9B3;
border-color: #B71C1C;
color: #2f2f2f;
}
.stab.deprecated {
background: #F3DFFF;
border-color: #7F0087;
color: #2f2f2f;
}
.stab.portability {
background: #C4ECFF;
border-color: #7BA5DB;
color: #2f2f2f;
}
.stab.portability>code {
color: #ddd;
}
#help>div {
background: #4d4d4d;
border-color: #bfbfbf;
}
#help dt {
border-color: #bfbfbf;
background: rgba(0, 0, 0, 0);
color: black;
}
.since {
color: grey;
}
tr.result span.primitive::after,
tr.result span.keyword::after {
color: #ddd;
}
.line-numbers :target {
background-color: transparent;
}
pre.rust .kw {
color: #ab8ac1;
}
pre.rust .kw-2,
pre.rust .prelude-ty {
color: #769acb;
}
pre.rust .number,
pre.rust .string {
color: #83a300;
}
pre.rust .self,
pre.rust .bool-val,
pre.rust .prelude-val,
pre.rust .attribute,
pre.rust .attribute .ident {
color: #ee6868;
}
pre.rust .macro,
pre.rust .macro-nonterminal {
color: #3E999F;
}
pre.rust .lifetime {
color: #d97f26;
}
pre.rust .question-mark {
color: #ff9011;
}
.example-wrap>pre.line-number {
border-color: #4a4949;
}
a.test-arrow {
background-color: rgba(78, 139, 202, 0.2);
}
a.test-arrow:hover {
background-color: #4e8bca;
}
.toggle-label {
color: #999;
}
:target>code,
:target>.in-band {
background-color: #494a3d;
}
pre.compile_fail {
border-left: 2px solid rgba(255, 0, 0, .6);
}
pre.compile_fail:hover,
.information:hover+pre.compile_fail {
border-left: 2px solid #f00;
}
pre.ignore {
border-left: 2px solid rgba(255, 142, 0, .6);
}
pre.ignore:hover,
.information:hover+pre.ignore {
border-left: 2px solid #ff9200;
}
.tooltip.compile_fail {
color: rgba(255, 0, 0, .6);
}
.information>.compile_fail:hover {
color: #f00;
}
.tooltip.ignore {
color: rgba(255, 142, 0, .6);
}
.information>.ignore:hover {
color: rgba(255, 142, 0, 1);
}
.search-failed a {
color: #0089ff;
}
.tooltip .tooltiptext {
background-color: black;
color: #fff;
}
.tooltip .tooltiptext::after {
border-color: transparent black transparent transparent;
}
.important-traits .tooltip .tooltiptext {
background-color: white;
color: black;
border-color: black;
}
#titles>div:not(.selected) {
background-color: #252525;
border-top-color: #252525;
}
#titles>div:hover,
#titles>div.selected {
border-top-color: #0089ff;
}
#titles>div>div.count {
color: #888;
}
.modal {
background-color: rgba(0, 0, 0, 0.3);
}
.modal-content {
background-color: #272727;
border-color: #999;
}
.modal-content>.close {
background-color: #272727;
border-color: #999;
}
.modal-content>.close:hover {
background-color: #ff1f1f;
color: white;
}
.modal-content>.whiter {
background-color: #272727;
}
.modal-content>.close:hover+.whiter {
background-color: #ff1f1f;
}
@media (max-width:700px) {
.sidebar-menu {
background-color: #505050;
border-bottom-color: #e0e0e0;
border-right-color: #e0e0e0;
}
.sidebar-elems {
background-color: #505050;
border-right-color: #000;
}
#sidebar-filler {
background-color: #505050;
border-bottom-color: #e0e0e0;
}
}
kbd {
color: #000;
background-color: #fafbfc;
border-color: #d1d5da;
border-bottom-color: #c6cbd1;
box-shadow-color: #c6cbd1;
}
#theme-picker,
#settings-menu {
border-color: #e0e0e0;
background: #f0f0f080;
}
#theme-picker:hover,
#theme-picker:focus,
#settings-menu:hover,
#settings-menu:focus {
border-color: #ffb900;
}
#theme-choices {
border-color: #e0e0e0;
background-color: #353535;
}
#theme-choices>button:not(:first-child) {
border-top-color: #e0e0e0;
}
#theme-choices>button:hover,
#theme-choices>button:focus {
background-color: #4e4e4e;
}
@media (max-width:700px) {
#theme-picker {
background: #f0f0f0;
}
}
#all-types {
background-color: #505050;
}
#all-types:hover {
background-color: #606060;
}
.search-results td span.alias {
color: #fff;
}
.search-results td span.grey {
color: #ccc;
}
#sidebar-toggle {
background-color: #565656;
}
#sidebar-toggle:hover {
background-color: #676767;
}
#source-sidebar {
background-color: #565656;
}
#source-sidebar>.title {
border-bottom-color: #ccc;
}
div.files>a:hover,
div.name:hover {
background-color: #444;
}
div.files>.selected {
background-color: #333;
}
.setting-line>.title {
border-bottom-color: #ddd;
}