diff options
| author | Ralf Jung <post@ralfj.de> | 2021-05-20 00:19:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-20 00:19:08 +0200 |
| commit | b2becf09d36d3d8d7706da1ebfe730eba7862117 (patch) | |
| tree | 25b4f8eed6ccf13b9fd8f1534688f8db2dc81539 /src | |
| parent | 2065c4b0960a4726f7d6bf53d53ef76f11555de3 (diff) | |
| parent | ec32bcf3fdb4fd3e36a48a5e9c11df0f3f7cd222 (diff) | |
| download | rust-b2becf09d36d3d8d7706da1ebfe730eba7862117.tar.gz rust-b2becf09d36d3d8d7706da1ebfe730eba7862117.zip | |
Rollup merge of #85470 - GuillaumeGomez:fix-css-rules, r=jsha
Fix invalid CSS rules for a:hover When hovering some links:   It is a side-effect from #84462. r? ```@jsha```
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/themes/ayu.css | 7 | ||||
| -rw-r--r-- | src/librustdoc/html/static/themes/dark.css | 4 | ||||
| -rw-r--r-- | src/librustdoc/html/static/themes/light.css | 4 |
3 files changed, 6 insertions, 9 deletions
diff --git a/src/librustdoc/html/static/themes/ayu.css b/src/librustdoc/html/static/themes/ayu.css index 989ea7140c5..e59909ffdf0 100644 --- a/src/librustdoc/html/static/themes/ayu.css +++ b/src/librustdoc/html/static/themes/ayu.css @@ -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; } diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css index e6bd16ddd11..a2bcb43f44e 100644 --- a/src/librustdoc/html/static/themes/dark.css +++ b/src/librustdoc/html/static/themes/dark.css @@ -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; } diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css index 5481b348aa2..2ad3551d900 100644 --- a/src/librustdoc/html/static/themes/light.css +++ b/src/librustdoc/html/static/themes/light.css @@ -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; } |
