improve scroll-bar styling

and fix hidden gist scrollbar
This commit is contained in:
Aditya Telange 2021-01-25 21:04:29 +05:30
parent cd03c69e40
commit 9c50449ce8
No known key found for this signature in database
GPG key ID: 82E844EF3DA99E77
3 changed files with 18 additions and 3 deletions

View file

@ -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)
}