mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 03:19:25 +00:00
27 lines
394 B
SCSS
27 lines
394 B
SCSS
@import "defaults";
|
|
@import "variables";
|
|
|
|
// Webkit
|
|
::-webkit-scrollbar {
|
|
width: $padding-8;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: transparent;
|
|
border-radius: $padding-8;
|
|
}
|
|
|
|
:hover::-webkit-scrollbar-thumb {
|
|
background: var(--gray-500);
|
|
}
|
|
|
|
// MS
|
|
body {
|
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
}
|
|
|
|
// Future
|
|
.book-menu nav {
|
|
scrollbar-color: transparent var(--gray-500);
|
|
}
|