mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-30 00:23:41 +00:00
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:
commit
b2becf09d3
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user