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:
@@ -13937,7 +13937,12 @@ meter {
|
|||||||
justify-content: var(--hero-justify, center);
|
justify-content: var(--hero-justify, center);
|
||||||
align-items: var(--hero-align, center);
|
align-items: var(--hero-align, center);
|
||||||
width: 100%;
|
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) ── */
|
/* ── HERO CARD BASE (the .card inside the hero wrapper) ── */
|
||||||
|
|||||||
Reference in New Issue
Block a user