diff --git a/source/css/layout/common/basic.styl b/source/css/layout/common/basic.styl index 1ca13f3..884a94f 100644 --- a/source/css/layout/common/basic.styl +++ b/source/css/layout/common/basic.styl @@ -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); } -} \ No newline at end of file +}