diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-09-09 01:35:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-09 01:35:13 +0200 |
| commit | 3cec71e9b44f719e60e5d12cfe4c45e5c7b3b606 (patch) | |
| tree | 0595daa9c7b4580a66f85660f07a24050a4d6b84 | |
| parent | 4ac88c01c3ad5a65e3563d14aea2151d277b3010 (diff) | |
| parent | d80415a3bf0990efa9618273d30bb2c6d23b6f43 (diff) | |
| download | rust-3cec71e9b44f719e60e5d12cfe4c45e5c7b3b606.tar.gz rust-3cec71e9b44f719e60e5d12cfe4c45e5c7b3b606.zip | |
Rollup merge of #76374 - pickfire:patch-4, r=Cldfire
Improve ayu doc source line number contrast Improve contrast of foreground line number. Before  After  r? @Cldfire I think we should add the line for light and dark theme too, it looks better and clearer that way.
| -rw-r--r-- | src/librustdoc/html/static/themes/ayu.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/themes/ayu.css b/src/librustdoc/html/static/themes/ayu.css index b4571018270..ba79c16afd2 100644 --- a/src/librustdoc/html/static/themes/ayu.css +++ b/src/librustdoc/html/static/themes/ayu.css @@ -129,9 +129,10 @@ pre { color: #ffb44c; } -.line-numbers span { color: #5c6773ab; } +.line-numbers span { color: #5c6773; } .line-numbers .line-highlighted { - background-color: rgba(255, 236, 164, 0.06) !important; + color: #708090; + background-color: rgba(255, 236, 164, 0.06); padding-right: 4px; border-right: 1px solid #ffb44c; } |
