diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-08-20 15:13:34 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-08-20 15:13:34 +0200 |
| commit | 76e5d8835cf72c55e0d91b2da08f367cde62ccf7 (patch) | |
| tree | 181299ede8b126e02ed2257d210fe7366ad793cb | |
| parent | 9c20b2a8cc7588decb6de25ac6a7912dcef24d65 (diff) | |
| download | rust-76e5d8835cf72c55e0d91b2da08f367cde62ccf7.tar.gz rust-76e5d8835cf72c55e0d91b2da08f367cde62ccf7.zip | |
Fix hover and focus display for search results on ayu theme
| -rw-r--r-- | src/librustdoc/html/static/css/themes/ayu.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/css/themes/ayu.css b/src/librustdoc/html/static/css/themes/ayu.css index 4dfb64abbeb..b88a2a7eee4 100644 --- a/src/librustdoc/html/static/css/themes/ayu.css +++ b/src/librustdoc/html/static/css/themes/ayu.css @@ -89,12 +89,13 @@ pre, .rustdoc.source .example-wrap { } .search-results a:hover { - background-color: #777; + color: #fff !important; + background-color: #3c3c3c; } .search-results a:focus { - color: #000 !important; - background-color: #c6afb3; + color: #fff !important; + background-color: #3c3c3c; } .search-results a { color: #0096cf; |
