File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
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 45
45
background-color : # fff ;
46
46
}
47
47
48
+ .source .sidebar {
49
+ background-color : # fff ;
50
+ }
51
+
48
52
.sidebar .location {
49
53
border-color : # 000 ;
50
54
background-color : # fff ;
You can’t perform that action at this time.
0 commit comments