Added custom scrollbar

Added custom scrollbar to all sites that use light mode

Credit to Stephen Paton @ https://codepen.io/stephenpaton-tech/full/JjRvGmY
This commit is contained in:
JulianPrieber 2022-02-20 19:19:05 +01:00 committed by GitHub
parent 77954d9e3d
commit c29b9a03fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,4 +168,24 @@ hr {
border-width: 0;
border-top: 1px solid #E1E1E1; }
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: #323232 #dbdbdb;
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 8px;
}
*::-webkit-scrollbar-track {
background: #dbdbdb;
}
*::-webkit-scrollbar-thumb {
background-color: #323232;
border-radius: 30px;
border: 3px none #ffffff;
}