Skip to content

Commit f96f004

Browse files
committed
fix: 移除内页氛围光效果相关样式,优化代码结构
1 parent 444baf8 commit f96f004

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

.vitepress/theme/css/custom.css

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -162,30 +162,4 @@
162162
margin: 32px 0;
163163
}
164164

165-
/* ===== 内页氛围光效果 ===== */
166-
/* 右上角微弱暖金色光晕,极简克制 */
167-
.VPNavBar.has-sidebar::before,
168-
.VPDoc::before {
169-
content: '';
170-
position: fixed;
171-
top: -30vh;
172-
right: -20vw;
173-
width: 80vw;
174-
height: 80vw;
175-
background: radial-gradient(circle at center, rgba(212, 175, 110, 0.07) 0%, transparent 60%);
176-
filter: blur(80px);
177-
pointer-events: none;
178-
z-index: 0;
179-
}
180165

181-
/* 移除第二光源,保留伪元素占位避免布局问题 */
182-
.VPNavBar.has-sidebar::after,
183-
.VPDoc::after {
184-
display: none;
185-
}
186-
187-
/* 确保氛围光不影响内容可读性 */
188-
.VPDoc .content-container {
189-
position: relative;
190-
z-index: 1;
191-
}

0 commit comments

Comments
 (0)