1313 font-family : 'Fira Sans' ;
1414 font-style : normal;
1515 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' );
1717}
1818@font-face {
1919 font-family : 'Fira Sans' ;
2020 font-style : normal;
2121 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' );
2323}
2424@font-face {
2525 font-family : 'Heuristica' ;
2626 font-style : normal;
2727 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' );
2929}
3030@font-face {
3131 font-family : 'Heuristica' ;
3232 font-style : italic;
3333 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' );
3535}
3636@font-face {
3737 font-family : 'Heuristica' ;
3838 font-style : normal;
3939 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' );
4141}
4242
4343@import "normalize.css" ;
@@ -58,39 +58,46 @@ body {
5858 margin : 0 ;
5959 position : relative;
6060 padding : 10px 15px 20px 15px ;
61- padding-bottom : 20px ;
6261}
6362
64- h1 , h2 , h3 , h4 {
63+ h1 , h2 , h3 : not (. impl ) , h4 : not (. method ) {
6564 color : black;
6665 font-weight : 500 ;
6766 margin : 30px 0 20px 0 ;
68- padding-bottom : 15 px ;
67+ padding-bottom : 6 px ;
6968}
7069h1 .fqn {
7170 border-bottom : 1px dashed # D5D5D5 ;
7271 margin-top : 0 ;
7372}
74- h2 , h3 , h4 {
73+ h2 , h3 : not (. impl ) , h4 : not (. method ) {
7574 border-bottom : 1px solid # DDDDDD ;
7675}
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 ;
7983}
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 {
8185 font-family : "Fira Sans" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
8286}
8387
84- ul {
88+ ol , ul {
8589 padding-left : 25px ;
8690}
91+ ul ul , ol ul , ul ol , ol ol {
92+ margin-bottom : 0 ;
93+ }
8794
8895p {
8996 margin : 0 0 1em 0 ;
9097}
9198
9299code , 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;
94101}
95102pre {
96103 font-size : 15px ;
@@ -194,9 +201,8 @@ nav.sub {
194201}
195202
196203.docblock h1 , .docblock h2 , .docblock h3 , .docblock h4 , .docblock h5 {
197- margin-left : 0 ;
198204 margin : 40px 0 10px 0 ;
199- padding-bottom : 10px ;
205+ padding : 10px 0 ;
200206 border-bottom : 1px solid # DDD ;
201207}
202208
@@ -384,7 +390,7 @@ h3.section-link:hover a:after,
384390h4 .section-link : hover a : after ,
385391h5 .section-link : hover a : after ,
386392h6 .section-link : hover a : after {
387- content : ' § ' ;
393+ content : '\2002\00a7\2002 ' ;
388394}
389395
390396/** Media Queries **/
0 commit comments