From 112f617f277db00ff52fe52b5e162bf376634925 Mon Sep 17 00:00:00 2001 From: Ash Monty Date: Sat, 1 Oct 2022 21:43:33 +0200 Subject: [PATCH] style: add scrollbar styling --- public/assets/css/main.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/public/assets/css/main.css b/public/assets/css/main.css index c60b039..b07d7a2 100644 --- a/public/assets/css/main.css +++ b/public/assets/css/main.css @@ -1012,3 +1012,21 @@ section.update-signup div.circle { display: none; } } + +/* Scrollbar styling 'cause it's fancy */ +html::-webkit-scrollbar { + width: 12px; + height: 12px; +} +html::-webkit-scrollbar-track { + background: var(--bg-shade-1); +} +html::-webkit-scrollbar-thumb { + background-color: var(--text-shade-0); + border-radius: 24px; + border: 3px solid var(--bg-shade-1); +} +html { + scrollbar-width: thin; + scrollbar-color: var(--text-shade-0) var(--bg-shade-1); +}