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;
}
::selection {
background: var(--selection-color);
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,
li,
ol {
@ -69,4 +85,4 @@ button {
color: var(--background-color);
background: var(--primary-color);
}
}
}