2 * Copyright 2015 The Rust Project Developers. See the COPYRIGHT
3 * file at the top-level directory of this distribution and at
4 * http://rust-lang.org/COPYRIGHT.
6 * Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7 * http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8 * <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9 * option. This file may not be copied, modified, or distributed
10 * except according to those terms.
13 /* General structure and fonts */
16 background-color: white;
20 h1, h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) {
24 border-bottom-color: #D5D5D5;
26 h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) {
27 border-bottom-color: #DDDDDD;
30 background-color: white;
33 .docblock code, .docblock-short code {
34 background-color: #F5F5F5;
37 background-color: #F5F5F5;
41 background-color: #F1F1F1;
45 background-color: #fff;
49 background-color: #fff;
54 background-color: #fff;
62 .line-numbers span { color: #c67e2d; }
63 .line-numbers .line-highlighted {
64 background-color: #f6fdb0 !important;
67 .docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
68 border-bottom-color: #DDD;
76 border-top-color: #ddd;
77 border-bottom-color: #ddd;
81 border-top-color: #ddd;
82 border-bottom-color: #ddd;
85 :target { background: #FDFFD3; }
86 .content .highlighted {
87 color: #000 !important;
88 background-color: #ccc;
90 .content .highlighted a, .content .highlighted span { color: #000 !important; }
91 .content .highlighted.trait { background-color: #c7b6ff; }
92 .content .highlighted.mod,
93 .content .highlighted.externcrate { background-color: #afc6e4; }
94 .content .highlighted.enum { background-color: #b4d1b9; }
95 .content .highlighted.struct { background-color: #e7b1a0; }
96 .content .highlighted.union { background-color: #b7bd49; }
97 .content .highlighted.fn,
98 .content .highlighted.method,
99 .content .highlighted.tymethod { background-color: #c6afb3; }
100 .content .highlighted.type { background-color: #ffc891; }
101 .content .highlighted.macro { background-color: #8ce488; }
102 .content .highlighted.constant,
103 .content .highlighted.static { background-color: #c3e0ff; }
104 .content .highlighted.primitive { background-color: #9aecff; }
106 .content span.enum, .content a.enum, .block a.current.enum { color: #508157; }
107 .content span.struct, .content a.struct, .block a.current.struct { color: #df3600; }
108 .content span.type, .content a.type, .block a.current.type { color: #ba5d00; }
109 .content span.macro, .content a.macro, .block a.current.macro { color: #068000; }
110 .content span.union, .content a.union, .block a.current.union { color: #767b27; }
111 .content span.constant, .content a.constant, .block a.current.constant,
112 .content span.static, .content a.static, .block a.current.static { color: #546e8a; }
113 .content span.primitive, .content a.primitive, .block a.current.primitive { color: #2c8093; }
114 .content span.externcrate,
115 .content span.mod, .content a.mod, .block a.current.mod { color: #4d76ae; }
116 .content span.trait, .content a.trait, .block a.current.trait { color: #7c5af3; }
117 .content span.fn, .content a.fn, .block a.current.fn,
118 .content span.method, .content a.method, .block a.current.method,
119 .content span.tymethod, .content a.tymethod, .block a.current.tymethod,
120 .content .fnname { color: #9a6e31; }
122 pre.rust .comment { color: #8E908C; }
123 pre.rust .doccomment { color: #4D4D4C; }
126 border-bottom-color: #e0e0e0;
129 border-top-color: #000;
130 border-bottom-color: #000;
132 nav.main .separator {
133 border: 1px solid #000;
139 .docblock a, .docblock-short a, .stability a {
149 box-shadow: 0 0 0 1px #e0e0e0, 0 0 0 2px transparent;
150 background-color: white;
153 .stab.unstable { background: #FFF5D6; border-color: #FFC600; }
154 .stab.deprecated { background: #F3DFFF; border-color: #7F0087; }
155 .stab.portability { background: #C4ECFF; border-color: #7BA5DB; }
159 border-color: #bfbfbf;;
163 border-color: #bfbfbf;
171 .line-numbers :target { background-color: transparent; }
173 /* Code highlighting */
174 pre.rust .kw { color: #8959A8; }
175 pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
176 pre.rust .number, pre.rust .string { color: #718C00; }
177 pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val,
178 pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
179 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
180 pre.rust .lifetime { color: #B76514; }
181 pre.rust .question-mark {
186 background-color: rgba(78, 139, 202, 0.2);
190 background-color: #4e8bca;