From 63d694408b397fdb28e8348c1c9c3ea469a4b1dd Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Mon, 6 Oct 2025 16:07:49 +0300 Subject: [PATCH] Style scrollbar --- static/style/main.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/static/style/main.scss b/static/style/main.scss index 8fdb4f0..5b4e7db 100644 --- a/static/style/main.scss +++ b/static/style/main.scss @@ -177,6 +177,28 @@ footer { border-radius: .2em; } + +::-webkit-scrollbar { + width: .5rem; + + &-button { + display: none; + } + + &-track { + background-color: $base; + } + + &-thumb { + background-color: $overlay0; + border-radius: .25rem; + + &:hover { + background-color: $overlay1; + } + } +} + @font-face { font-family: Monocraft; src: url("/static/font/Monocraft.ttc");