7
7
font-style : normal ;
8
8
font-weight : 400 ;
9
9
src :
10
- local (' Fira Sans' ),
11
- url (" FiraSans-Regular.woff2" ) format (' woff2' ),
12
- url (" FiraSans-Regular.woff" ) format (' woff' );
10
+ local (' Fira Sans' ),
11
+ url (" FiraSans-Regular.woff2" ) format (' woff2' ),
12
+ url (" FiraSans-Regular.woff" ) format (' woff' );
13
13
}
14
-
15
14
@font-face {
16
15
font-family : ' Fira Sans' ;
17
16
font-style : normal ;
18
17
font-weight : 500 ;
19
18
src :
20
- local (' Fira Sans Medium' ),
21
- url (" FiraSans-Medium.woff2" ) format (' woff2' ),
22
- url (" FiraSans-Medium.woff" ) format (' woff' );
19
+ local (' Fira Sans Medium' ),
20
+ url (" FiraSans-Medium.woff2" ) format (' woff2' ),
21
+ url (" FiraSans-Medium.woff" ) format (' woff' );
23
22
}
24
23
25
24
/* See SourceSerif4-LICENSE.md for the Source Serif 4 license. */
28
27
font-style : normal ;
29
28
font-weight : 400 ;
30
29
src :
31
- local (' Source Serif 4' ),
32
- url (" SourceSerif4-Regular.ttf.woff2" ) format (' woff2' ),
33
- url (" SourceSerif4-Regular.ttf.woff" ) format (' woff' );
30
+ local (' Source Serif 4' ),
31
+ url (" SourceSerif4-Regular.ttf.woff2" ) format (' woff2' ),
32
+ url (" SourceSerif4-Regular.ttf.woff" ) format (' woff' );
34
33
}
35
-
36
34
@font-face {
37
35
font-family : ' Source Serif' ;
38
36
font-style : italic ;
39
37
font-weight : 400 ;
40
38
src :
41
- local (' Source Serif 4' ),
42
- url (" SourceSerif4-It.ttf.woff2" ) format (' woff2' ),
43
- url (" SourceSerif4-It.ttf.woff" ) format (' woff' );
39
+ local (' Source Serif 4' ),
40
+ url (" SourceSerif4-It.ttf.woff2" ) format (' woff2' ),
41
+ url (" SourceSerif4-It.ttf.woff" ) format (' woff' );
44
42
}
45
-
46
43
@font-face {
47
44
font-family : ' Source Serif' ;
48
45
font-style : normal ;
49
46
font-weight : 700 ;
50
47
src :
51
- local (' Source Serif 4' ),
52
- url (" SourceSerif4-Bold.ttf.woff2" ) format (' woff2' ),
53
- url (" SourceSerif4-Bold.ttf.woff" ) format (' woff' );
48
+ local (' Source Serif 4' ),
49
+ url (" SourceSerif4-Bold.ttf.woff2" ) format (' woff2' ),
50
+ url (" SourceSerif4-Bold.ttf.woff" ) format (' woff' );
54
51
}
55
52
56
53
/* See SourceCodePro-LICENSE.md for the Source Code Pro license. */
61
58
/* Avoid using locally installed font because bad versions are in circulation:
62
59
* see https://github.com/rust-lang/rust/issues/24355 */
63
60
src :
64
- url (" SourceCodePro-Regular.ttf.woff2" ) format (' woff2' ),
65
- url (" SourceCodePro-Regular.ttf.woff" ) format (' woff' );
61
+ url (" SourceCodePro-Regular.ttf.woff2" ) format (' woff2' ),
62
+ url (" SourceCodePro-Regular.ttf.woff" ) format (' woff' );
66
63
}
67
-
68
64
@font-face {
69
65
font-family : ' Source Code Pro' ;
70
66
font-style : normal ;
71
67
font-weight : 600 ;
72
68
src :
73
- url (" SourceCodePro-Semibold.ttf.woff2" ) format (' woff2' ),
74
- url (" SourceCodePro-Semibold.ttf.woff" ) format (' woff' );
69
+ url (" SourceCodePro-Semibold.ttf.woff2" ) format (' woff2' ),
70
+ url (" SourceCodePro-Semibold.ttf.woff" ) format (' woff' );
75
71
}
76
-
77
72
@font-face {
78
73
font-family : ' Source Code Pro' ;
79
74
font-style : italic ;
80
75
font-weight : 400 ;
81
76
src :
82
- url (" SourceCodePro-It.ttf.woff2" ) format (' woff2' ),
83
- url (" SourceCodePro-It.ttf.woff" ) format (' woff' );
77
+ url (" SourceCodePro-It.ttf.woff2" ) format (' woff2' ),
78
+ url (" SourceCodePro-It.ttf.woff" ) format (' woff' );
84
79
}
85
80
86
81
html ,
@@ -107,8 +102,7 @@ body {
107
102
padding : 0 ;
108
103
margin : 0 ;
109
104
position : relative ;
110
- min-height : 100vh ;
111
- /* Tall enough to stick the footer to the bottom */
105
+ min-height : 100vh ; /* Tall enough to stick the footer to the bottom */
112
106
113
107
* {
114
108
-webkit-box-sizing : border-box ;
@@ -119,55 +113,37 @@ body {
119
113
h1 {
120
114
font-size : 1.5em ;
121
115
}
122
-
123
116
h3 {
124
117
font-size : 1.3em ;
125
118
}
126
-
127
- h1 ,
128
- h2 ,
129
- h3 ,
130
- h4 {
131
- font-family : " Fira Sans" , sans-serif ;
119
+ h1 , h2 , h3 , h4 {
120
+ font-family : " Fira Sans" ,sans-serif ;
132
121
font-weight : 500 ;
133
122
margin : 20px 0 15px 0 ;
134
123
padding-bottom : 6px ;
135
124
}
136
-
137
- h2 ,
138
- h3 ,
139
- h4 {
125
+ h2 , h3 , h4 {
140
126
border-bottom : 1px solid ;
141
127
}
142
-
143
128
pre {
144
129
background-color : var (--color-background-code );
145
130
padding : 14px ;
146
131
}
147
-
148
- code ,
149
- kbd ,
150
- pre ,
151
- samp {
152
- font-family : " Source Code Pro" , monospace ;
132
+ code , kbd , pre , samp {
133
+ font-family : " Source Code Pro" ,monospace ;
153
134
}
154
-
155
135
a {
156
136
text-decoration : none ;
157
137
background : transparent ;
158
138
}
159
-
160
139
p {
161
140
margin : 0 0 .6em 0 ;
162
141
}
163
-
164
- ol ,
165
- ul {
142
+ ol , ul {
166
143
padding-left : 25px ;
167
144
}
168
145
169
- input ,
170
- #search {
146
+ input , #search {
171
147
background-color : var (--color-background-input );
172
148
color : var (--input-color );
173
149
line-height : normal ;
@@ -201,7 +177,7 @@ body {
201
177
background-color : var (--color-background );
202
178
color : var (--color-standard );
203
179
204
- >h1 {
180
+ > h1 {
205
181
color : var (--color-standard );
206
182
}
207
183
@@ -210,16 +186,15 @@ body {
210
186
fill : var (--color-background );
211
187
}
212
188
213
- text .highcharts-title ,
214
- g .highcharts-axis-labels >text {
189
+ text .highcharts-title , g .highcharts-axis-labels > text {
215
190
fill : var (--chart-title-color ) !important ;
216
191
}
217
192
218
- g .highcharts-legend-item > text {
193
+ g .highcharts-legend-item > text {
219
194
fill : var (--chart-grid ) !important ;
220
195
}
221
196
222
- g .highcharts-grid > path {
197
+ g .highcharts-grid > path {
223
198
stroke : var (--chart-grid ) !important ;
224
199
}
225
200
}
@@ -287,16 +262,15 @@ div.recent-releases-container {
287
262
padding : 0 ;
288
263
}
289
264
290
- ol .queue-list li ,
291
- ol .rebuild-queue-list li {
265
+ ol .queue-list li , ol .rebuild-queue-list li {
292
266
list-style-type : decimal ;
293
267
margin-left : 20px ;
294
268
295
269
a {
296
270
color : var (--color-url );
297
271
}
298
272
}
299
-
273
+
300
274
.about p {
301
275
margin-left : 20px ;
302
276
}
@@ -310,8 +284,7 @@ div.recent-releases-container {
310
284
background-color : var (--background-color );
311
285
}
312
286
313
- .release ,
314
- .build-in-progress {
287
+ .release , .build-in-progress {
315
288
display : block ;
316
289
border-bottom : 1px solid var (--color-border );
317
290
padding : 0.4em $search-result-right-left-padding ;
@@ -369,7 +342,6 @@ div.recent-releases-container {
369
342
span .fa-check {
370
343
color : var (--color-macro );
371
344
}
372
-
373
345
span .fa-times {
374
346
color : var (--color-struct );
375
347
}
@@ -416,10 +388,10 @@ div.recent-releases-container {
416
388
}
417
389
418
390
.yanked {
419
- color : var (--color-warn-msg );
420
- background-color : var (--color-warn-background );
421
- padding : .2em .8em .2em .5em ;
422
- border-radius : 1em ;
391
+ color : var (--color-warn-msg );
392
+ background-color : var (--color-warn-background );
393
+ padding : .2em .8em .2em .5em ;
394
+ border-radius : 1em ;
423
395
}
424
396
}
425
397
@@ -431,7 +403,6 @@ div.package-container {
431
403
margin : 0 ;
432
404
padding : 20px 0 0 16px ;
433
405
}
434
-
435
406
p {
436
407
margin : 0 ;
437
408
padding : 0 0 20px 16px ;
@@ -502,7 +473,7 @@ div.package-page-container {
502
473
margin : 20px 5px 15px 5px ;
503
474
}
504
475
505
- li .pure-menu-item > .documented-info {
476
+ li .pure-menu-item > .documented-info {
506
477
font-size : 13px ;
507
478
display : block ;
508
479
width : 100% ;
@@ -608,7 +579,7 @@ div.package-page-container {
608
579
border-bottom : 1px solid var (--color-menu-border );
609
580
}
610
581
611
- tbody > tr :last-child > td {
582
+ tbody > tr :last-child > td {
612
583
border-bottom-width : 0 ;
613
584
}
614
585
@@ -730,7 +701,7 @@ div.docsrs-package-container {
730
701
border-radius : 2px ;
731
702
}
732
703
733
- .pure-menu-has-children > .pure-menu-link :after {
704
+ .pure-menu-has-children > .pure-menu-link :after {
734
705
font-size : 14px ;
735
706
}
736
707
@@ -807,12 +778,7 @@ div.search-page-search-form {
807
778
background-color : inherit ;
808
779
}
809
780
810
- h1 ,
811
- h2 ,
812
- h3 ,
813
- h4 ,
814
- h5 ,
815
- h6 {
781
+ h1 , h2 , h3 , h4 , h5 , h6 {
816
782
border-bottom-color : var (--color-border ) !important ;
817
783
color : var (--color-standard ) !important ;
818
784
}
@@ -827,8 +793,8 @@ div.search-page-search-form {
827
793
}
828
794
829
795
/* Don't put a newline after code fragments in headers */
830
- h3 > code ,
831
- h4 > code {
796
+ h3 > code ,
797
+ h4 > code {
832
798
display : inline-block ;
833
799
}
834
800
@@ -911,17 +877,13 @@ ul.pure-menu-list {
911
877
max-width : 46px ;
912
878
913
879
ul {
914
-
915
- li :not (.toggle-source ),
916
- .text {
880
+ li :not (.toggle-source ), .text {
917
881
display : none ;
918
882
}
919
-
920
883
li .toggle-source {
921
884
.left {
922
885
display : none ;
923
886
}
924
-
925
887
.right {
926
888
display : inline-block ;
927
889
margin-left : -4px ;
@@ -939,16 +901,13 @@ ul.pure-menu-list {
939
901
display : inline-flex ;
940
902
overflow : scroll ;
941
903
}
942
-
943
904
#line-numbers {
944
905
text-align : right ;
945
906
letter-spacing : normal ;
946
907
}
947
-
948
- #line-numbers >code >a {
908
+ #line-numbers > code > a {
949
909
padding : 0 8px ;
950
910
}
951
-
952
911
// This class is used to the source code and the line number container in the
953
912
// `crate/**/source/*` view
954
913
.source-code {
@@ -966,7 +925,6 @@ ul.pure-menu-list {
966
925
width : calc (100% - 46px );
967
926
}
968
927
}
969
-
970
928
#source-code {
971
929
overflow : scroll ;
972
930
width : 100% ;
0 commit comments