Rollup merge of #85470 - GuillaumeGomez:fix-css-rules, r=jsha

Fix invalid CSS rules for a:hover

When hovering some links:

![Screenshot from 2021-05-19 15-00-31](https://user-images.githubusercontent.com/3050060/118823585-5f2a4b80-b8b9-11eb-8043-bb7759a178c7.png)
![Screenshot from 2021-05-19 15-00-29](https://user-images.githubusercontent.com/3050060/118823566-5b96c480-b8b9-11eb-8c4e-08e490752fbf.png)

It is a side-effect from #84462.

r? ```@jsha```
This commit is contained in:
Ralf Jung 2021-05-20 00:19:08 +02:00 committed by GitHub
commit b2becf09d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 9 deletions

View file

@ -151,17 +151,14 @@ pre, .rustdoc.source .example-wrap {
color: #c5c5c5;
}
.content a:hover {
.search-results a:hover {
background-color: #777;
}
.content a:focus {
.search-results a:focus {
color: #000 !important;
background-color: #c6afb3;
}
.content a:focus {
color: #000 !important;
}
.search-results a {
color: #0096cf;
}

View file

@ -109,11 +109,11 @@ pre, .rustdoc.source .example-wrap {
color: #ddd;
}
.content a:hover {
.search-results a:hover {
background-color: #777;
}
.content a:focus {
.search-results a:focus {
color: #eee !important;
background-color: #616161;
}

View file

@ -109,11 +109,11 @@ pre, .rustdoc.source .example-wrap {
color: #4E4C4C;
}
.content a:hover {
.search-results a:hover {
background-color: #ddd;
}
.content a:focus {
.search-results a:focus {
color: #000 !important;
background-color: #ccc;
}