Skip to content

Commit

Permalink
Rollup merge of rust-lang#122087 - GuillaumeGomez:fix-rust-index-page…
Browse files Browse the repository at this point in the history
…, 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
workingjubilee authored Mar 7, 2024
2 parents ef8b1df + b69607c commit 3e865a9
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 3e865a9

Please sign in to comment.