Skip to content

Commit

Permalink
Unrolled build for rust-lang#122087
Browse files Browse the repository at this point in the history
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``
  • Loading branch information
rust-timer authored Mar 8, 2024
2 parents 9c3ad80 + b69607c commit 395ac03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/rust.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ body {
margin: 0 auto;
padding: 0 15px;
font-size: 18px;
color: #333;
color: #000;
line-height: 1.428571429;

-webkit-box-sizing: unset;
-moz-box-sizing: unset;
box-sizing: unset;
background: #fff;
}
@media (min-width: 768px) {
body {
Expand Down Expand Up @@ -39,7 +40,6 @@ h4, h5, h6 {
padding: 5px 10px;
}
h5, h6 {
color: black;
text-decoration: underline;
}

Expand Down

0 comments on commit 395ac03

Please sign in to comment.