feat: per-album hero image – picker from album assets, fullbleed banner on detail page

This commit is contained in:
ralksta
2026-05-30 15:33:43 +02:00
parent af5da8f316
commit 19c3727afc
9 changed files with 287 additions and 30 deletions

View File

@@ -816,10 +816,32 @@
}
/* ── Photo Grid (Album Detail) ────────────────────── */
/* ── Album Hero Image ────────────────────────────────────────── */
.album-hero {
position: relative;
width: 100%;
height: clamp(240px, 40vw, 520px);
overflow: hidden;
margin-bottom: 0;
}
.album-hero__overlay {
position: absolute;
inset: 0;
background: linear-gradient(to bottom, transparent 40%, var(--bg-primary, #fff) 100%);
pointer-events: none;
}
.album-header {
margin-bottom: 40px;
}
.album-header--has-hero {
margin-top: -60px;
position: relative;
z-index: 1;
}
.album-header__back {
display: inline-flex;
align-items: center;