This commit is contained in:
@@ -19,40 +19,24 @@
|
||||
#index #header {
|
||||
z-index: 99999 !important;
|
||||
position: relative;
|
||||
transition: background 0.3s ease !important;
|
||||
}
|
||||
|
||||
#index #header {
|
||||
position: sticky !important;
|
||||
}
|
||||
|
||||
#index #header:hover,
|
||||
#index header:hover {
|
||||
background: rgba(15, 23, 42, 0.6) !important;
|
||||
}
|
||||
|
||||
/* 首页 section-content 统一左右边距为 20px */
|
||||
#index .section-content {
|
||||
padding-left: var(--container-padding-x);
|
||||
padding-right: var(--container-padding-x);
|
||||
}
|
||||
|
||||
/* 首页 Header 深色玻璃态覆盖 - 鼠标悬停变色效果 */
|
||||
#index #header {
|
||||
background: transparent;
|
||||
transition: background 0.3s ease;
|
||||
}
|
||||
|
||||
#index #header:hover {
|
||||
background: rgba(15, 23, 42, 0.6);
|
||||
}
|
||||
|
||||
#index .nav-shadow {
|
||||
background: rgba(15, 23, 42, 0.8) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border-bottom: 1px solid rgba(148, 163, 184, 0.15);
|
||||
box-shadow: 0 4px 24px rgba(15, 23, 42, 0.4);
|
||||
transition: background 0.3s ease;
|
||||
}
|
||||
|
||||
#index .nav-shadow:hover {
|
||||
background: rgba(15, 23, 42, 0.95) !important;
|
||||
}
|
||||
|
||||
/* 首页导航栏:使用统一的容器系统 */
|
||||
#index .nav-header {
|
||||
max-width: var(--container-max-width);
|
||||
@@ -60,6 +44,19 @@
|
||||
padding: 0 var(--container-padding-x);
|
||||
}
|
||||
|
||||
/* nav-shadow 样式和 hover 效果 */
|
||||
#index .nav-shadow {
|
||||
background: rgba(15, 23, 42, 0.8) !important;
|
||||
backdrop-filter: blur(20px);
|
||||
border-bottom: 1px solid rgba(148, 163, 184, 0.15);
|
||||
box-shadow: 0 4px 24px rgba(15, 23, 42, 0.4);
|
||||
transition: background 0.3s ease !important;
|
||||
}
|
||||
|
||||
#index .nav-shadow:hover {
|
||||
background: rgba(15, 23, 42, 0.95) !important;
|
||||
}
|
||||
|
||||
/* 首页导航文字颜色 */
|
||||
#index .nav-menu .nav-item {
|
||||
color: #E5E7EB;
|
||||
@@ -423,13 +420,14 @@
|
||||
============================================ */
|
||||
|
||||
.hot-products {
|
||||
margin-top: 60px;
|
||||
margin-top: 0;
|
||||
padding: 40px 0;
|
||||
background:
|
||||
radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.05) 0%, transparent 60%),
|
||||
rgba(15, 23, 42, 0.6);
|
||||
border: 1px solid rgba(148, 163, 184, 0.15);
|
||||
border-radius: 16px;
|
||||
border-top: none;
|
||||
border-radius: 0 0 16px 16px;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user