]> git.lizzy.rs Git - rust.git/commitdiff
Fix hover and focus display for search results on ayu theme
authorGuillaume Gomez <guillaume.gomez@huawei.com>
Sat, 20 Aug 2022 13:13:34 +0000 (15:13 +0200)
committerGuillaume Gomez <guillaume.gomez@huawei.com>
Sat, 20 Aug 2022 13:13:34 +0000 (15:13 +0200)
src/librustdoc/html/static/css/themes/ayu.css

index 4dfb64abbebe8d8edf090e23cb0003e86a4ceb95..b88a2a7eee483e4cd84e5990c74b50bfb3c00be1 100644 (file)
@@ -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;