7070/* General structure and fonts */
7171
7272body {
73- color : # 333 ;
7473 font : 16 px/1.4 "Source Serif Pro" , Georgia, Times, "Times New Roman" , serif;
7574 margin : 0 ;
7675 position : relative;
9190 font-size : 1.3em ;
9291}
9392h1 , h2 , h3 : not (.impl ): not (.method ): not (.type ): not (.tymethod ), h4 : not (.method ): not (.type ): not (.tymethod ) {
94- color : black;
9593 font-weight : 500 ;
9694 margin : 20px 0 15px 0 ;
9795 padding-bottom : 6px ;
9896}
9997h1 .fqn {
100- border-bottom : 1px dashed # D5D5D5 ;
98+ border-bottom : 1px dashed;
10199 margin-top : 0 ;
102100}
103101h2 , 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;
105103}
106104h3 .impl , h3 .method , h4 .method , h3 .type , h4 .type {
107105 font-weight : 600 ;
@@ -131,15 +129,13 @@ code, pre {
131129 white-space : pre-wrap;
132130}
133131.docblock code {
134- background-color : # F5F5F5 ;
135132 border-radius : 3px ;
136133 padding : 0 0.2em ;
137134}
138135.docblock pre code {
139136 padding : 0 ;
140137}
141138pre {
142- background-color : # F5F5F5 ;
143139 padding : 14px ;
144140}
145141
@@ -185,9 +181,7 @@ nav.sub {
185181.sidebar .location {
186182 font-size : 17px ;
187183 margin : 30px 0 20px 0 ;
188- background : # e1e1e1 ;
189184 text-align : center;
190- color : # 333 ;
191185}
192186
193187.location a : first-child { font-weight : 500 ; }
@@ -218,10 +212,6 @@ nav.sub {
218212 transition : border 500ms ease-out;
219213}
220214
221- .block a : hover {
222- background : # F5F5F5 ;
223- }
224-
225215.content {
226216 padding : 15px 0 ;
227217}
@@ -241,24 +231,7 @@ nav.sub {
241231 -ms-user-select : none;
242232 user-select : none;
243233}
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; }
262235
263236.docblock .short p {
264237 display : inline;
@@ -279,7 +252,7 @@ nav.sub {
279252.docblock .short code { white-space : nowrap; }
280253
281254.docblock h1 , .docblock h2 , .docblock h3 , .docblock h4 , .docblock h5 {
282- border-bottom : 1px solid # DDD ;
255+ border-bottom : 1px solid;
283256}
284257
285258.docblock h1 { font-size : 1.3em ; }
@@ -312,24 +285,23 @@ nav.sub {
312285.content td h1 , .content td h2 { margin-left : 0 ; font-size : 1.1em ; }
313286
314287.docblock table {
315- border : 1px solid # ddd ;
288+ border : 1px solid;
316289 margin : .5em 0 ;
317290 border-collapse : collapse;
318291 width : 100% ;
319292}
320293
321294.docblock table td {
322295 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;
326298}
327299
328300.docblock table th {
329301 padding : .5em ;
330302 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;
333305}
334306
335307.content .item-list {
@@ -368,11 +340,11 @@ nav.sub {
368340}
369341
370342.content .stability code {
371- font-size : 90% ;
343+ font-size : 90% ;
372344}
373345
374346nav {
375- border-bottom : 1px solid # e0e0e0 ;
347+ border-bottom : 1px solid;
376348 padding-bottom : 10px ;
377349 margin-bottom : 10px ;
378350}
@@ -381,11 +353,11 @@ nav.main {
381353 text-align : center;
382354}
383355nav .main .current {
384- border-top : 1px solid # 000 ;
385- border-bottom : 1px solid # 000 ;
356+ border-top : 1px solid;
357+ border-bottom : 1px solid;
386358}
387359nav .main .separator {
388- border : 1px solid # 000 ;
360+ border : 1px solid;
389361 display : inline-block;
390362 height : 23px ;
391363 margin : 0 20px ;
@@ -399,29 +371,17 @@ nav.sub, .content {
399371
400372a {
401373 text-decoration : none;
402- color : # 000 ;
403374 background : transparent;
404375}
405376
406- .docblock a , .stability a {
407- color : # 4e8bca ;
408- }
409-
410377.docblock a : hover , .stability a {
411378 text-decoration : underline;
412379}
413380
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 ; }
416381.content span .enum , .content a .enum , .block a .current .enum { color : # 5e9766 ; }
417382.content span .struct , .content a .struct , .block a .current .struct { color : # e53700 ; }
418- .content a .primitive { color : # 39a7bf ; }
419383.content a .type { color : # e57300 ; }
420384.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 ; }
425385.block a .current .crate { font-weight : 500 ; }
426386
427387.search-input {
434394 outline : none;
435395 border : none;
436396 border-radius : 1px ;
437- color : # 555 ;
438397 margin-top : 5px ;
439398 padding : 10px 16px ;
440399 font-size : 17px ;
441- box-shadow : 0 0 0 1px # e0e0e0, 0 0 0 2px transparent;
442400 transition : border-color 300ms ease;
443401 transition : border-radius 300ms ease-in-out;
444402 transition : box-shadow 300ms ease-in-out;
@@ -512,8 +470,6 @@ body.blur > :not(#help) {
512470 padding : 20px ;
513471}
514472
515- em .stab .unstable { background : # FFF5D6 ; border-color : # FFC600 ; }
516- em .stab .deprecated { background : # F3DFFF ; border-color : # 7F0087 ; }
517473em .stab {
518474 display : inline-block;
519475 border-width : 1px ;
@@ -546,7 +502,6 @@ td.summary-column {
546502 padding-right : 0px ;
547503}
548504
549- : target { background : # FDFFD3 ; }
550505.line-numbers : target { background-color : transparent; }
551506
552507/* Code highlighting */
@@ -555,8 +510,6 @@ pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
555510pre .rust .number , pre .rust .string { color : # 718C00 ; }
556511pre .rust .self , pre .rust .boolval , pre .rust .prelude-val ,
557512pre .rust .attribute , pre .rust .attribute .ident { color : # C82829 ; }
558- pre .rust .comment { color : # 8E908C ; }
559- pre .rust .doccomment { color : # 4D4D4C ; }
560513pre .rust .macro , pre .rust .macro-nonterminal { color : # 3E999F ; }
561514pre .rust .lifetime { color : # B76514 ; }
562515
@@ -565,9 +518,7 @@ pre.rust { position: relative; }
565518a .test-arrow {
566519 display : inline-block;
567520 position : absolute;
568-
569521 background-color : # 4e8bca ;
570- color : # f5f5f5 ;
571522 padding : 5px 10px 5px 10px ;
572523 border-radius : 5px ;
573524 font-size : 130% ;
0 commit comments