File tree 2 files changed +20
-2
lines changed
src/librustdoc/html/static
2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,11 @@ nav.sub {
167
167
position : absolute;
168
168
left : 0 ;
169
169
top : 0 ;
170
- min-height : 100% ;
170
+ min-height : 100vh ;
171
+ }
172
+
173
+ .sidebar .current {
174
+ margin-right : -20px ;
171
175
}
172
176
173
177
.content , nav { max-width : 960px ; }
@@ -185,11 +189,16 @@ nav.sub {
185
189
}
186
190
187
191
.sidebar .location {
192
+ border : 1px solid;
188
193
font-size : 17px ;
189
194
margin : 30px 0 20px 0 ;
190
195
text-align : center;
191
196
}
192
197
198
+ .location : empty {
199
+ border : none;
200
+ }
201
+
193
202
.location a : first-child { font-weight : 500 ; }
194
203
195
204
.block {
Original file line number Diff line number Diff line change 37
37
background-color : # F5F5F5 ;
38
38
}
39
39
40
+ .sidebar {
41
+ background-color : # F1F1F1 ;
42
+ }
43
+
44
+ .sidebar .current {
45
+ background-color : # fff ;
46
+ }
47
+
40
48
.sidebar .location {
41
- background : # e1e1e1 ;
49
+ border-color : # 000 ;
50
+ background-color : # fff ;
42
51
color : # 333 ;
43
52
}
44
53
You can’t perform that action at this time.
0 commit comments