2 background-color: #353535;
6 h1, h2, h3:not(.impl):not(.method):not(.type):not(.tymethod),
7 h4:not(.method):not(.type):not(.tymethod) {
11 border-bottom-color: #d2d2d2;
13 h2, h3:not(.impl):not(.method):not(.type):not(.tymethod),
14 h4:not(.method):not(.type):not(.tymethod) {
15 border-bottom-color: #d2d2d2;
19 background-color: #353535;
23 background: rgba(0, 0, 0, 0);
26 .docblock code, .docblock-short code {
27 background-color: #2A2A2A;
30 background-color: #2A2A2A;
34 background-color: #505050;
37 /* Improve the scrollbar display on firefox */
39 scrollbar-color: rgb(64, 65, 67) #717171;
42 scrollbar-color: rgba(32,34,37,.6) transparent;
45 /* Improve the scrollbar display on webkit-based browsers */
46 ::-webkit-scrollbar-track {
47 background-color: #717171;
49 ::-webkit-scrollbar-thumb {
50 background-color: rgba(32, 34, 37, .6);
52 .sidebar::-webkit-scrollbar-track {
53 background-color: #717171;
55 .sidebar::-webkit-scrollbar-thumb {
56 background-color: rgba(32, 34, 37, .6);
60 background-color: #333;
64 background-color: #353535;
74 border-bottom-color: #DDD;
78 border-top-color: #777;
79 border-bottom-color: #777;
86 .line-numbers span { color: #3B91E2; }
87 .line-numbers .line-highlighted {
88 background-color: #0a042f !important;
91 .docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
92 border-bottom-color: #DDD;
95 .docblock table, .docblock table td, .docblock table th {
99 .content .method .where,
101 .content .where.fmt-newline {
105 .content .highlighted {
106 color: #eee !important;
107 background-color: #616161;
109 .content .highlighted a, .content .highlighted span { color: #eee !important; }
110 .content .highlighted.trait { background-color: #013191; }
111 .content .highlighted.traitalias { background-color: #013191; }
112 .content .highlighted.mod,
113 .content .highlighted.externcrate { background-color: #afc6e4; }
114 .content .highlighted.mod { background-color: #803a1b; }
115 .content .highlighted.externcrate { background-color: #396bac; }
116 .content .highlighted.enum { background-color: #5b4e68; }
117 .content .highlighted.struct { background-color: #194e9f; }
118 .content .highlighted.union { background-color: #b7bd49; }
119 .content .highlighted.fn,
120 .content .highlighted.method,
121 .content .highlighted.tymethod { background-color: #4950ed; }
122 .content .highlighted.type { background-color: #38902c; }
123 .content .highlighted.foreigntype { background-color: #b200d6; }
124 .content .highlighted.attr,
125 .content .highlighted.derive,
126 .content .highlighted.macro { background-color: #217d1c; }
127 .content .highlighted.constant,
128 .content .highlighted.static { background-color: #0063cc; }
129 .content .highlighted.primitive { background-color: #00708a; }
130 .content .highlighted.keyword { background-color: #884719; }
132 .content .stability::before { color: #ccc; }
134 .content span.enum, .content a.enum, .block a.current.enum { color: #82b089; }
135 .content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; }
136 .content span.type, .content a.type, .block a.current.type { color: #ff7f00; }
137 .content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #dd7de8; }
138 .content span.attr, .content a.attr, .block a.current.attr,
139 .content span.derive, .content a.derive, .block a.current.derive,
140 .content span.macro, .content a.macro, .block a.current.macro { color: #09bd00; }
141 .content span.union, .content a.union, .block a.current.union { color: #a6ae37; }
142 .content span.constant, .content a.constant, .block a.current.constant,
143 .content span.static, .content a.static, .block a.current.static { color: #82a5c9; }
144 .content span.primitive, .content a.primitive, .block a.current.primitive { color: #43aec7; }
145 .content span.externcrate,
146 .content span.mod, .content a.mod, .block a.current.mod { color: #bda000; }
147 .content span.trait, .content a.trait, .block a.current.trait { color: #b78cf2; }
148 .content span.traitalias, .content a.traitalias, .block a.current.traitalias { color: #b397da; }
149 .content span.fn, .content a.fn, .block a.current.fn,
150 .content span.method, .content a.method, .block a.current.method,
151 .content span.tymethod, .content a.tymethod, .block a.current.tymethod,
152 .content .fnname{ color: #2BAB63; }
153 .content span.keyword, .content a.keyword, .block a.current.keyword { color: #de5249; }
155 pre.rust .comment { color: #8d8d8b; }
156 pre.rust .doccomment { color: #8ca375; }
159 border-bottom-color: #4e4e4e;
162 border-top-color: #eee;
163 border-bottom-color: #eee;
165 nav.main .separator {
172 .docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),
173 .docblock-short a:not(.srclink):not(.test-arrow), .stability a {
187 background-color: #f0f0f0;
189 box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent;
194 background-color: #f0f0f0;
195 box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent;
198 .search-input:focus {
199 border-color: #008dfd;
202 .search-focus:disabled {
203 background-color: #c5c4c4;
206 #crate-search + .search-input:focus {
207 box-shadow: 0 0 8px 4px #078dd8;
214 .stab.unstable { background: #FFF5D6; border-color: #FFC600; color: #2f2f2f; }
215 .stab.deprecated { background: #F3DFFF; border-color: #7F0087; color: #2f2f2f; }
216 .stab.portability { background: #C4ECFF; border-color: #7BA5DB; color: #2f2f2f; }
218 .stab.portability > code {
224 border-color: #bfbfbf;
228 border-color: #bfbfbf;
229 background: rgba(0,0,0,0);
237 tr.result span.primitive::after, tr.result span.keyword::after {
241 .line-numbers :target { background-color: transparent; }
243 /* Code highlighting */
244 pre.rust .kw { color: #ab8ac1; }
245 pre.rust .kw-2, pre.rust .prelude-ty { color: #769acb; }
246 pre.rust .number, pre.rust .string { color: #83a300; }
247 pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val,
248 pre.rust .attribute, pre.rust .attribute .ident { color: #ee6868; }
249 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
250 pre.rust .lifetime { color: #d97f26; }
251 pre.rust .question-mark {
255 .example-wrap > pre.line-number {
256 border-color: #4a4949;
260 background-color: rgba(78, 139, 202, 0.2);
264 background-color: #4e8bca;
271 :target > code, :target > .in-band {
272 background-color: #494a3d;
276 border-left: 2px solid rgba(255,0,0,.8);
279 pre.compile_fail:hover, .information:hover + pre.compile_fail {
280 border-left: 2px solid #f00;
284 border-left: 2px solid rgba(255,0,0,.8);
287 pre.should_panic:hover, .information:hover + pre.should_panic {
288 border-left: 2px solid #f00;
292 border-left: 2px solid rgba(255,142,0,.6);
295 pre.ignore:hover, .information:hover + pre.ignore {
296 border-left: 2px solid #ff9200;
299 .tooltip.compile_fail {
300 color: rgba(255,0,0,.8);
303 .information > .compile_fail:hover {
307 .tooltip.should_panic {
308 color: rgba(255,0,0,.8);
311 .information > .should_panic:hover {
316 color: rgba(255,142,0,.6);
319 .information > .ignore:hover {
327 .tooltip .tooltiptext {
328 background-color: #000;
333 .tooltip .tooltiptext::after {
334 border-color: transparent black transparent transparent;
337 .important-traits-tooltiptext {
338 background-color: #111;
342 #titles > div:not(.selected) {
343 background-color: #252525;
344 border-top-color: #252525;
347 #titles > div:hover, #titles > div.selected {
348 border-top-color: #0089ff;
351 #titles > div > div.count {
355 @media (max-width: 700px) {
357 background-color: #505050;
358 border-bottom-color: #e0e0e0;
359 border-right-color: #e0e0e0;
363 background-color: #505050;
364 border-right-color: #000;
368 background-color: #505050;
369 border-bottom-color: #e0e0e0;
375 background-color: #fafbfc;
376 border-color: #d1d5da;
377 border-bottom-color: #c6cbd1;
378 box-shadow-color: #c6cbd1;
381 #theme-picker, #settings-menu {
382 border-color: #e0e0e0;
386 #theme-picker:hover, #theme-picker:focus,
387 #settings-menu:hover, #settings-menu:focus {
388 border-color: #ffb900;
392 border-color: #e0e0e0;
393 background-color: #353535;
396 #theme-choices > button:not(:first-child) {
397 border-top-color: #e0e0e0;
400 #theme-choices > button:hover, #theme-choices > button:focus {
401 background-color: #4e4e4e;
404 @media (max-width: 700px) {
411 background-color: #505050;
414 background-color: #606060;
417 .search-results td span.alias {
420 .search-results td span.grey {
425 background-color: #565656;
427 #sidebar-toggle:hover {
428 background-color: #676767;
431 background-color: #565656;
433 #source-sidebar > .title {
434 border-bottom-color: #ccc;
436 div.files > a:hover, div.name:hover {
437 background-color: #444;
439 div.files > .selected {
440 background-color: #333;
442 .setting-line > .title {
443 border-bottom-color: #ddd;