@mundogamernetwork/shared-ui 1.1.51 → 1.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/kit/kit-base.css +16 -0
- package/package.json +1 -1
package/assets/kit/kit-base.css
CHANGED
|
@@ -642,6 +642,22 @@ body:has(.kit-press) {
|
|
|
642
642
|
border-color: var(--kit-accent, #FDB215);
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
+
/* ── Scroll offset for sticky anchor nav ────────────────────────────*/
|
|
646
|
+
/* The anchor nav is ~50px tall; sections need scroll-margin-top so
|
|
647
|
+
the browser's native anchor jump lands below the nav, not under it. */
|
|
648
|
+
#overview,
|
|
649
|
+
#factsheet,
|
|
650
|
+
#trailers,
|
|
651
|
+
#media,
|
|
652
|
+
#articles,
|
|
653
|
+
#creators,
|
|
654
|
+
#awards,
|
|
655
|
+
#team,
|
|
656
|
+
#events,
|
|
657
|
+
#contact {
|
|
658
|
+
scroll-margin-top: 52px;
|
|
659
|
+
}
|
|
660
|
+
|
|
645
661
|
/* ── Anchor nav bar ─────────────────────────────────────────────────*/
|
|
646
662
|
.kit-anchornav {
|
|
647
663
|
background: var(--kit-surface, #14171d);
|