From 363580240cd8bf4b9c8da52b4ba796440de75e69 Mon Sep 17 00:00:00 2001 From: rasan3-1416 Date: Tue, 10 Oct 2023 12:33:07 +0600 Subject: [PATCH] style: add styles for the scrollbar Added styling for the side scroller of the site in assets/css/styles.css file --- assets/css/styles.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/assets/css/styles.css b/assets/css/styles.css index e0601ae..92e0287 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -550,7 +550,18 @@ img { text-align: center; } /*=============== SCROLL BAR ===============*/ - +::-webkit-scrollbar { + width: 0.6rem; + border-radius: 0.5rem; + background-color: hsl(23, 4%, 15%); +} +::-webkit-scrollbar-thumb { + border-radius: 0.5rem; + background-color: hsl(23, 4%, 30%); +} +::-webkit-scrollbar-thumb:hover { + background-color: hsl(23, 4%, 40%); +} /*=============== SCROLL UP ===============*/