13
13
font-family : 'Fira Sans' ;
14
14
font-style : normal;
15
15
font-weight : 400 ;
16
- src : local ('Fira Sans' ), url ("http://rust-lang.org/fonts/FiraSans-Regular.woff" ) format ('woff' );
16
+ src : local ('Fira Sans' ), url ("http://www. rust-lang.org/fonts/FiraSans-Regular.woff" ) format ('woff' );
17
17
}
18
18
@font-face {
19
19
font-family : 'Fira Sans' ;
20
20
font-style : normal;
21
21
font-weight : 500 ;
22
- src : local ('Fira Sans Medium' ), url ("http://rust-lang.org/fonts/FiraSans-Medium.woff" ) format ('woff' );
22
+ src : local ('Fira Sans Medium' ), url ("http://www. rust-lang.org/fonts/FiraSans-Medium.woff" ) format ('woff' );
23
23
}
24
24
@font-face {
25
25
font-family : 'Heuristica' ;
26
26
font-style : normal;
27
27
font-weight : 400 ;
28
- src : local ('Heuristica Regular' ), url ("http://rust-lang.org/fonts/Heuristica-Regular.woff" ) format ('woff' );
28
+ src : local ('Heuristica Regular' ), url ("http://www. rust-lang.org/fonts/Heuristica-Regular.woff" ) format ('woff' );
29
29
}
30
30
@font-face {
31
31
font-family : 'Heuristica' ;
32
32
font-style : italic;
33
33
font-weight : 400 ;
34
- src : local ('Heuristica Italic' ), url ("http://rust-lang.org/fonts/Heuristica-Italic.woff" ) format ('woff' );
34
+ src : local ('Heuristica Italic' ), url ("http://www. rust-lang.org/fonts/Heuristica-Italic.woff" ) format ('woff' );
35
35
}
36
36
@font-face {
37
37
font-family : 'Heuristica' ;
38
38
font-style : normal;
39
39
font-weight : 700 ;
40
- src : local ('Heuristica Bold' ), url ("http://rust-lang.org/fonts/Heuristica-Bold.woff" ) format ('woff' );
40
+ src : local ('Heuristica Bold' ), url ("http://www. rust-lang.org/fonts/Heuristica-Bold.woff" ) format ('woff' );
41
41
}
42
42
43
43
@import "normalize.css" ;
@@ -58,39 +58,46 @@ body {
58
58
margin : 0 ;
59
59
position : relative;
60
60
padding : 10px 15px 20px 15px ;
61
- padding-bottom : 20px ;
62
61
}
63
62
64
- h1 , h2 , h3 , h4 {
63
+ h1 , h2 , h3 : not (. impl ) , h4 : not (. method ) {
65
64
color : black;
66
65
font-weight : 500 ;
67
66
margin : 30px 0 20px 0 ;
68
- padding-bottom : 15 px ;
67
+ padding-bottom : 6 px ;
69
68
}
70
69
h1 .fqn {
71
70
border-bottom : 1px dashed # D5D5D5 ;
72
71
margin-top : 0 ;
73
72
}
74
- h2 , h3 , h4 {
73
+ h2 , h3 : not (. impl ) , h4 : not (. method ) {
75
74
border-bottom : 1px solid # DDDDDD ;
76
75
}
77
- h2 code , h3 code , h4 code , .block a {
78
- font-size : 1.2em ;
76
+ h3 .impl , h4 .method {
77
+ font-weight : 600 ;
78
+ margin-top : 10px ;
79
+ margin-bottom : 10px ;
80
+ }
81
+ h3 .impl {
82
+ margin-top : 15px ;
79
83
}
80
- h1 , h2 , h3 , h4 , section .sidebar , a .source , .content a , .search-input {
84
+ h1 , h2 , h3 , h4 , section .sidebar , a .source , .content a . mod , .search-input {
81
85
font-family : "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
82
86
}
83
87
84
- ul {
88
+ ol , ul {
85
89
padding-left : 25px ;
86
90
}
91
+ ul ul , ol ul , ul ol , ol ol {
92
+ margin-bottom : 0 ;
93
+ }
87
94
88
95
p {
89
96
margin : 0 0 1em 0 ;
90
97
}
91
98
92
99
code , pre {
93
- font-family : Menlo, Monaco, Consolas, Inconsolata , "DejaVu Sans Mono" , monospace;
100
+ font-family : "Source Code Pro" , Menlo, Monaco, Consolas, "DejaVu Sans Mono" , Inconsolata , monospace;
94
101
}
95
102
pre {
96
103
font-size : 15px ;
@@ -194,9 +201,8 @@ nav.sub {
194
201
}
195
202
196
203
.docblock h1 , .docblock h2 , .docblock h3 , .docblock h4 , .docblock h5 {
197
- margin-left : 0 ;
198
204
margin : 40px 0 10px 0 ;
199
- padding-bottom : 10px ;
205
+ padding : 10px 0 ;
200
206
border-bottom : 1px solid # DDD ;
201
207
}
202
208
@@ -384,7 +390,7 @@ h3.section-link:hover a:after,
384
390
h4 .section-link : hover a : after ,
385
391
h5 .section-link : hover a : after ,
386
392
h6 .section-link : hover a : after {
387
- content : ' § ' ;
393
+ content : '\2002\00a7\2002 ' ;
388
394
}
389
395
390
396
/** Media Queries **/
0 commit comments