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.
14 background-color: #353535;
18 h1, h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) {
22 border-bottom-color: #d2d2d2;
24 h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) {
25 border-bottom-color: #d2d2d2;
29 background-color: #353535;
33 background: rgba(0, 0, 0, 0);
36 .docblock code, .docblock-short code {
37 background-color: #2A2A2A;
40 background-color: #2A2A2A;
44 background-color: #505050;
48 background-color: #333;
52 background-color: #353535;
62 border-bottom-color: #DDD;
66 border-top-color: #777;
67 border-bottom-color: #777;
74 .line-numbers span { color: #3B91E2; }
75 .line-numbers .line-highlighted {
76 background-color: #0a042f !important;
79 .docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
80 border-bottom-color: #DDD;
88 border-top-color: #ddd;
89 border-bottom-color: #ddd;
93 border-top-color: #ddd;
94 border-bottom-color: #ddd;
97 :target { background: #494a3d; }
103 .content .method .where,
105 .content .where.fmt-newline {
109 .content .highlighted {
110 color: #eee !important;
111 background-color: #333;
113 .content .highlighted a, .content .highlighted span { color: #eee !important; }
114 .content .highlighted.trait { background-color: #013191; }
115 .content .highlighted.mod,
116 .content .highlighted.externcrate { background-color: #afc6e4; }
117 .content .highlighted.mod { background-color: #803a1b; }
118 .content .highlighted.externcrate { background-color: #396bac; }
119 .content .highlighted.enum { background-color: #5b4e68; }
120 .content .highlighted.struct { background-color: #194e9f; }
121 .content .highlighted.union { background-color: #b7bd49; }
122 .content .highlighted.fn,
123 .content .highlighted.method,
124 .content .highlighted.tymethod { background-color: #4950ed; }
125 .content .highlighted.type { background-color: #38902c; }
126 .content .highlighted.foreigntype { background-color: #b200d6; }
127 .content .highlighted.macro { background-color: #217d1c; }
128 .content .highlighted.constant,
129 .content .highlighted.static { background-color: #0063cc; }
130 .content .highlighted.primitive { background-color: #00708a; }
132 .content span.enum, .content a.enum, .block a.current.enum { color: #82b089; }
133 .content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; }
134 .content span.type, .content a.type, .block a.current.type { color: #ff7f00; }
135 .content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #dd7de8; }
136 .content span.macro, .content a.macro, .block a.current.macro { color: #09bd00; }
137 .content span.union, .content a.union, .block a.current.union { color: #a6ae37; }
138 .content span.constant, .content a.constant, .block a.current.constant,
139 .content span.static, .content a.static, .block a.current.static { color: #82a5c9; }
140 .content span.primitive, .content a.primitive, .block a.current.primitive { color: #43aec7; }
141 .content span.externcrate,
142 .content span.mod, .content a.mod, .block a.current.mod { color: #bda000; }
143 .content span.trait, .content a.trait, .block a.current.trait { color: #b78cf2; }
144 .content span.fn, .content a.fn, .block a.current.fn,
145 .content span.method, .content a.method, .block a.current.method,
146 .content span.tymethod, .content a.tymethod, .block a.current.tymethod,
147 .content .fnname{ color: #2BAB63; }
149 pre.rust .comment { color: #8d8d8b; }
150 pre.rust .doccomment { color: #8ca375; }
153 border-bottom-color: #4e4e4e;
156 border-top-color: #eee;
157 border-bottom-color: #eee;
159 nav.main .separator {
166 .docblock a, .docblock-short a, .stability a {
180 box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent;
181 background-color: #f0f0f0;
184 .search-input:focus {
185 border-color: #008dfd;
188 .stab.unstable { background: #FFF5D6; border-color: #FFC600; color: #404040; }
189 .stab.deprecated { background: #F3DFFF; border-color: #7F0087; color: #404040; }
190 .stab.portability { background: #C4ECFF; border-color: #7BA5DB; color: #404040; }
198 border-color: #bfbfbf;
202 border-color: #bfbfbf;
203 background: rgba(0,0,0,0);
211 tr.result span.primitive::after {
215 .line-numbers :target { background-color: transparent; }
217 /* Code highlighting */
218 pre.rust .kw { color: #ab8ac1; }
219 pre.rust .kw-2, pre.rust .prelude-ty { color: #769acb; }
220 pre.rust .number, pre.rust .string { color: #83a300; }
221 pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val,
222 pre.rust .attribute, pre.rust .attribute .ident { color: #ee6868; }
223 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
224 pre.rust .lifetime { color: #d97f26; }
225 pre.rust .question-mark {
230 background-color: rgba(78, 139, 202, 0.2);
234 background-color: #4e8bca;
246 border-left: 2px solid rgba(255,0,0,.6);
249 pre.compile_fail:hover, .information:hover + pre.compile_fail {
250 border-left: 2px solid #f00;
254 border-left: 2px solid rgba(255,142,0,.6);
257 pre.ignore:hover, .information:hover + pre.ignore {
258 border-left: 2px solid #ff9200;
261 .tooltip.compile_fail {
262 color: rgba(255,0,0,.6);
265 .information > .compile_fail:hover {
270 color: rgba(255,142,0,.6);
273 .information > .ignore:hover {
274 color: rgba(255,142,0,1);
281 .tooltip .tooltiptext {
282 background-color: black;
286 .tooltip .tooltiptext::after {
287 border-color: transparent black transparent transparent;
290 .important-traits .tooltip .tooltiptext {
291 background-color: white;
297 border-bottom-color: #ccc;
300 #titles > div.selected {
301 border-bottom-color: #0078ee;
304 #titles > div:hover {
305 border-bottom-color: #0089ff;
308 #titles > div > div.count {
313 background-color: rgba(0,0,0,0.3);
317 background-color: #272727;
321 .modal-content > .close {
322 background-color: #272727;
326 .modal-content > .close:hover {
327 background-color: #ff1f1f;
331 .modal-content > .whiter {
332 background-color: #272727;
335 .modal-content > .close:hover + .whiter {
336 background-color: #ff1f1f;
339 @media (max-width: 700px) {
341 background-color: #505050;
342 border-bottom-color: #e0e0e0;
343 border-right-color: #e0e0e0;
347 background-color: #505050;
348 border-right-color: #000;
352 background-color: #505050;
353 border-bottom-color: #e0e0e0;
359 background-color: #fafbfc;
360 border-color: #d1d5da;
361 border-bottom-color: #c6cbd1;
362 box-shadow-color: #c6cbd1;
366 border-color: #e0e0e0;
370 #theme-picker:hover, #theme-picker:focus {
371 border-color: #ffb900;
375 border-color: #e0e0e0;
376 background-color: #353535;
379 #theme-choices > button:not(:first-child) {
380 border-top-color: #e0e0e0;
383 #theme-choices > button:hover, #theme-choices > button:focus {
384 background-color: #444;
387 @media (max-width: 700px) {