Skip to content

Commit 77954d9

Browse files
Added custom scrollbar
Added custom scrollbar to all sites that use dark mode Credit to Stephen Paton @ https://codepen.io/stephenpaton-tech/full/JjRvGmY
1 parent b0fe239 commit 77954d9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

littlelink/css/skeleton-dark.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,24 @@ hr {
168168
border-width: 0;
169169
border-top: 1px solid #E1E1E1; }
170170

171+
/* ===== Scrollbar CSS ===== */
172+
/* Firefox */
173+
* {
174+
scrollbar-width: thin;
175+
scrollbar-color: #171a1d #31363b;
176+
}
177+
178+
/* Chrome, Edge, and Safari */
179+
*::-webkit-scrollbar {
180+
width: 8px;
181+
}
182+
183+
*::-webkit-scrollbar-track {
184+
background: #31363b;
185+
}
186+
187+
*::-webkit-scrollbar-thumb {
188+
background-color: #171a1d;
189+
border-radius: 30px;
190+
border: 3px none #ffffff;
191+
}

0 commit comments

Comments
 (0)