feat: style scrollbars

Styles scrollbars for users with mouses who are on webkit browsers
This commit is contained in:
FireIsGood committed 2024-05-09 19:43:27 -07:00
1 parent c5c476e3a4
commit c499186feb
1 file changed
+17
+17
View File
@@ -33,6 +33,23 @@ html.scrollbar {
color-scheme: dark;
}
/* Restrict changes to mouse users */
@media (pointer: fine) {
::-webkit-scrollbar {
@apply bg-slate-200 w-2 h-2 rounded-lg
}
::-webkit-scrollbar-thumb {
@apply bg-slate-300 rounded-lg
}
:root.dark ::-webkit-scrollbar {
@apply bg-slate-700
}
:root.dark ::-webkit-scrollbar-thumb {
@apply bg-slate-500
}
}
.max-container {
max-width: 1320px;
@apply mx-auto p-3;