style: 调整滚动条样式

This commit is contained in:
2026-08-16 15:55:07 +08:00
parent 3867a7f6cc
commit 21cb0610e1
2 changed files with 21 additions and 21 deletions

View File

@@ -8,27 +8,6 @@ a {
text-decoration: none;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
/* 滚动条轨道 */
::-webkit-scrollbar-track {
background: transparent;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 999px;
}
/* 鼠标悬停 */
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
ul,li{
list-style: none;
}

View File

@@ -44,3 +44,24 @@ body {
font-family: var(--font-family), serif;
color: var(--text-primary);
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
/* 滚动条轨道 */
::-webkit-scrollbar-track {
background: transparent;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
background: rgba(139,139,139,.5);
border-radius: 999px;
}
/* 鼠标悬停 */
::-webkit-scrollbar-thumb:hover {
background: rgba(139,139,139,.7);
}