10
10
color : # c5c5c5 ;
11
11
}
12
12
13
- h1 , h2 , h3 : not (.impl ): not (.method ): not (.type ): not (.tymethod ), h4 : not (.method ): not (.type ): not (.tymethod ) {
13
+ h1 , h2 , h3 : not (.impl ): not (.method ): not (.type ): not (.tymethod ),
14
+ h4 : not (.method ): not (.type ): not (.tymethod ) {
14
15
color : white;
15
16
}
16
17
h1 .fqn {
@@ -41,13 +42,13 @@ h3 > code, h4 > code, h5 > code {
41
42
color : # e6e1cf ;
42
43
}
43
44
pre > code {
44
- color : # e6e1cf ;
45
+ color : # e6e1cf ;
45
46
}
46
47
span code {
47
- color : # e6e1cf ;
48
+ color : # e6e1cf ;
48
49
}
49
50
.docblock a > code {
50
- color : # 39AFD7 !important ;
51
+ color : # 39AFD7 !important ;
51
52
}
52
53
.docblock code , .docblock-short code {
53
54
background-color : # 191f26 ;
@@ -100,11 +101,11 @@ pre {
100
101
}
101
102
102
103
.sidebar-elems .location {
103
- color : # ff7733 ;
104
+ color : # ff7733 ;
104
105
}
105
106
106
107
.sidebar-elems .location a {
107
- color : # fff ;
108
+ color : # fff ;
108
109
}
109
110
110
111
.sidebar .version {
@@ -123,9 +124,9 @@ pre {
123
124
124
125
.line-numbers span { color : # 5c6773ab ; }
125
126
.line-numbers .line-highlighted {
126
- background-color : rgba (255 , 236 , 164 , 0.06 ) !important ;
127
- padding-right : 4px ;
128
- border-right : 1px solid # ffb44c ;
127
+ background-color : rgba (255 , 236 , 164 , 0.06 ) !important ;
128
+ padding-right : 4px ;
129
+ border-right : 1px solid # ffb44c ;
129
130
}
130
131
131
132
.docblock h1 , .docblock h2 , .docblock h3 , .docblock h4 , .docblock h5 {
@@ -168,31 +169,31 @@ pre {
168
169
.content span .keyword , .content a .keyword { color : # de5249 ; }
169
170
170
171
.content span .externcrate , .content span .mod , .content a .mod {
171
- color : # acccf9 ;
172
+ color : # acccf9 ;
172
173
}
173
174
.content span .struct , .content a .struct {
174
- color : # ffa0a5 ;
175
+ color : # ffa0a5 ;
175
176
}
176
177
.content span .enum , .content a .enum {
177
- color : # 99e0c9 ;
178
+ color : # 99e0c9 ;
178
179
}
179
180
.content span .trait , .content a .trait {
180
- color : # 39AFD7 ;
181
+ color : # 39AFD7 ;
181
182
}
182
183
.content span .type , .content a .type {
183
- color : # cfbcf5 ;
184
+ color : # cfbcf5 ;
184
185
}
185
186
.content span .fn , .content a .fn , .content span .method ,
186
187
.content a .method , .content span .tymethod ,
187
188
.content a .tymethod , .content .fnname {
188
- color : # fdd687 ;
189
+ color : # fdd687 ;
189
190
}
190
191
.content span .attr , .content a .attr , .content span .derive ,
191
192
.content a .derive , .content span .macro , .content a .macro {
192
- color : # a37acc ;
193
+ color : # a37acc ;
193
194
}
194
195
195
- pre .rust .comment , pre .rust .doccomment {
196
+ pre .rust .comment , pre .rust .doccomment {
196
197
color : # 788797 ;
197
198
font-style : italic;
198
199
}
@@ -229,16 +230,16 @@ a {
229
230
}
230
231
231
232
.search-input {
232
- color : # ffffff ;
233
- background-color : # 141920 ;
234
- box-shadow : none;
235
- transition : box-shadow 150ms ease-in-out;
236
- border-radius : 4px ;
237
- margin-left : 8px ;
233
+ color : # ffffff ;
234
+ background-color : # 141920 ;
235
+ box-shadow : none;
236
+ transition : box-shadow 150ms ease-in-out;
237
+ border-radius : 4px ;
238
+ margin-left : 8px ;
238
239
}
239
240
240
241
# crate-search + .search-input : focus {
241
- box-shadow : 0px 6px 20px 0px black;
242
+ box-shadow : 0px 6px 20px 0px black;
242
243
}
243
244
244
245
.search-focus : disabled {
252
253
.stab .unstable ,
253
254
.stab .deprecated ,
254
255
.stab .portability {
255
- color : # c5c5c5 ;
256
+ color : # c5c5c5 ;
256
257
background : # 314559 !important ;
257
258
border-style : none !important ;
258
259
border-radius : 4px ;
@@ -265,10 +266,10 @@ a {
265
266
}
266
267
267
268
# help > div {
268
- background : # 14191f ;
269
- box-shadow : 0px 6px 20px 0px black;
270
- border : none;
271
- border-radius : 4px ;
269
+ background : # 14191f ;
270
+ box-shadow : 0px 6px 20px 0px black;
271
+ border : none;
272
+ border-radius : 4px ;
272
273
}
273
274
274
275
.since {
@@ -291,14 +292,14 @@ pre.rust .question-mark {
291
292
color : # ff9011 ;
292
293
}
293
294
pre .rust .self {
294
- color : # 36a3d9 ;
295
- font-style : italic;
295
+ color : # 36a3d9 ;
296
+ font-style : italic;
296
297
}
297
298
pre .rust .attribute {
298
- color : # e6e1cf ;
299
+ color : # e6e1cf ;
299
300
}
300
301
pre .rust .attribute .ident , pre .rust .attribute .op {
301
- color : # e6e1cf ;
302
+ color : # e6e1cf ;
302
303
}
303
304
304
305
.example-wrap > pre .line-number {
@@ -307,15 +308,15 @@ pre.rust .attribute .ident, pre.rust .attribute .op {
307
308
}
308
309
309
310
a .test-arrow {
310
- font-size : 100% ;
311
- color : # 788797 ;
312
- border-radius : 4px ;
313
- background-color : rgba (255 , 255 , 255 , 0 );
311
+ font-size : 100% ;
312
+ color : # 788797 ;
313
+ border-radius : 4px ;
314
+ background-color : rgba (255 , 255 , 255 , 0 );
314
315
}
315
316
316
317
a .test-arrow : hover {
317
- background-color : rgba (242 , 151 , 24 , 0.05 );
318
- color : # ffb44c ;
318
+ background-color : rgba (242 , 151 , 24 , 0.05 );
319
+ color : # ffb44c ;
319
320
}
320
321
321
322
.toggle-label {
@@ -380,9 +381,9 @@ pre.ignore:hover, .information:hover + pre.ignore {
380
381
}
381
382
382
383
.tooltip .tooltiptext {
383
- background-color : # 314559 ;
384
- color : # c5c5c5 ;
385
- border : 1px solid # 5c6773 ;
384
+ background-color : # 314559 ;
385
+ color : # c5c5c5 ;
386
+ border : 1px solid # 5c6773 ;
386
387
}
387
388
388
389
.tooltip .tooltiptext ::after {
@@ -395,7 +396,7 @@ pre.ignore:hover, .information:hover + pre.ignore {
395
396
}
396
397
397
398
# titles > div .selected {
398
- background-color : # 141920 !important ;
399
+ background-color : # 141920 !important ;
399
400
border-bottom : 1px solid # ffb44c !important ;
400
401
border-top : none;
401
402
}
@@ -406,7 +407,7 @@ pre.ignore:hover, .information:hover + pre.ignore {
406
407
}
407
408
408
409
# titles > div : hover {
409
- border-bottom : 1px solid rgba (242 , 151 , 24 , 0.3 );
410
+ border-bottom : 1px solid rgba (242 , 151 , 24 , 0.3 );
410
411
}
411
412
412
413
# titles > div > div .count {
@@ -416,12 +417,13 @@ pre.ignore:hover, .information:hover + pre.ignore {
416
417
/* rules that this theme does not need to set, here to satisfy the rule checker */
417
418
/* note that a lot of these are partially set in some way (meaning they are set
418
419
individually rather than as a group) */
419
- /* TODO : these rules should be at the bottom of the file but currently must be
420
+ /* FIXME : these rules should be at the bottom of the file but currently must be
420
421
above the `@media (max-width: 700px)` rules due to a bug in the css checker */
421
422
/* see https://github.com/rust-lang/rust/pull/71237#issuecomment-618170143 */
422
423
.content .highlighted .mod , .content .highlighted .externcrate {}
423
424
.search-input : focus {}
424
- .content span .attr , .content a .attr , .block a .current .attr , .content span .derive , .content a .derive , .block a .current .derive , .content span .macro , .content a .macro , .block a .current .macro {}
425
+ .content span .attr , .content a .attr , .block a .current .attr , .content span .derive , .content a .derive ,
426
+ .block a .current .derive , .content span .macro , .content a .macro , .block a .current .macro {}
425
427
.content .highlighted .trait {}
426
428
.content span .struct , .content a .struct , .block a .current .struct {}
427
429
# titles > div : hover , # titles > div .selected {}
@@ -436,16 +438,20 @@ pre.rust .lifetime {}
436
438
.content .highlighted .fn , .content .highlighted .method , .content .highlighted .tymethod {}
437
439
h2 , h3 : not (.impl ): not (.method ): not (.type ): not (.tymethod ), h4 : not (.method ): not (.type ): not (.tymethod ) {}
438
440
.content span .enum , .content a .enum , .block a .current .enum {}
439
- .content span .constant , .content a .constant , .block a .current .constant , .content span .static , .content a .static , .block a .current .static {}
441
+ .content span .constant , .content a .constant , .block a .current .constant , .content span .static ,
442
+ .content a .static , .block a .current .static {}
440
443
.content span .keyword , .content a .keyword , .block a .current .keyword {}
441
444
pre .rust .comment {}
442
445
.content .highlighted .enum {}
443
446
.content .highlighted .struct {}
444
447
.content .highlighted .keyword {}
445
448
.content span .traitalias , .content a .traitalias , .block a .current .traitalias {}
446
- .content span .fn , .content a .fn , .block a .current .fn , .content span .method , .content a .method , .block a .current .method , .content span .tymethod , .content a .tymethod , .block a .current .tymethod , .content .fnname {}
449
+ .content span .fn , .content a .fn , .block a .current .fn , .content span .method , .content a .method ,
450
+ .block a .current .method , .content span .tymethod , .content a .tymethod , .block a .current .tymethod ,
451
+ .content .fnname {}
447
452
pre .rust .kw {}
448
- pre .rust .self , pre .rust .bool-val , pre .rust .prelude-val , pre .rust .attribute , pre .rust .attribute .ident {}
453
+ pre .rust .self , pre .rust .bool-val , pre .rust .prelude-val , pre .rust .attribute ,
454
+ pre .rust .attribute .ident {}
449
455
.content span .foreigntype , .content a .foreigntype , .block a .current .foreigntype {}
450
456
pre .rust .doccomment {}
451
457
.stab .deprecated {}
@@ -486,11 +492,11 @@ kbd {
486
492
487
493
# theme-picker , # settings-menu {
488
494
border-color : # 5c6773 ;
489
- background-color : # 0f1419 ;
495
+ background-color : # 0f1419 ;
490
496
}
491
497
492
498
# theme-picker > img , # settings-menu > img {
493
- filter : invert (100 );
499
+ filter : invert (100 );
494
500
}
495
501
496
502
# theme-picker : hover , # theme-picker : focus ,
0 commit comments