@@ -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;
@@ -609,10 +619,12 @@ nav.sub {
609
619
.content .out-of-band {
610
620
flex-grow : 0 ;
611
621
text-align : right;
612
- font-size : 1.4375rem ;
613
- margin : 0px ;
622
+ margin-left : auto;
623
+ margin-right : 0 ;
624
+ font-size : 1.15rem ;
614
625
padding : 0 0 0 12px ;
615
626
font-weight : normal;
627
+ float : right;
616
628
}
617
629
618
630
.method > .code-header , .trait-impl > .code-header , .invisible > .code-header {
@@ -1082,7 +1094,7 @@ body.blur > :not(#help) {
1082
1094
font-size : initial;
1083
1095
}
1084
1096
1085
- .impl-items . since , . impl . since , . methods . since {
1097
+ .rightside {
1086
1098
padding-left : 12px ;
1087
1099
padding-right : 2px ;
1088
1100
position : initial;
@@ -1160,10 +1172,6 @@ a.test-arrow:hover{
1160
1172
font-weight : 300 ;
1161
1173
}
1162
1174
1163
- .since + .srclink {
1164
- padding-left : 10px ;
1165
- }
1166
-
1167
1175
.item-spacer {
1168
1176
width : 100% ;
1169
1177
height : 12px ;
0 commit comments