Rollup merge of - camelid:rustdoc-css-cleanup, r=GuillaumeGomez,jsha

Fix some CSS warnings and errors from VS Code

There's no such CSS rule as `box-shadow-color`, so I instead copied the
whole `box-shadow` property to each rule to make it actually apply.

r? `@jsha`
This commit is contained in:
Matthias Krüger 2022-01-31 06:58:33 +01:00 committed by GitHub
commit 2070b22116
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 7 deletions
src/librustdoc/html/static/css

View file

@ -1502,7 +1502,6 @@ kbd {
vertical-align: middle;
border: solid 1px;
border-radius: 3px;
box-shadow: inset 0 -1px 0;
cursor: default;
}

View file

@ -532,7 +532,7 @@ kbd {
background-color: #314559;
border-color: #5c6773;
border-bottom-color: #5c6773;
box-shadow-color: #c6cbd1;
box-shadow: inset 0 -1px 0 #5c6773;
}
#theme-picker, #settings-menu, #help-button {
@ -631,5 +631,5 @@ input:checked + .slider {
background: #616161;
}
.toggle-line:hover .toggle-line-inner {
background: ##898989;
background: #898989;
}

View file

@ -408,7 +408,7 @@ kbd {
background-color: #fafbfc;
border-color: #d1d5da;
border-bottom-color: #c6cbd1;
box-shadow-color: #c6cbd1;
box-shadow: inset 0 -1px 0 #c6cbd1;
}
#theme-picker, #settings-menu, #help-button {
@ -497,5 +497,5 @@ div.files > .selected {
background: #616161;
}
.toggle-line:hover .toggle-line-inner {
background: ##898989;
background: #898989;
}

View file

@ -44,7 +44,9 @@ pre, .rustdoc.source .example-wrap {
}
.rust-logo {
/* No need for a border in here! */
/* This rule exists to force other themes to explicitly style the logo.
* Rustdoc has a custom linter for this purpose.
*/
}
/* Improve the scrollbar display on webkit-based browsers */
@ -392,7 +394,7 @@ kbd {
background-color: #fafbfc;
border-color: #d1d5da;
border-bottom-color: #c6cbd1;
box-shadow-color: #c6cbd1;
box-shadow: inset 0 -1px 0 #c6cbd1;
}
#theme-picker, #settings-menu, #help-button {