doc(README): updata readme.md

This commit is contained in:
2022-01-20 09:20:00 +08:00
parent 922cdf7dc4
commit 0531178f99
9 changed files with 27 additions and 13 deletions

View File

@@ -22,17 +22,17 @@ html ::-webkit-scrollbar {
html ::-webkit-scrollbar-thumb {
height: 40px;
border-radius: 16px;
background-color: rgba(0, 0, 0, 0.249);
background-color: #0000003f;
}
html ::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.249);
background-color: #0000003f;
}
@media (prefers-color-scheme: dark) {
html ::-webkit-scrollbar-thumb {
background-color: blue;
background-color: #3d3030;
}
html ::-webkit-scrollbar-thumb:hover {
background-color: blue;
background-color: #acacac;
}
}

View File

@@ -10,24 +10,24 @@ html {
::-webkit-scrollbar-thumb {
height: 40px;
border-radius: 16px;
background-color: rgba(0, 0, 0, 0.249);
background-color: #0000003f;
}
::-webkit-scrollbar-thumb {
&:hover {
background-color: rgba(0, 0, 0, 0.249);
background-color: #0000003f;
}
}
@include darkmode {
::-webkit-scrollbar-thumb {
background-color: blue;
background-color: #3d3030;
}
::-webkit-scrollbar-thumb {
&:hover {
background-color: blue;
background-color: #acacac;
}
}
}