elk/styles/global.css

30 lines
493 B
CSS
Raw Normal View History

2022-11-15 16:39:25 +00:00
* {
2022-11-15 17:14:10 +00:00
scrollbar-color: #5555 var(--color-border);
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar {
2022-11-15 17:14:10 +00:00
width: 10px;
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar:horizontal {
2022-11-15 17:14:10 +00:00
height: 10px;
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar-track {
2022-11-15 17:14:10 +00:00
background: var(--color-border);
border-radius: 1px;
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar-thumb {
2022-11-15 17:14:10 +00:00
background: #555;
border-radius: 1px;
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar-thumb:hover {
2022-11-15 17:14:10 +00:00
background: #666;
}
/* Force vertical scrollbar to be always visible to avoid layout shift while loading the content */
html {
overflow-y: scroll;
}