70
70
/* General structure and fonts */
71
71
72
72
body {
73
- color : # 333 ;
74
73
font : 16 px/1.4 "Source Serif Pro" , Georgia, Times, "Times New Roman" , serif;
75
74
margin : 0 ;
76
75
position : relative;
91
90
font-size : 1.3em ;
92
91
}
93
92
h1 , h2 , h3 : not (.impl ): not (.method ): not (.type ): not (.tymethod ), h4 : not (.method ): not (.type ): not (.tymethod ) {
94
- color : black;
95
93
font-weight : 500 ;
96
94
margin : 20px 0 15px 0 ;
97
95
padding-bottom : 6px ;
98
96
}
99
97
h1 .fqn {
100
- border-bottom : 1px dashed # D5D5D5 ;
98
+ border-bottom : 1px dashed;
101
99
margin-top : 0 ;
102
100
}
103
101
h2 , h3 : not (.impl ): not (.method ): not (.type ): not (.tymethod ), h4 : not (.method ): not (.type ): not (.tymethod ) {
104
- border-bottom : 1px solid # DDDDDD ;
102
+ border-bottom : 1px solid;
105
103
}
106
104
h3 .impl , h3 .method , h4 .method , h3 .type , h4 .type {
107
105
font-weight : 600 ;
@@ -131,15 +129,13 @@ code, pre {
131
129
white-space : pre-wrap;
132
130
}
133
131
.docblock code {
134
- background-color : # F5F5F5 ;
135
132
border-radius : 3px ;
136
133
padding : 0 0.2em ;
137
134
}
138
135
.docblock pre code {
139
136
padding : 0 ;
140
137
}
141
138
pre {
142
- background-color : # F5F5F5 ;
143
139
padding : 14px ;
144
140
}
145
141
@@ -185,9 +181,7 @@ nav.sub {
185
181
.sidebar .location {
186
182
font-size : 17px ;
187
183
margin : 30px 0 20px 0 ;
188
- background : # e1e1e1 ;
189
184
text-align : center;
190
- color : # 333 ;
191
185
}
192
186
193
187
.location a : first-child { font-weight : 500 ; }
@@ -218,10 +212,6 @@ nav.sub {
218
212
transition : border 500ms ease-out;
219
213
}
220
214
221
- .block a : hover {
222
- background : # F5F5F5 ;
223
- }
224
-
225
215
.content {
226
216
padding : 15px 0 ;
227
217
}
@@ -241,24 +231,7 @@ nav.sub {
241
231
-ms-user-select : none;
242
232
user-select : none;
243
233
}
244
- .line-numbers span { color : # c67e2d ; cursor : pointer; }
245
- .line-numbers .line-highlighted {
246
- background-color : # f6fdb0 !important ;
247
- }
248
-
249
- .content .highlighted {
250
- color : # 000 !important ;
251
- background-color : # ccc ;
252
- }
253
- .content .highlighted a , .content .highlighted span { color : # 000 !important ; }
254
- .content .highlighted .trait { background-color : # fece7e ; }
255
- .content .highlighted .mod { background-color : # afc6e4 ; }
256
- .content .highlighted .enum { background-color : # b4d1b9 ; }
257
- .content .highlighted .struct { background-color : # e7b1a0 ; }
258
- .content .highlighted .fn { background-color : # c6afb3 ; }
259
- .content .highlighted .method { background-color : # c6afb3 ; }
260
- .content .highlighted .tymethod { background-color : # c6afb3 ; }
261
- .content .highlighted .type { background-color : # c6afb3 ; }
234
+ .line-numbers span { cursor : pointer; }
262
235
263
236
.docblock .short p {
264
237
display : inline;
@@ -279,7 +252,7 @@ nav.sub {
279
252
.docblock .short code { white-space : nowrap; }
280
253
281
254
.docblock h1 , .docblock h2 , .docblock h3 , .docblock h4 , .docblock h5 {
282
- border-bottom : 1px solid # DDD ;
255
+ border-bottom : 1px solid;
283
256
}
284
257
285
258
.docblock h1 { font-size : 1.3em ; }
@@ -312,24 +285,23 @@ nav.sub {
312
285
.content td h1 , .content td h2 { margin-left : 0 ; font-size : 1.1em ; }
313
286
314
287
.docblock table {
315
- border : 1px solid # ddd ;
288
+ border : 1px solid;
316
289
margin : .5em 0 ;
317
290
border-collapse : collapse;
318
291
width : 100% ;
319
292
}
320
293
321
294
.docblock table td {
322
295
padding : .5em ;
323
- border-top : 1px dashed # ddd ;
324
- border-bottom : 1px dashed # ddd ;
325
-
296
+ border-top : 1px dashed;
297
+ border-bottom : 1px dashed;
326
298
}
327
299
328
300
.docblock table th {
329
301
padding : .5em ;
330
302
text-align : left;
331
- border-top : 1px solid # ddd ;
332
- border-bottom : 1px solid # ddd ;
303
+ border-top : 1px solid;
304
+ border-bottom : 1px solid;
333
305
}
334
306
335
307
.content .item-list {
@@ -368,11 +340,11 @@ nav.sub {
368
340
}
369
341
370
342
.content .stability code {
371
- font-size : 90% ;
343
+ font-size : 90% ;
372
344
}
373
345
374
346
nav {
375
- border-bottom : 1px solid # e0e0e0 ;
347
+ border-bottom : 1px solid;
376
348
padding-bottom : 10px ;
377
349
margin-bottom : 10px ;
378
350
}
@@ -381,11 +353,11 @@ nav.main {
381
353
text-align : center;
382
354
}
383
355
nav .main .current {
384
- border-top : 1px solid # 000 ;
385
- border-bottom : 1px solid # 000 ;
356
+ border-top : 1px solid;
357
+ border-bottom : 1px solid;
386
358
}
387
359
nav .main .separator {
388
- border : 1px solid # 000 ;
360
+ border : 1px solid;
389
361
display : inline-block;
390
362
height : 23px ;
391
363
margin : 0 20px ;
@@ -399,29 +371,17 @@ nav.sub, .content {
399
371
400
372
a {
401
373
text-decoration : none;
402
- color : # 000 ;
403
374
background : transparent;
404
375
}
405
376
406
- .docblock a , .stability a {
407
- color : # 4e8bca ;
408
- }
409
-
410
377
.docblock a : hover , .stability a {
411
378
text-decoration : underline;
412
379
}
413
380
414
- .content span .trait , .content a .trait , .block a .current .trait { color : # 8866ff ; }
415
- .content span .mod , .content a .mod , block a .current .mod { color : # 4d76ae ; }
416
381
.content span .enum , .content a .enum , .block a .current .enum { color : # 5e9766 ; }
417
382
.content span .struct , .content a .struct , .block a .current .struct { color : # e53700 ; }
418
- .content a .primitive { color : # 39a7bf ; }
419
383
.content a .type { color : # e57300 ; }
420
384
.content a .macro { color : # 068000 ; }
421
- .content span .fn , .content a .fn , .block a .current .fn ,
422
- .content span .method , .content a .method , .block a .current .method ,
423
- .content span .tymethod , .content a .tymethod , .block a .current .tymethod ,
424
- .content .fnname { color : # 8c6067 ; }
425
385
.block a .current .crate { font-weight : 500 ; }
426
386
427
387
.search-input {
434
394
outline : none;
435
395
border : none;
436
396
border-radius : 1px ;
437
- color : # 555 ;
438
397
margin-top : 5px ;
439
398
padding : 10px 16px ;
440
399
font-size : 17px ;
441
- box-shadow : 0 0 0 1px # e0e0e0, 0 0 0 2px transparent;
442
400
transition : border-color 300ms ease;
443
401
transition : border-radius 300ms ease-in-out;
444
402
transition : box-shadow 300ms ease-in-out;
@@ -512,8 +470,6 @@ body.blur > :not(#help) {
512
470
padding : 20px ;
513
471
}
514
472
515
- em .stab .unstable { background : # FFF5D6 ; border-color : # FFC600 ; }
516
- em .stab .deprecated { background : # F3DFFF ; border-color : # 7F0087 ; }
517
473
em .stab {
518
474
display : inline-block;
519
475
border-width : 1px ;
@@ -546,7 +502,6 @@ td.summary-column {
546
502
padding-right : 0px ;
547
503
}
548
504
549
- : target { background : # FDFFD3 ; }
550
505
.line-numbers : target { background-color : transparent; }
551
506
552
507
/* Code highlighting */
@@ -555,8 +510,6 @@ pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
555
510
pre .rust .number , pre .rust .string { color : # 718C00 ; }
556
511
pre .rust .self , pre .rust .boolval , pre .rust .prelude-val ,
557
512
pre .rust .attribute , pre .rust .attribute .ident { color : # C82829 ; }
558
- pre .rust .comment { color : # 8E908C ; }
559
- pre .rust .doccomment { color : # 4D4D4C ; }
560
513
pre .rust .macro , pre .rust .macro-nonterminal { color : # 3E999F ; }
561
514
pre .rust .lifetime { color : # B76514 ; }
562
515
@@ -565,9 +518,7 @@ pre.rust { position: relative; }
565
518
a .test-arrow {
566
519
display : inline-block;
567
520
position : absolute;
568
-
569
521
background-color : # 4e8bca ;
570
- color : # f5f5f5 ;
571
522
padding : 5px 10px 5px 10px ;
572
523
border-radius : 5px ;
573
524
font-size : 130% ;
0 commit comments