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
}
@@ -228,14 +229,24 @@ a {
228
229
}
229
230
230
231
.search-input {
231
- color : # ffffff ;
232
- background-color : # 141920 ;
233
- box-shadow : 0 0 0 1px # 424c57, 0 0 0 2px transparent;
234
- transition : box-shadow 150ms ease-in-out;
232
+ color : # ffffff ;
233
+ background-color : # 141920 ;
234
+ box-shadow : 0 0 0 1px # 424c57, 0 0 0 2px transparent;
235
+ transition : box-shadow 150ms ease-in-out;
235
236
}
236
237
237
238
# crate-search + .search-input : focus {
238
- box-shadow : 0 0 0 1px # 148099, 0 0 0 2px transparent;
239
+ box-shadow : 0 0 0 1px # 148099, 0 0 0 2px transparent;
240
+ color : # ffffff ;
241
+ background-color : # 141920 ;
242
+ box-shadow : none;
243
+ transition : box-shadow 150ms ease-in-out;
244
+ border-radius : 4px ;
245
+ margin-left : 8px ;
246
+ }
247
+
248
+ # crate-search + .search-input : focus {
249
+ box-shadow : 0px 6px 20px 0px black;
239
250
}
240
251
241
252
.search-focus : disabled {
249
260
.stab .unstable ,
250
261
.stab .deprecated ,
251
262
.stab .portability {
252
- color : # c5c5c5 ;
263
+ color : # c5c5c5 ;
253
264
background : # 314559 !important ;
254
265
border-style : none !important ;
255
266
border-radius : 4px ;
@@ -262,10 +273,10 @@ a {
262
273
}
263
274
264
275
# help > div {
265
- background : # 14191f ;
266
- box-shadow : 0px 6px 20px 0px black;
267
- border : none;
268
- border-radius : 4px ;
276
+ background : # 14191f ;
277
+ box-shadow : 0px 6px 20px 0px black;
278
+ border : none;
279
+ border-radius : 4px ;
269
280
}
270
281
271
282
.since {
@@ -288,14 +299,14 @@ pre.rust .question-mark {
288
299
color : # ff9011 ;
289
300
}
290
301
pre .rust .self {
291
- color : # 36a3d9 ;
292
- font-style : italic;
302
+ color : # 36a3d9 ;
303
+ font-style : italic;
293
304
}
294
305
pre .rust .attribute {
295
- color : # e6e1cf ;
306
+ color : # e6e1cf ;
296
307
}
297
308
pre .rust .attribute .ident , pre .rust .attribute .op {
298
- color : # e6e1cf ;
309
+ color : # e6e1cf ;
299
310
}
300
311
301
312
.example-wrap > pre .line-number {
@@ -304,15 +315,15 @@ pre.rust .attribute .ident, pre.rust .attribute .op {
304
315
}
305
316
306
317
a .test-arrow {
307
- font-size : 100% ;
308
- color : # 788797 ;
309
- border-radius : 4px ;
310
- background-color : rgba (255 , 255 , 255 , 0 );
318
+ font-size : 100% ;
319
+ color : # 788797 ;
320
+ border-radius : 4px ;
321
+ background-color : rgba (255 , 255 , 255 , 0 );
311
322
}
312
323
313
324
a .test-arrow : hover {
314
- background-color : rgba (242 , 151 , 24 , 0.05 );
315
- color : # ffb44c ;
325
+ background-color : rgba (242 , 151 , 24 , 0.05 );
326
+ color : # ffb44c ;
316
327
}
317
328
318
329
.toggle-label {
@@ -377,22 +388,22 @@ pre.ignore:hover, .information:hover + pre.ignore {
377
388
}
378
389
379
390
.tooltip .tooltiptext {
380
- background-color : # 314559 ;
381
- color : # c5c5c5 ;
382
- border : 1px solid # 5c6773 ;
391
+ background-color : # 314559 ;
392
+ color : # c5c5c5 ;
393
+ border : 1px solid # 5c6773 ;
383
394
}
384
395
385
396
.tooltip .tooltiptext ::after {
386
397
border-color : transparent # 314559 transparent transparent;
387
398
}
388
399
389
400
.important-traits-tooltiptext {
390
- background-color : # 314559 ;
391
- border-color : # 5c6773 ;
401
+ background-color : # 314559 ;
402
+ border-color : # 5c6773 ;
392
403
}
393
404
394
405
# titles > div .selected {
395
- background-color : # 141920 !important ;
406
+ background-color : # 141920 !important ;
396
407
border-bottom : 1px solid # ffb44c !important ;
397
408
border-top : none;
398
409
}
@@ -403,7 +414,7 @@ pre.ignore:hover, .information:hover + pre.ignore {
403
414
}
404
415
405
416
# titles > div : hover {
406
- border-bottom : 1px solid rgba (242 , 151 , 24 , 0.3 );
417
+ border-bottom : 1px solid rgba (242 , 151 , 24 , 0.3 );
407
418
}
408
419
409
420
# titles > div > div .count {
@@ -413,12 +424,13 @@ pre.ignore:hover, .information:hover + pre.ignore {
413
424
/* rules that this theme does not need to set, here to satisfy the rule checker */
414
425
/* note that a lot of these are partially set in some way (meaning they are set
415
426
individually rather than as a group) */
416
- /* TODO : these rules should be at the bottom of the file but currently must be
427
+ /* FIXME : these rules should be at the bottom of the file but currently must be
417
428
above the `@media (max-width: 700px)` rules due to a bug in the css checker */
418
429
/* see https://github.com/rust-lang/rust/pull/71237#issuecomment-618170143 */
419
430
.content .highlighted .mod , .content .highlighted .externcrate {}
420
431
.search-input : focus {}
421
- .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 {}
432
+ .content span .attr , .content a .attr , .block a .current .attr , .content span .derive , .content a .derive ,
433
+ .block a .current .derive , .content span .macro , .content a .macro , .block a .current .macro {}
422
434
.content .highlighted .trait {}
423
435
.content span .struct , .content a .struct , .block a .current .struct {}
424
436
# titles > div : hover , # titles > div .selected {}
@@ -433,16 +445,20 @@ pre.rust .lifetime {}
433
445
.content .highlighted .fn , .content .highlighted .method , .content .highlighted .tymethod {}
434
446
h2 , h3 : not (.impl ): not (.method ): not (.type ): not (.tymethod ), h4 : not (.method ): not (.type ): not (.tymethod ) {}
435
447
.content span .enum , .content a .enum , .block a .current .enum {}
436
- .content span .constant , .content a .constant , .block a .current .constant , .content span .static , .content a .static , .block a .current .static {}
448
+ .content span .constant , .content a .constant , .block a .current .constant , .content span .static ,
449
+ .content a .static , .block a .current .static {}
437
450
.content span .keyword , .content a .keyword , .block a .current .keyword {}
438
451
pre .rust .comment {}
439
452
.content .highlighted .enum {}
440
453
.content .highlighted .struct {}
441
454
.content .highlighted .keyword {}
442
455
.content span .traitalias , .content a .traitalias , .block a .current .traitalias {}
443
- .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 {}
456
+ .content span .fn , .content a .fn , .block a .current .fn , .content span .method , .content a .method ,
457
+ .block a .current .method , .content span .tymethod , .content a .tymethod , .block a .current .tymethod ,
458
+ .content .fnname {}
444
459
pre .rust .kw {}
445
- pre .rust .self , pre .rust .bool-val , pre .rust .prelude-val , pre .rust .attribute , pre .rust .attribute .ident {}
460
+ pre .rust .self , pre .rust .bool-val , pre .rust .prelude-val , pre .rust .attribute ,
461
+ pre .rust .attribute .ident {}
446
462
.content span .foreigntype , .content a .foreigntype , .block a .current .foreigntype {}
447
463
pre .rust .doccomment {}
448
464
.stab .deprecated {}
@@ -483,11 +499,11 @@ kbd {
483
499
484
500
# theme-picker , # settings-menu {
485
501
border-color : # 5c6773 ;
486
- background-color : # 0f1419 ;
502
+ background-color : # 0f1419 ;
487
503
}
488
504
489
505
# theme-picker > img , # settings-menu > img {
490
- filter : invert (100 );
506
+ filter : invert (100 );
491
507
}
492
508
493
509
# theme-picker : hover , # theme-picker : focus ,
0 commit comments