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 span.enum, .content a.enum, .block a.current.enum { color: #82b089; }
109 .content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; }
110 .content span.type, .content a.type, .block a.current.type { color: #ff7f00; }
111 .content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #dd7de8; }
112 .content span.attr, .content a.attr, .block a.current.attr,
113 .content span.derive, .content a.derive, .block a.current.derive,
114 .content span.macro, .content a.macro, .block a.current.macro { color: #09bd00; }
115 .content span.union, .content a.union, .block a.current.union { color: #a6ae37; }
116 .content span.constant, .content a.constant, .block a.current.constant,
117 .content span.static, .content a.static, .block a.current.static { color: #82a5c9; }
118 .content span.primitive, .content a.primitive, .block a.current.primitive { color: #43aec7; }
119 .content span.externcrate,
120 .content span.mod, .content a.mod, .block a.current.mod { color: #bda000; }
121 .content span.trait, .content a.trait, .block a.current.trait { color: #b78cf2; }
122 .content span.traitalias, .content a.traitalias, .block a.current.traitalias { color: #b397da; }
123 .content span.fn, .content a.fn, .block a.current.fn,
124 .content span.method, .content a.method, .block a.current.method,
125 .content span.tymethod, .content a.tymethod, .block a.current.tymethod,
126 .content .fnname{ color: #2BAB63; }
127 .content span.keyword, .content a.keyword, .block a.current.keyword { color: #de5249; }
129 pre.rust .comment { color: #8d8d8b; }
130 pre.rust .doccomment { color: #8ca375; }
133 border-bottom-color: #4e4e4e;
136 border-top-color: #eee;
137 border-bottom-color: #eee;
139 nav.main .separator {
146 .docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),
147 .docblock-short a:not(.srclink):not(.test-arrow), .stability a {
165 background-color: #f0f0f0;
171 box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent;
172 background-color: #f0f0f0;
175 .search-input:focus {
176 border-color: #008dfd;
179 #crate-search + .search-input {
180 box-shadow: 1px 0 0 1px #000, 0 0 0 2px transparent;
187 .stab.unstable {background: #FFF5D6; border-color: #FFC600; color: #2f2f2f; }
188 .stab.internal { background: #FFB9B3; border-color: #B71C1C; color: #2f2f2f; }
189 .stab.deprecated { background: #F3DFFF; border-color: #7F0087; color: #2f2f2f; }
190 .stab.portability { background: #C4ECFF; border-color: #7BA5DB; color: #2f2f2f; }
194 border-color: #bfbfbf;
198 border-color: #bfbfbf;
199 background: rgba(0,0,0,0);
207 tr.result span.primitive::after, tr.result span.keyword::after {
211 .line-numbers :target { background-color: transparent; }
213 /* Code highlighting */
214 pre.rust .kw { color: #ab8ac1; }
215 pre.rust .kw-2, pre.rust .prelude-ty { color: #769acb; }
216 pre.rust .number, pre.rust .string { color: #83a300; }
217 pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val,
218 pre.rust .attribute, pre.rust .attribute .ident { color: #ee6868; }
219 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
220 pre.rust .lifetime { color: #d97f26; }
221 pre.rust .question-mark {
225 .example-wrap > pre.line-number {
226 border-color: #4a4949;
230 background-color: rgba(78, 139, 202, 0.2);
234 background-color: #4e8bca;
241 :target > code, :target > .in-band {
242 background-color: #494a3d;
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;
296 #titles > div:not(.selected) {
297 background-color: #252525;
298 border-top-color: #252525;
301 #titles > div:hover, #titles > div.selected {
302 border-top-color: #0089ff;
305 #titles > div > div.count {
310 background-color: rgba(0,0,0,0.3);
314 background-color: #272727;
318 .modal-content > .close {
319 background-color: #272727;
323 .modal-content > .close:hover {
324 background-color: #ff1f1f;
328 .modal-content > .whiter {
329 background-color: #272727;
332 .modal-content > .close:hover + .whiter {
333 background-color: #ff1f1f;
336 @media (max-width: 700px) {
338 background-color: #505050;
339 border-bottom-color: #e0e0e0;
340 border-right-color: #e0e0e0;
344 background-color: #505050;
345 border-right-color: #000;
349 background-color: #505050;
350 border-bottom-color: #e0e0e0;
356 background-color: #fafbfc;
357 border-color: #d1d5da;
358 border-bottom-color: #c6cbd1;
359 box-shadow-color: #c6cbd1;
362 #theme-picker, #settings-menu {
363 border-color: #e0e0e0;
367 #theme-picker:hover, #theme-picker:focus,
368 #settings-menu:hover, #settings-menu:focus {
369 border-color: #ffb900;
373 border-color: #e0e0e0;
374 background-color: #353535;
377 #theme-choices > button:not(:first-child) {
378 border-top-color: #e0e0e0;
381 #theme-choices > button:hover, #theme-choices > button:focus {
382 background-color: #4e4e4e;
385 @media (max-width: 700px) {
392 background-color: #505050;
395 background-color: #606060;
398 .search-results td span.alias {
401 .search-results td span.grey {
406 background-color: #565656;
408 #sidebar-toggle:hover {
409 background-color: #676767;
412 background-color: #565656;
414 #source-sidebar > .title {
415 border-bottom-color: #ccc;
417 div.files > a:hover, div.name:hover {
418 background-color: #444;
420 div.files > .selected {
421 background-color: #333;