From 28aebf9abc87fd6c23793d1e60e598912cd8b119 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 5 Oct 2022 16:50:39 +0200 Subject: [PATCH] feat: webkit scrollbar style --- public/styles.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/public/styles.css b/public/styles.css index 79e8cfe..8ff2a85 100644 --- a/public/styles.css +++ b/public/styles.css @@ -31,4 +31,20 @@ body { overflow: hidden; overflow-y: auto; +} + +::-webkit-scrollbar { + display: block; + width: .3rem; + background-color: #202228; + overflow: hidden; +} +::-webkit-scrollbar-thumb { + border-radius: .3rem / .3rem; + background-color: #6d7076; + + transition: background-color .1s ease-in-out; +} +::-webkit-scrollbar-thumb:hover { + background-color: #a9acb2; } \ No newline at end of file