Rollup merge of #100804 - GuillaumeGomez:search-results-color-ayu, r=notriddle

Fix search results color on hover for ayu theme

Before:

![image](https://user-images.githubusercontent.com/3050060/185747851-038d2333-8b01-44a8-a104-ceb7410ac089.png)

After:

![image](https://user-images.githubusercontent.com/3050060/185747869-53b502f5-5800-470f-b897-2683f1cdb7ee.png)

You can test it [here](https://rustdoc.crud.net/imperio/search-results-color-ayu/foo/index.html?search=item).

r? ``@jsha``
This commit is contained in:
Yuki Okushi 2022-08-31 08:47:14 +09:00 committed by GitHub
commit 682644251d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 3 deletions

View file

@ -83,12 +83,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;