Rollup merge of #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 #121954.

r? ``@notriddle``
This commit is contained in:
Guillaume Gomez 2024-03-07 18:32:48 +01:00 committed by GitHub
commit 3257e86213
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {
@ -39,7 +40,6 @@ h4, h5, h6 {
padding: 5px 10px;
}
h5, h6 {
color: black;
text-decoration: underline;
}