Skip to content

Commit

Permalink
Update custom.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
pzaldonis committed Jun 25, 2024
1 parent a6e57db commit 0bf6dbc
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions _sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,27 @@ a.skip-to-main:active {
}

// Scrollbar Styling
/* Webkit Browsers: Chrome, Edge */
::-webkit-scrollbar {
width: 5px;
width: 5px; /* width of the entire scrollbar */
}

::-webkit-scrollbar-thumb {
background: #FFFFFF;
background: #FFFFFF; /* color of the scroll thumb */
border-radius: 10px; /* roundness of the scroll thumb */
}

::-webkit-scrollbar-thumb:hover {
background: #FFFFFF;
background: transparent; /* color of the scroll thumb when hovered */
}

/* Firefox */
* {
scrollbar-width: thin; /* scrollbar width: auto, thin, or none */
scrollbar-color: #FFFFFF transparent; /* thumb color and track color */
}

/* General */
body {
overflow-y: scroll; /* ensures vertical scroll bar is always visible */
}

0 comments on commit 0bf6dbc

Please sign in to comment.