fix: scrollbars are minimal and out of the way
All checks were successful
CI / update (push) Successful in 2m32s

This commit is contained in:
2026-03-27 09:06:51 +01:00
parent 5b3b2e5e80
commit 660fec44c2

View File

@@ -428,3 +428,40 @@ a:focus-visible {
gap: 1.8em; gap: 1.8em;
} }
} }
/*
Scrollbar
*/
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: var(--color-font-primary);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--color-font-primary);
}
/*Firefox*/
* {
scrollbar-width: thin; /* auto | thin | none */
scrollbar-color: rgba(0, 0,0,0.3) transparent;
}
html {
scrollbar-gutter: stable;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.3);
border-radius: 10px;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]){
scrollbar-color: rgba(255, 255,255,0.3) transparent;
}
}