Added custom scrollbar
Added custom scrollbar to all sites that use dark mode Credit to Stephen Paton @ https://codepen.io/stephenpaton-tech/full/JjRvGmY
This commit is contained in:
parent
b0fe2395d4
commit
77954d9e3d
|
@ -168,3 +168,24 @@ hr {
|
|||
border-width: 0;
|
||||
border-top: 1px solid #E1E1E1; }
|
||||
|
||||
/* ===== Scrollbar CSS ===== */
|
||||
/* Firefox */
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #171a1d #31363b;
|
||||
}
|
||||
|
||||
/* Chrome, Edge, and Safari */
|
||||
*::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-track {
|
||||
background: #31363b;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background-color: #171a1d;
|
||||
border-radius: 30px;
|
||||
border: 3px none #ffffff;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue