feat: 导航栏固定在顶部 (position:fixed)
All checks were successful
continuous-integration/drone/push Build is passing

- .nav-shadow 加 position:fixed + z-index:9999
- body 加 padding-top:72px 防止内容被遮挡
This commit is contained in:
yiqiu
2026-03-18 19:54:27 +08:00
parent fe26f5d817
commit a1c89ddb87

View File

@@ -1,3 +1,8 @@
/* 固定导航栏占位 */
body {
padding-top: 72px;
}
.section-content {
padding: 80px 20px;
max-width: 1440px;
@@ -66,7 +71,11 @@
}
.nav-shadow {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 9999;
/* 深色毛玻璃 Header与下拉菜单统一风格 */
background: rgba(10, 12, 22, 0.92);
backdrop-filter: blur(16px);