style: change the scroll bar style

This commit is contained in:
XPoet 2020-09-01 19:21:28 +08:00
parent 16a0994522
commit d513643f6b
1 changed files with 17 additions and 1 deletions

View File

@ -17,11 +17,27 @@ html, body {
line-height: $default-font-line-height; line-height: $default-font-line-height;
} }
::selection { ::selection {
background: var(--selection-color); background: var(--selection-color);
color: #fff; color: #fff;
} }
* {
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-thumb {
border-radius: 1px;
background: rgba(0, 0, 0, 0.28)
}
&::-webkit-scrollbar-track {
background: transparent;
}
}
ul, ul,
li, li,
ol { ol {