@@ -137,17 +137,25 @@ h1, h2, h3, h4 {
137
137
margin : 15px 0 5px 0 ;
138
138
}
139
139
h1 .fqn {
140
+ margin : 0 ;
141
+ padding : 0 ;
142
+ }
143
+ .main-heading {
140
144
display : flex;
141
- border-bottom : 1px dashed;
142
- margin-top : 0 ;
145
+ border-bottom : 1px dashed # DDDDDD ;
146
+ padding-bottom : 6px ;
147
+ margin-bottom : 15px ;
143
148
144
149
/* workaround to keep flex from breaking below 700 px width due to the float: right on the nav
145
150
above the h1 */
146
151
padding-left : 1px ;
147
152
}
148
- h1 . fqn > . in-band > a : hover {
153
+ . main-heading a : hover {
149
154
text-decoration : underline;
150
155
}
156
+ # toggle-all-docs {
157
+ text-decoration : none;
158
+ }
151
159
/* The only headings that get underlines are:
152
160
Markdown-generated headings within the top-doc
153
161
Rustdoc-generated h2 section headings (e.g. "Implementations", "Required Methods", etc)
@@ -195,11 +203,13 @@ h1, h2, h3, h4, h5, h6,
195
203
.sidebar , a .source , .search-input , .search-results .result-name ,
196
204
.content table td : first-child > a ,
197
205
.item-left > a ,
198
- div .item-list .out-of-band , span .since ,
206
+ .out-of-band ,
207
+ span .since ,
199
208
# source-sidebar , # sidebar-toggle ,
200
209
details .rustdoc-toggle > summary ::before ,
201
210
div .impl-items > div : not (.docblock ): not (.item-info ),
202
- .content ul .crate a .crate , a .srclink ,
211
+ .content ul .crate a .crate ,
212
+ a .srclink ,
203
213
/* This selector is for the items listed in the "all items" page. */
204
214
# main-content > ul .docblock > li > a {
205
215
font-family : "Fira Sans" , Arial, NanumBarunGothic, sans-serif;
@@ -605,10 +615,12 @@ nav.sub {
605
615
.content .out-of-band {
606
616
flex-grow : 0 ;
607
617
text-align : right;
608
- font-size : 1.4375rem ;
609
- margin : 0px ;
618
+ margin-left : auto;
619
+ margin-right : 0 ;
620
+ font-size : 1.15rem ;
610
621
padding : 0 0 0 12px ;
611
622
font-weight : normal;
623
+ float : right;
612
624
}
613
625
614
626
.method > .code-header , .trait-impl > .code-header , .invisible > .code-header {
@@ -1072,7 +1084,7 @@ body.blur > :not(#help) {
1072
1084
font-size : initial;
1073
1085
}
1074
1086
1075
- .impl-items . since , . impl . since , . methods . since {
1087
+ .rightside {
1076
1088
padding-left : 12px ;
1077
1089
padding-right : 2px ;
1078
1090
position : initial;
@@ -1144,10 +1156,6 @@ a.test-arrow:hover{
1144
1156
font-weight : 300 ;
1145
1157
}
1146
1158
1147
- .since + .srclink {
1148
- padding-left : 10px ;
1149
- }
1150
-
1151
1159
.item-spacer {
1152
1160
width : 100% ;
1153
1161
height : 12px ;
0 commit comments