add webkit scrollbar style
Prithu Goswami prithugoswami524@gmail.com
Fri, 15 May 2020 21:58:04 +0530
1 files changed,
13 insertions(+),
1 deletions(-)
jump to
M
static/css/blog.css
→
static/css/blog.css
@@ -158,8 +158,20 @@ background: #ddd;
padding: 1rem; margin: 0.5rem 0; font-size: 0.9rem; - overflow-y: hidden; overflow-x: scroll; +} + +.post-text pre::-webkit-scrollbar { + height: 6px; +} + +.post-text pre::-webkit-scrollbar-thumb { + background-color: rgba(255,255,255,0.35); + border-radius: 20px; +} + +.post-text pre::-webkit-scrollbar-thumb:active { + background-color: rgba(3,122,255,0.8); } .post-text > p > code{