style: add scrollbar styling

This commit is contained in:
Ash Monty 2022-10-01 21:43:33 +02:00
parent 4ed31a6871
commit 112f617f27
No known key found for this signature in database
GPG Key ID: 740B7C88251D49B6

View File

@ -1012,3 +1012,21 @@ section.update-signup div.circle {
display: none;
}
}
/* Scrollbar styling 'cause it's fancy */
html::-webkit-scrollbar {
width: 12px;
height: 12px;
}
html::-webkit-scrollbar-track {
background: var(--bg-shade-1);
}
html::-webkit-scrollbar-thumb {
background-color: var(--text-shade-0);
border-radius: 24px;
border: 3px solid var(--bg-shade-1);
}
html {
scrollbar-width: thin;
scrollbar-color: var(--text-shade-0) var(--bg-shade-1);
}