mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-11-18 12:46:58 -06:00
31 lines
648 B
CSS
31 lines
648 B
CSS
@layer base {
|
|
* {
|
|
/* Firefox, Chrome 121+, Safari 18.2+ */
|
|
@supports (scrollbar-color: auto) {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--color-bg-higher) transparent;
|
|
}
|
|
|
|
/* Legacy */
|
|
@supports not (scrollbar-color: auto) {
|
|
&::-webkit-scrollbar,
|
|
&::-webkit-scrollbar-track {
|
|
background-color: transparent;
|
|
height: 14px;
|
|
width: 14px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
background-color: var(--color-base-4);
|
|
border-radius: var(--radius-full);
|
|
border: 4px solid transparent;
|
|
background-clip: content-box;
|
|
}
|
|
|
|
&::-webkit-scrollbar-corner {
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
}
|
|
}
|