We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad6fdbc commit f451e29Copy full SHA for f451e29
1 file changed
themes/Zebin-Theme/source/css/style.css
@@ -68,7 +68,7 @@ body {
68
border-bottom: none;
69
}
70
.post-title a {
71
- color: #222;
+ color: var(--text-main); /* 🎯 替换为跟随系统明暗切换的变量 */
72
text-decoration: none;
73
font-size: 1.6rem;
74
transition: color 0.3s ease;
@@ -88,7 +88,8 @@ body {
88
.read-more {
89
display: inline-block;
90
padding: 8px 16px;
91
- background: #f4f4f4;
+ /* 🎯 关键:使用变量,这样它在暗处就会变深,在明处就会变浅 */
92
+ background: var(--bg-button);
93
color: var(--text-main);
94
95
border-radius: 4px;
@@ -455,7 +456,7 @@ body {
455
456
.archive-year {
457
text-align: center;
458
font-size: 1.8rem;
459
460
margin: 40px 0 30px 0;
461
font-family: "Noto Serif SC", serif; /* 使用宋体更显文艺 */
462
0 commit comments