File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ r##"<!DOCTYPE html>
54
54
{favicon}
55
55
{in_header}
56
56
</head>
57
- <body class="rustdoc">
57
+ <body class="rustdoc {css_class} ">
58
58
<!--[if lte IE 8]>
59
59
<div class="warning">
60
60
This old browser is unsupported and will most likely display funky
@@ -80,7 +80,7 @@ r##"<!DOCTYPE html>
80
80
</form>
81
81
</nav>
82
82
83
- <section id='main' class="content {css_class} ">{content}</section>
83
+ <section id='main' class="content">{content}</section>
84
84
<section id='search' class="content hidden"></section>
85
85
86
86
<section class="footer"></section>
Original file line number Diff line number Diff line change @@ -141,15 +141,15 @@ pre {
141
141
padding : 14px ;
142
142
}
143
143
144
- .source pre {
144
+ .source . content pre {
145
145
padding : 20px ;
146
146
}
147
147
148
148
img {
149
149
max-width : 100% ;
150
150
}
151
151
152
- .content . source {
152
+ .source . content {
153
153
margin-top : 50px ;
154
154
max-width : none;
155
155
overflow : visible;
@@ -231,7 +231,7 @@ nav.sub {
231
231
padding : 15px 0 ;
232
232
}
233
233
234
- .content . source pre .rust {
234
+ .source . content pre .rust {
235
235
white-space : pre;
236
236
overflow : auto;
237
237
padding-left : 0 ;
Original file line number Diff line number Diff line change 53
53
background-color : # fff ;
54
54
}
55
55
56
+ .source .sidebar {
57
+ background-color : # fff ;
58
+ }
59
+
56
60
.sidebar .location {
57
61
border-color : # 000 ;
58
62
background-color : # fff ;
@@ -187,4 +191,4 @@ a.test-arrow:hover{
187
191
188
192
: target > code {
189
193
background : # FDFFD3 ;
190
- }
194
+ }
You can’t perform that action at this time.
0 commit comments