Skip to content

Commit 76e5d88

Browse files
Fix hover and focus display for search results on ayu theme
1 parent 9c20b2a commit 76e5d88

File tree

1 file changed

+4
-3
lines changed
  • src/librustdoc/html/static/css/themes

1 file changed

+4
-3
lines changed

src/librustdoc/html/static/css/themes/ayu.css

+4-3
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,13 @@ pre, .rustdoc.source .example-wrap {
8989
}
9090

9191
.search-results a:hover {
92-
background-color: #777;
92+
color: #fff !important;
93+
background-color: #3c3c3c;
9394
}
9495

9596
.search-results a:focus {
96-
color: #000 !important;
97-
background-color: #c6afb3;
97+
color: #fff !important;
98+
background-color: #3c3c3c;
9899
}
99100
.search-results a {
100101
color: #0096cf;

0 commit comments

Comments
 (0)