Skip to content

Commit b69607c

Browse files
Add missing background color for top-level rust documentation page and increase contrast by setting text color to black
1 parent 09bc67b commit b69607c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/rust.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ body {
55
margin: 0 auto;
66
padding: 0 15px;
77
font-size: 18px;
8-
color: #333;
8+
color: #000;
99
line-height: 1.428571429;
1010

1111
-webkit-box-sizing: unset;
1212
-moz-box-sizing: unset;
1313
box-sizing: unset;
14+
background: #fff;
1415
}
1516
@media (min-width: 768px) {
1617
body {
@@ -39,7 +40,6 @@ h4, h5, h6 {
3940
padding: 5px 10px;
4041
}
4142
h5, h6 {
42-
color: black;
4343
text-decoration: underline;
4444
}
4545

0 commit comments

Comments
 (0)