Skip to content

Commit 395ac03

Browse files
authored
Unrolled build for rust-lang#122087
Rollup merge of rust-lang#122087 - GuillaumeGomez:fix-rust-index-page, r=notriddle Add missing background color for top-level rust documentation page and increase contrast by setting text color to black Fixes rust-lang#121954. r? ``@notriddle``
2 parents 9c3ad80 + b69607c commit 395ac03

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)