2 background-color: #353535;
6 h1, h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) {
10 border-bottom-color: #d2d2d2;
12 h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) {
13 border-bottom-color: #d2d2d2;
17 background-color: #353535;
21 background: rgba(0, 0, 0, 0);
24 .docblock code, .docblock-short code {
25 background-color: #2A2A2A;
28 background-color: #2A2A2A;
32 background-color: #505050;
36 background-color: #333;
40 background-color: #353535;
50 border-bottom-color: #DDD;
54 border-top-color: #777;
55 border-bottom-color: #777;
62 .line-numbers span { color: #3B91E2; }
63 .line-numbers .line-highlighted {
64 background-color: #0a042f !important;
67 .docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
68 border-bottom-color: #DDD;
71 .docblock table, .docblock table td, .docblock table th {
75 .content .method .where,
77 .content .where.fmt-newline {
81 .content .highlighted {
82 color: #eee !important;
83 background-color: #616161;
85 .content .highlighted a, .content .highlighted span { color: #eee !important; }
86 .content .highlighted.trait { background-color: #013191; }
87 .content .highlighted.traitalias { background-color: #013191; }
88 .content .highlighted.mod,
89 .content .highlighted.externcrate { background-color: #afc6e4; }
90 .content .highlighted.mod { background-color: #803a1b; }
91 .content .highlighted.externcrate { background-color: #396bac; }
92 .content .highlighted.enum { background-color: #5b4e68; }
93 .content .highlighted.struct { background-color: #194e9f; }
94 .content .highlighted.union { background-color: #b7bd49; }
95 .content .highlighted.fn,
96 .content .highlighted.method,
97 .content .highlighted.tymethod { background-color: #4950ed; }
98 .content .highlighted.type { background-color: #38902c; }
99 .content .highlighted.foreigntype { background-color: #b200d6; }
100 .content .highlighted.attr,
101 .content .highlighted.derive,
102 .content .highlighted.macro { background-color: #217d1c; }
103 .content .highlighted.constant,
104 .content .highlighted.static { background-color: #0063cc; }
105 .content .highlighted.primitive { background-color: #00708a; }
106 .content .highlighted.keyword { background-color: #884719; }
108 .content .stability::before { color: #ccc; }
110 .content span.enum, .content a.enum, .block a.current.enum { color: #82b089; }
111 .content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; }
112 .content span.type, .content a.type, .block a.current.type { color: #ff7f00; }
113 .content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #dd7de8; }
114 .content span.attr, .content a.attr, .block a.current.attr,
115 .content span.derive, .content a.derive, .block a.current.derive,
116 .content span.macro, .content a.macro, .block a.current.macro { color: #09bd00; }
117 .content span.union, .content a.union, .block a.current.union { color: #a6ae37; }
118 .content span.constant, .content a.constant, .block a.current.constant,
119 .content span.static, .content a.static, .block a.current.static { color: #82a5c9; }
120 .content span.primitive, .content a.primitive, .block a.current.primitive { color: #43aec7; }
121 .content span.externcrate,
122 .content span.mod, .content a.mod, .block a.current.mod { color: #bda000; }
123 .content span.trait, .content a.trait, .block a.current.trait { color: #b78cf2; }
124 .content span.traitalias, .content a.traitalias, .block a.current.traitalias { color: #b397da; }
125 .content span.fn, .content a.fn, .block a.current.fn,
126 .content span.method, .content a.method, .block a.current.method,
127 .content span.tymethod, .content a.tymethod, .block a.current.tymethod,
128 .content .fnname{ color: #2BAB63; }
129 .content span.keyword, .content a.keyword, .block a.current.keyword { color: #de5249; }
131 pre.rust .comment { color: #8d8d8b; }
132 pre.rust .doccomment { color: #8ca375; }
135 border-bottom-color: #4e4e4e;
138 border-top-color: #eee;
139 border-bottom-color: #eee;
141 nav.main .separator {
148 .docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),
149 .docblock-short a:not(.srclink):not(.test-arrow), .stability a {
167 background-color: #f0f0f0;
169 box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent;
174 background-color: #f0f0f0;
175 box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent;
178 .search-input:focus {
179 border-color: #008dfd;
182 .search-focus:disabled {
183 background-color: #c5c4c4;
186 #crate-search + .search-input:focus {
187 box-shadow: 0 0 8px 4px #078dd8;
194 .stab.unstable { background: #FFF5D6; border-color: #FFC600; color: #2f2f2f; }
195 .stab.internal { background: #FFB9B3; border-color: #B71C1C; color: #2f2f2f; }
196 .stab.deprecated { background: #F3DFFF; border-color: #7F0087; color: #2f2f2f; }
197 .stab.portability { background: #C4ECFF; border-color: #7BA5DB; color: #2f2f2f; }
199 .stab.portability > code {
205 border-color: #bfbfbf;
209 border-color: #bfbfbf;
210 background: rgba(0,0,0,0);
218 tr.result span.primitive::after, tr.result span.keyword::after {
222 .line-numbers :target { background-color: transparent; }
224 /* Code highlighting */
225 pre.rust .kw { color: #ab8ac1; }
226 pre.rust .kw-2, pre.rust .prelude-ty { color: #769acb; }
227 pre.rust .number, pre.rust .string { color: #83a300; }
228 pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val,
229 pre.rust .attribute, pre.rust .attribute .ident { color: #ee6868; }
230 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
231 pre.rust .lifetime { color: #d97f26; }
232 pre.rust .question-mark {
236 .example-wrap > pre.line-number {
237 border-color: #4a4949;
241 background-color: rgba(78, 139, 202, 0.2);
245 background-color: #4e8bca;
252 :target > code, :target > .in-band {
253 background-color: #494a3d;
257 border-left: 2px solid rgba(255,0,0,.6);
260 pre.compile_fail:hover, .information:hover + pre.compile_fail {
261 border-left: 2px solid #f00;
265 border-left: 2px solid rgba(255,142,0,.6);
268 pre.ignore:hover, .information:hover + pre.ignore {
269 border-left: 2px solid #ff9200;
272 .tooltip.compile_fail {
273 color: rgba(255,0,0,.6);
276 .information > .compile_fail:hover {
281 color: rgba(255,142,0,.6);
284 .information > .ignore:hover {
285 color: rgba(255,142,0,1);
292 .tooltip .tooltiptext {
293 background-color: black;
297 .tooltip .tooltiptext::after {
298 border-color: transparent black transparent transparent;
301 .important-traits .tooltip .tooltiptext {
302 background-color: white;
307 #titles > div:not(.selected) {
308 background-color: #252525;
309 border-top-color: #252525;
312 #titles > div:hover, #titles > div.selected {
313 border-top-color: #0089ff;
316 #titles > div > div.count {
321 background-color: rgba(0,0,0,0.3);
325 background-color: #272727;
329 .modal-content > .close {
330 background-color: #272727;
334 .modal-content > .close:hover {
335 background-color: #ff1f1f;
339 .modal-content > .whiter {
340 background-color: #272727;
343 .modal-content > .close:hover + .whiter {
344 background-color: #ff1f1f;
347 @media (max-width: 700px) {
349 background-color: #505050;
350 border-bottom-color: #e0e0e0;
351 border-right-color: #e0e0e0;
355 background-color: #505050;
356 border-right-color: #000;
360 background-color: #505050;
361 border-bottom-color: #e0e0e0;
367 background-color: #fafbfc;
368 border-color: #d1d5da;
369 border-bottom-color: #c6cbd1;
370 box-shadow-color: #c6cbd1;
373 #theme-picker, #settings-menu {
374 border-color: #e0e0e0;
378 #theme-picker:hover, #theme-picker:focus,
379 #settings-menu:hover, #settings-menu:focus {
380 border-color: #ffb900;
384 border-color: #e0e0e0;
385 background-color: #353535;
388 #theme-choices > button:not(:first-child) {
389 border-top-color: #e0e0e0;
392 #theme-choices > button:hover, #theme-choices > button:focus {
393 background-color: #4e4e4e;
396 @media (max-width: 700px) {
403 background-color: #505050;
406 background-color: #606060;
409 .search-results td span.alias {
412 .search-results td span.grey {
417 background-color: #565656;
419 #sidebar-toggle:hover {
420 background-color: #676767;
423 background-color: #565656;
425 #source-sidebar > .title {
426 border-bottom-color: #ccc;
428 div.files > a:hover, div.name:hover {
429 background-color: #444;
431 div.files > .selected {
432 background-color: #333;
434 .setting-line > .title {
435 border-bottom-color: #ddd;