From 819ea4a296342b276e7c83808621e0ed975f69fe Mon Sep 17 00:00:00 2001 From: zer0-x <65136727+ZER0-X@users.noreply.github.com> Date: Sun, 1 May 2022 15:13:45 +0300 Subject: [PATCH] Customize scrollbar in Mozilla Firefox --- assets/css/default.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/css/default.css b/assets/css/default.css index 49069c92..7b5d6a9a 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -370,6 +370,10 @@ span > select { } @media (prefers-color-scheme: light) { + html { + scrollbar-color: #303030 #f0f0f0; + } + .no-theme a:hover, .no-theme a:active, .no-theme summary:hover { @@ -441,6 +445,10 @@ body.dark-theme { } @media (prefers-color-scheme: dark) { + html { + scrollbar-color: #f0f0f0 rgb(45, 45, 45); + } + .no-theme a:hover, .no-theme a:active { color: rgb(0, 182, 240);