diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-08-31 08:47:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-31 08:47:14 +0900 |
| commit | 682644251dcba44bd5d66ec52e057e0ee29435f5 (patch) | |
| tree | 05647a0c3a6023d946c0f94ab279660ef2284c54 /src/librustdoc/html | |
| parent | 02654a0844f5c8d29bac318c3c6c666da3d8543d (diff) | |
| parent | f7cce2f959303c23e12019f673b7cf2a8f6a4486 (diff) | |
| download | rust-682644251dcba44bd5d66ec52e057e0ee29435f5.tar.gz rust-682644251dcba44bd5d66ec52e057e0ee29435f5.zip | |
Rollup merge of #100804 - GuillaumeGomez:search-results-color-ayu, r=notriddle
Fix search results color on hover for ayu theme Before:  After:  You can test it [here](https://rustdoc.crud.net/imperio/search-results-color-ayu/foo/index.html?search=item). r? ``@jsha``
Diffstat (limited to 'src/librustdoc/html')
| -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 1efa67a44b5..e301a793282 100644 --- a/src/librustdoc/html/static/css/themes/ayu.css +++ b/src/librustdoc/html/static/css/themes/ayu.css @@ -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; |
