diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-04-26 21:14:10 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-05-12 19:16:37 +0200 |
| commit | e81b59bba88d216dcbc7bdf3f6aef8098fe3a7d7 (patch) | |
| tree | 0887344476599ba4b698dfdc4ace2d8e9fb0a428 /src/librustdoc/html/static/themes | |
| parent | cf9209f87274548f25e01621a712afcb036ede6e (diff) | |
Improve alias rendering
Diffstat (limited to 'src/librustdoc/html/static/themes')
| -rw-r--r-- | src/librustdoc/html/static/themes/dark.css | 9 | ||||
| -rw-r--r-- | src/librustdoc/html/static/themes/light.css | 7 |
2 files changed, 15 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css index da4be7db5aa..493a75e2521 100644 --- a/src/librustdoc/html/static/themes/dark.css +++ b/src/librustdoc/html/static/themes/dark.css @@ -382,7 +382,7 @@ kbd { } #theme-choices > button:hover, #theme-choices > button:focus { - background-color: #444; + background-color: #4e4e4e; } @media (max-width: 700px) { @@ -397,3 +397,10 @@ kbd { #all-types:hover { background-color: #606060; } + +.search-results td span.alias { + color: #fff; +} +.search-results td span.grey { + color: #ccc; +} \ No newline at end of file diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css index 12af01d2e24..22f4635fb02 100644 --- a/src/librustdoc/html/static/themes/light.css +++ b/src/librustdoc/html/static/themes/light.css @@ -390,4 +390,11 @@ kbd { } #all-types:hover { background-color: #f9f9f9; +} + +.search-results td span.alias { + color: #000; +} +.search-results td span.grey { + color: #999; } \ No newline at end of file |
