tweak: add styles for slim scrollbar

This commit is contained in:
andatoshiki
2022-10-20 23:49:50 +08:00
parent f396e2b5ad
commit 5a50fc0ba8

View File

@@ -15,3 +15,28 @@ pre, code, kbd, samp {
.VPDoc .content-container img { .VPDoc .content-container img {
border-radius: 5px; border-radius: 5px;
} }
/* slim scroll bar for windows based web browsers - works on chrome, edge, and safari */
::-webkit-scrollbar {
width: 3px;
height: 3px;
}
/* scrolling track/backgronund color */
::-webkit-scrollbar-track {
background: #3b3b3b;
}
/* scrolling handle */
::-webkit-scrollbar-thumb {
background: #42b883;
}
/* handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #36986c;
}