fix: body 背景改为深色 #0A0C16,消除滚动闪白
All checks were successful
continuous-integration/drone/push Build is passing

- reset.css body background: #FFFFFF → #0A0C16
- theme.css body background: #FFFFFF → #0A0C16
- 修复 theme.css 被误删的规则(textarea/input)
- 滚动条颜色适配深色主题
This commit is contained in:
yiqiu
2026-03-18 18:13:08 +08:00
parent 0581515005
commit fcd7eff3e8
2 changed files with 80 additions and 82 deletions

View File

@@ -34,8 +34,8 @@ h5 {
} }
body { body {
background-color: #FFFFFF; background-color: #0A0C16;
color: rgba(0, 0, 0, 0.90); color: rgba(220, 228, 240, 0.9);
font-size: 16px; font-size: 16px;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 400; font-weight: 400;

View File

@@ -29,8 +29,8 @@ textarea {
} }
body { body {
background-color: #FFFFFF; background-color: #0A0C16;
color: rgba(0, 0, 0, 0.90); color: rgba(220, 228, 240, 0.9);
font-size: 14px; font-size: 14px;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 400; font-weight: 400;
@@ -53,9 +53,8 @@ input {
a { a {
color: #666; color: #999;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
} }
@@ -74,15 +73,14 @@ a:hover {
} }
.title-desc { .title-desc {
color: rgba(0, 0, 0, 0.9); color: rgba(220, 228, 240, 0.8);
font-size: 14px; font-size: 14px;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.2); background-color: rgba(255, 255, 255, 0.15);
border: 1px solid #fff; border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 10px; border-radius: 10px;
} }