Skip to content

Commit

Permalink
Rollup merge of #122087 - GuillaumeGomez:fix-rust-index-page, r=notri…
Browse files Browse the repository at this point in the history
…ddle

Add missing background color for top-level rust documentation page and increase contrast by setting text color to black

Fixes #121954.

r? ``@notriddle``
  • Loading branch information
GuillaumeGomez committed Mar 7, 2024
2 parents 2e3bde2 + b69607c commit 3257e86
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 3257e86

Please sign in to comment.