From 621ba5a5bec47bde3f6f7e411186b9e56694472c Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Sun, 6 Aug 2023 00:14:05 +0100 Subject: custom scrollbar --- static/style.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 1b68815..9a8068d 100644 --- a/static/style.css +++ b/static/style.css @@ -1,5 +1,33 @@ * { word-break: break-word; + scrollbar-color: #edc953 #e8d2c5; +} + +/* scrollbar */ +/*width */ +::-webkit-scrollbar { + position: fixed; + top: 0; + left: 0; + width: 20px; +} + +/* Track */ +::-webkit-scrollbar-track { + border: 4px solid #311f20; + padding: 4px; + background: #e8d2c5; +} + +/* Handle */ +::-webkit-scrollbar-thumb { + border: 4px solid #311f20; + background: #edc953; +} + +/* Handle on hover */ +::-webkit-scrollbar-thumb:hover { + background: #ccad47; } .panel { -- cgit