diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-08-27 01:14:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-27 01:14:13 +0200 |
| commit | 88c68cae4f6d2e12d54ff436eea36595454ccda8 (patch) | |
| tree | d30a60c495a304019c4a1e78045987e5bc6a8b52 /src | |
| parent | a838f2fc7965f2e3f619d8f6d40915db668d7ae6 (diff) | |
| parent | 5041aeef3d4155ac28245419193280491552fd35 (diff) | |
| download | rust-88c68cae4f6d2e12d54ff436eea36595454ccda8.tar.gz rust-88c68cae4f6d2e12d54ff436eea36595454ccda8.zip | |
Rollup merge of #75837 - GuillaumeGomez:fix-font-color-help-button, r=Cldfire
Fix font color for help button in ayu and dark themes A nice before/after:   For the ayu theme, the change is very "light", the font color was already close to white, so I unified the color with the pictures of the other buttons:  
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/themes/ayu.css | 1 | ||||
| -rw-r--r-- | src/librustdoc/html/static/themes/dark.css | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/themes/ayu.css b/src/librustdoc/html/static/themes/ayu.css index 6e8db1e9eb7..c8d4ec60352 100644 --- a/src/librustdoc/html/static/themes/ayu.css +++ b/src/librustdoc/html/static/themes/ayu.css @@ -495,6 +495,7 @@ kbd { #theme-picker, #settings-menu, .help-button { border-color: #5c6773; background-color: #0f1419; + color: #fff; } #theme-picker > img, #settings-menu > img { diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css index eeb1f0a3d4a..f5a85337768 100644 --- a/src/librustdoc/html/static/themes/dark.css +++ b/src/librustdoc/html/static/themes/dark.css @@ -389,6 +389,7 @@ kbd { #theme-picker, #settings-menu, .help-button { border-color: #e0e0e0; background: #f0f0f0; + color: #000; } #theme-picker:hover, #theme-picker:focus, |
