fix(header): stop homepage-only pull of header-slider-container

Align nav-fixed geometry with zibll: only .slide-header pulls under the bar; restore card container gutters so home overlay cards match other page types.
This commit is contained in:
kate522 committed 2026-07-24 11:32:31 +08:00
1 parent a25feb4161
commit b8d6f70af3
4 files changed
+105 -26

No files matched your search

+11 -2
View File
@@ -106,8 +106,17 @@ body:not(.nav-fixed) .header.show-slide {
margin-bottom: 0;
}
body.nav-fixed .slide-header {
margin-top: -90px;
/* Pull only the slide shell under fixed nav (zibll). Prefer --nav-fixed-reserve
* so homepage and non-home page types share the same geometry. */
body.nav-fixed .slide-header,
body.nav-fixed .new-swiper.slide-header {
margin-top: calc(var(--nav-fixed-reserve, 90px) * -1);
}
/* Never pull the full multifunc container (breaks card overlap on homepage). */
body.nav-fixed .header-slider-container,
body.nav-fixed .header-components-container {
margin-top: 0;
}
.scroll-down.nav-fixed .header.scroll-down-hide {