feat: hero wrapper uses bg variables, default height 75vh

.hero now uses --hero-bg-image, --hero-bg-repeat, --hero-bg-attachment,
--hero-bg-position, --hero-bg-size CSS variables.
Default min-height changed from 100% to 75vh.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-23 23:10:04 +00:00
parent 5b08fe53b5
commit 1be001993e

View File

@@ -13937,7 +13937,12 @@ meter {
justify-content: var(--hero-justify, center);
align-items: var(--hero-align, center);
width: 100%;
min-height: var(--hero-min-height, 100%);
min-height: var(--hero-min-height, 75vh);
background-image: var(--hero-bg-image, none);
background-repeat: var(--hero-bg-repeat, no-repeat);
background-attachment: var(--hero-bg-attachment, fixed);
background-position: var(--hero-bg-position, center);
background-size: var(--hero-bg-size, cover);
}
/* ── HERO CARD BASE (the .card inside the hero wrapper) ── */