From 4c37409a54452bb2cfaf6d927975111932226e78 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Mon, 13 Nov 2023 09:41:00 +0300 Subject: [PATCH] custom scrollbar --- assets/css/site.css | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/assets/css/site.css b/assets/css/site.css index 9c39f77..4896966 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -23,4 +23,23 @@ body { body nav:first-of-type { padding: 0 calc((100vw - 60rem)/2); -} \ No newline at end of file +} + +/* Custom scrollbar */ + +::-webkit-scrollbar { + width: 8px; + height: 8px; +} + +::-webkit-scrollbar-track { + background: transparent; +} + +::-webkit-scrollbar-thumb { + background: var(--button-hover); +} + +::-webkit-scrollbar-thumb:hover { + background: #384e62; +}