diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-01-25 21:04:29 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-01-25 21:04:29 +0530 |
| commit | 9c50449ce84ffeb28cd18ec3dda5ffe1d444d881 (patch) | |
| tree | 250e4e363335567486017627ec1bbd48ee46856d /assets/css/post-single.css | |
| parent | cd03c69e40b8f4170268adabea29c2446067b6d0 (diff) | |
improve scroll-bar styling
and fix hidden gist scrollbar
Diffstat (limited to 'assets/css/post-single.css')
| -rw-r--r-- | assets/css/post-single.css | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 05d386f..5eb5966 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -347,9 +347,19 @@ h6:hover .anchor { } .post-content ::-webkit-scrollbar-thumb { + border: 2px solid var(--hljs-bg); background: rgba(255, 255, 255, 0.32) } .post-content ::-webkit-scrollbar-thumb:hover { - background: rgba(255, 255, 255, 0.64) + background: rgba(255, 255, 255, 0.56) +} + +.gist ::-webkit-scrollbar-thumb { + border: 2px solid rgb(255, 255, 255); + background: rgba(0, 0, 0, 0.32) +} + +.gist ::-webkit-scrollbar-thumb:hover { + background: rgba(0, 0, 0, 0.56) } |
