feat: 官网顶部导航栏胶囊高亮效果
All checks were successful
continuous-integration/drone/push Build is passing

- 去掉 border-bottom: 2px solid 蓝色底线
- 改为 background: rgba(255,255,255,0.08) 半透明圆角背景
- 加 border-radius: 8px 胶囊形状
- 平滑 0.2s 过渡
This commit is contained in:
yiqiu
2026-03-19 20:45:54 +08:00
parent f354a113b1
commit 22d63e5be5
2 changed files with 12 additions and 7 deletions

View File

@@ -94,12 +94,14 @@ header:hover {
/* 导航文字颜色 */
.nav-menu .nav-item {
color: #E5E7EB;
border-bottom-color: transparent;
border-bottom: none;
border-radius: 8px;
}
.nav-menu .nav-item:hover {
color: #38BDF8;
border-bottom-color: #38BDF8;
color: #fff;
background: rgba(255, 255, 255, 0.08);
border-bottom: none;
}
.nav-right .control {