Skip to content

Commit 0bf6dbc

Browse files
committed
Update custom.scss
1 parent a6e57db commit 0bf6dbc

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

_sass/custom/custom.scss

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,27 @@ a.skip-to-main:active {
179179
}
180180

181181
// Scrollbar Styling
182+
/* Webkit Browsers: Chrome, Edge */
182183
::-webkit-scrollbar {
183-
width: 5px;
184+
width: 5px; /* width of the entire scrollbar */
184185
}
185186

186187
::-webkit-scrollbar-thumb {
187-
background: #FFFFFF;
188+
background: #FFFFFF; /* color of the scroll thumb */
189+
border-radius: 10px; /* roundness of the scroll thumb */
188190
}
189191

190192
::-webkit-scrollbar-thumb:hover {
191-
background: #FFFFFF;
193+
background: transparent; /* color of the scroll thumb when hovered */
192194
}
195+
196+
/* Firefox */
197+
* {
198+
scrollbar-width: thin; /* scrollbar width: auto, thin, or none */
199+
scrollbar-color: #FFFFFF transparent; /* thumb color and track color */
200+
}
201+
202+
/* General */
203+
body {
204+
overflow-y: scroll; /* ensures vertical scroll bar is always visible */
205+
}

0 commit comments

Comments
 (0)