2026-02-14 11:47:26 +01:00
|
|
|
@import url('./tokens.css');
|
2026-02-14 00:59:57 +01:00
|
|
|
|
|
|
|
|
/* ── Header / Navigation ──────────────────────────── */
|
|
|
|
|
.header {
|
2026-03-07 09:07:28 +01:00
|
|
|
position: fixed;
|
2026-02-14 00:59:57 +01:00
|
|
|
top: 0;
|
2026-03-07 09:07:28 +01:00
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
2026-02-14 00:59:57 +01:00
|
|
|
z-index: 100;
|
2026-02-14 12:14:56 +01:00
|
|
|
background: rgba(26, 26, 26, 0.9);
|
2026-02-14 00:59:57 +01:00
|
|
|
backdrop-filter: blur(20px);
|
|
|
|
|
-webkit-backdrop-filter: blur(20px);
|
|
|
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
|
|
|
padding: 0 24px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
[data-theme='light'] .header {
|
2026-02-14 12:14:56 +01:00
|
|
|
background: rgba(245, 245, 240, 0.9);
|
2026-02-14 11:47:26 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 00:59:57 +01:00
|
|
|
.header__nav {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0;
|
|
|
|
|
max-width: var(--max-width);
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
scrollbar-width: none;
|
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header__nav::-webkit-scrollbar {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header__nav-link {
|
|
|
|
|
padding: 18px 16px;
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
letter-spacing: 0.12em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
transition: color var(--transition-fast);
|
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
|
margin-bottom: -1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header__nav-link:hover,
|
|
|
|
|
.header__nav-link.active {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
border-bottom-color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Main Content ─────────────────────────────────── */
|
|
|
|
|
.main {
|
|
|
|
|
max-width: var(--max-width);
|
|
|
|
|
margin: 0 auto;
|
2026-03-08 16:16:15 +01:00
|
|
|
padding: 104px 24px 96px;
|
|
|
|
|
/* 56px header + 48px original padding */
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-07 09:13:36 +01:00
|
|
|
/* Simple CSS Page Fade-In (Replaces Framer Motion) */
|
|
|
|
|
[data-transitions='true'] .main {
|
|
|
|
|
animation: page-fade-in 0.5s ease-out forwards;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes page-fade-in {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(8px);
|
|
|
|
|
}
|
2026-03-08 16:16:15 +01:00
|
|
|
|
2026-03-07 09:13:36 +01:00
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 10:30:27 +01:00
|
|
|
/* Homepage hero + About page use full bleed — override main padding */
|
|
|
|
|
.main:has(.hero),
|
|
|
|
|
.main:has(.about) {
|
2026-02-14 00:59:57 +01:00
|
|
|
max-width: none;
|
2026-03-08 16:16:15 +01:00
|
|
|
padding-top: 56px;
|
|
|
|
|
/* Still need space for header */
|
2026-03-07 09:07:28 +01:00
|
|
|
padding-left: 0;
|
|
|
|
|
padding-right: 0;
|
|
|
|
|
padding-bottom: 0;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Hero Split Layout (Homepage) ────────────────── */
|
|
|
|
|
.hero {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
min-height: calc(100vh - 56px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__left {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 64px 48px;
|
|
|
|
|
background: var(--bg-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__content {
|
|
|
|
|
text-align: center;
|
|
|
|
|
max-width: 400px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__title {
|
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 3rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
letter-spacing: 0.04em;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__subtitle {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
text-transform: lowercase;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__nav {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__nav-link {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
text-underline-offset: 3px;
|
|
|
|
|
text-decoration-color: rgba(255, 255, 255, 0.2);
|
2026-02-14 11:47:26 +01:00
|
|
|
transition:
|
|
|
|
|
color var(--transition-fast),
|
|
|
|
|
text-decoration-color var(--transition-fast);
|
2026-02-14 00:59:57 +01:00
|
|
|
padding: 4px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__nav-link:hover {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
text-decoration-color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__right {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__image-placeholder {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: var(--bg-secondary);
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 10:30:27 +01:00
|
|
|
/* ── Hero Carousel Crossfade ────────────────────── */
|
|
|
|
|
.hero__carousel-image {
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: opacity 1.2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__carousel-image--active {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 16:16:15 +01:00
|
|
|
/* ── Hero: Fullbleed Layout ─────────────────────── */
|
|
|
|
|
.hero--fullbleed {
|
|
|
|
|
position: relative;
|
|
|
|
|
min-height: calc(100vh - 56px);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* HeroCarousel images fill the entire container */
|
|
|
|
|
.hero--fullbleed>span,
|
|
|
|
|
.hero--fullbleed>img {
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
inset: 0;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__fullbleed-overlay {
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 64px 40px;
|
|
|
|
|
/* Multi-stop for contrast on any image brightness */
|
|
|
|
|
background:
|
|
|
|
|
radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.0) 70%),
|
|
|
|
|
linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.45) 100%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--fullbleed .hero__title {
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 4rem;
|
|
|
|
|
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 8px 48px rgba(0, 0, 0, 0.6);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--fullbleed .hero__subtitle {
|
|
|
|
|
color: rgba(255, 255, 255, 0.92);
|
|
|
|
|
margin-bottom: 32px;
|
|
|
|
|
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--fullbleed .hero__nav {
|
|
|
|
|
background: rgba(0, 0, 0, 0.38);
|
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
|
-webkit-backdrop-filter: blur(10px);
|
|
|
|
|
padding: 14px 28px;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--fullbleed .hero__nav-link {
|
|
|
|
|
color: rgba(255, 255, 255, 0.7);
|
|
|
|
|
text-decoration-color: rgba(255, 255, 255, 0.25);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--fullbleed .hero__nav-link:hover {
|
|
|
|
|
color: #fff;
|
|
|
|
|
text-decoration-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Hero: Minimal Layout ───────────────────────── */
|
|
|
|
|
.hero--minimal {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
min-height: calc(100vh - 56px);
|
|
|
|
|
padding: 64px 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--minimal .hero__content {
|
|
|
|
|
text-align: center;
|
|
|
|
|
max-width: 500px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--minimal .hero__title {
|
|
|
|
|
font-size: 4.5rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--minimal .hero__subtitle {
|
|
|
|
|
margin-bottom: 48px;
|
|
|
|
|
}
|
|
|
|
|
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
/* ── Hero: Stacked Layout ───────────────────────── */
|
|
|
|
|
.hero--stacked {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: calc(100vh - 56px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__stacked-image {
|
|
|
|
|
position: relative;
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-height: 70vh;
|
|
|
|
|
min-height: 70svh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__stacked-overlay {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
padding: 48px 40px;
|
|
|
|
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--stacked .hero__title {
|
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 3.5rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: #fff;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--stacked .hero__subtitle {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: rgba(255, 255, 255, 0.6);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__thumbnail-strip {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 2px;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
scrollbar-width: none;
|
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
|
background: var(--bg-secondary);
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__thumbnail-strip::-webkit-scrollbar {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__thumbnail-item {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 16px 28px;
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
transition:
|
|
|
|
|
background var(--transition-fast),
|
|
|
|
|
color var(--transition-fast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__thumbnail-item:hover {
|
|
|
|
|
background: var(--bg-card-hover);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__thumbnail-label {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
transition: color var(--transition-fast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__thumbnail-item:hover .hero__thumbnail-label {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Hero: Typographic Layout ───────────────────── */
|
|
|
|
|
.hero--typographic {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
min-height: calc(100vh - 56px);
|
|
|
|
|
padding: 64px 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--typographic .hero__content {
|
|
|
|
|
text-align: center;
|
|
|
|
|
max-width: 700px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--typographic .hero__title {
|
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 8rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: -0.02em;
|
|
|
|
|
line-height: 0.95;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--typographic .hero__subtitle {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
margin-bottom: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__divider {
|
|
|
|
|
width: 60px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
background: var(--border-subtle);
|
|
|
|
|
margin: 0 auto 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__nav--indexed {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__nav--indexed .hero__nav-link {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
padding: 6px 0;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
transition: color var(--transition-fast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__nav--indexed .hero__nav-link:hover {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__nav-index {
|
|
|
|
|
font-family: var(--font-caption, monospace);
|
|
|
|
|
font-size: 0.65rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
min-width: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Hero: Mosaic Layout ────────────────────────── */
|
|
|
|
|
.hero--mosaic {
|
|
|
|
|
position: relative;
|
|
|
|
|
min-height: calc(100vh - 56px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__mosaic-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
grid-template-rows: 1fr 1fr;
|
|
|
|
|
gap: 2px;
|
|
|
|
|
min-height: calc(100vh - 56px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__mosaic-cell {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__mosaic-cell img {
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Cell 1: spans 2 rows on the left */
|
|
|
|
|
.hero__mosaic-cell--1 {
|
|
|
|
|
grid-row: 1 / 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Cell 2: wide, top right */
|
|
|
|
|
.hero__mosaic-cell--2 {
|
|
|
|
|
grid-column: 2 / 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Remaining cells fill naturally */
|
|
|
|
|
|
|
|
|
|
.hero__mosaic-overlay {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
z-index: 2;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 40px 48px;
|
|
|
|
|
background: rgba(0, 0, 0, 0.6);
|
|
|
|
|
backdrop-filter: blur(20px);
|
|
|
|
|
-webkit-backdrop-filter: blur(20px);
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--mosaic .hero__title {
|
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 3rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: #fff;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--mosaic .hero__subtitle {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: rgba(255, 255, 255, 0.6);
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--mosaic .hero__nav {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--mosaic .hero__nav-link {
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
letter-spacing: 0.12em;
|
|
|
|
|
color: rgba(255, 255, 255, 0.7);
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
padding: 4px 0;
|
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
|
transition:
|
|
|
|
|
color var(--transition-fast),
|
|
|
|
|
border-color var(--transition-fast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--mosaic .hero__nav-link:hover {
|
|
|
|
|
color: #fff;
|
|
|
|
|
border-bottom-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 00:59:57 +01:00
|
|
|
/* ── Section Labels ──────────────────────────────── */
|
|
|
|
|
.section-label {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
margin-top: 48px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-label:first-child {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:50:36 +01:00
|
|
|
/* ── Subpage Header ──────────────────────────────── */
|
|
|
|
|
.subpage-header {
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-title {
|
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-subtitle {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 00:59:57 +01:00
|
|
|
/* ── Subpage Album Grid (2-column, edge-to-edge) ─── */
|
|
|
|
|
.subpage-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
gap: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-grid__item {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
aspect-ratio: 3 / 2;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-grid__item img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
2026-02-14 11:47:26 +01:00
|
|
|
transition:
|
|
|
|
|
transform var(--transition-slow),
|
|
|
|
|
filter var(--transition-slow);
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-grid__item:hover img {
|
|
|
|
|
transform: scale(1.03);
|
|
|
|
|
filter: brightness(0.75);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-grid__item-overlay {
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
padding: 20px;
|
2026-02-14 11:47:26 +01:00
|
|
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
|
2026-02-14 00:59:57 +01:00
|
|
|
opacity: 0;
|
|
|
|
|
transition: opacity var(--transition-normal);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-grid__item:hover .subpage-grid__item-overlay {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-grid__item-title {
|
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.03em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-grid__item-count {
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Album Grid (Homepage) ────────────────────────── */
|
|
|
|
|
.album-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
|
|
|
|
|
gap: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
aspect-ratio: 3 / 2;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
border: 1px solid var(--border-subtle);
|
2026-02-14 11:47:26 +01:00
|
|
|
transition:
|
|
|
|
|
border-color var(--transition-normal),
|
|
|
|
|
transform var(--transition-normal);
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card:hover {
|
|
|
|
|
border-color: var(--border-hover);
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card__image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
2026-02-14 11:47:26 +01:00
|
|
|
transition:
|
|
|
|
|
transform var(--transition-slow),
|
|
|
|
|
filter var(--transition-slow);
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card:hover .album-card__image {
|
|
|
|
|
transform: scale(1.03);
|
|
|
|
|
filter: brightness(0.7);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card__overlay {
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
padding: 24px;
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
background: linear-gradient(to top,
|
|
|
|
|
rgba(0, 0, 0, 0.8) 0%,
|
|
|
|
|
rgba(0, 0, 0, 0.3) 40%,
|
|
|
|
|
transparent 100%);
|
2026-02-14 00:59:57 +01:00
|
|
|
opacity: 0;
|
|
|
|
|
transition: opacity var(--transition-normal);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card:hover .album-card__overlay {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card__title {
|
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.03em;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card__count {
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Photo Grid (Album Detail) ────────────────────── */
|
|
|
|
|
.album-header {
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-header__back {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
transition: color var(--transition-fast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-header__back:hover {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-header__back svg {
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-header__title {
|
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-header__meta {
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid {
|
2026-02-14 10:30:27 +01:00
|
|
|
column-count: var(--grid-columns, 3);
|
|
|
|
|
column-gap: var(--grid-gap, 12px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Uniform layout: CSS Grid with fixed aspect ratio */
|
|
|
|
|
.photo-grid--uniform {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(var(--grid-columns, 3), 1fr);
|
|
|
|
|
gap: var(--grid-gap, 12px);
|
|
|
|
|
column-count: unset;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid__item {
|
|
|
|
|
break-inside: avoid;
|
2026-02-14 10:30:27 +01:00
|
|
|
margin-bottom: var(--grid-gap, 12px);
|
2026-02-14 00:59:57 +01:00
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
position: relative;
|
2026-02-14 10:30:27 +01:00
|
|
|
aspect-ratio: var(--grid-aspect-ratio, 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid--uniform .photo-grid__item {
|
|
|
|
|
margin-bottom: 0;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
/* ── Showcase Layout ────────────────────────────── */
|
|
|
|
|
/* First item gets full width; rest in standard grid */
|
|
|
|
|
.photo-grid--showcase {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(var(--grid-columns, 3), 1fr);
|
|
|
|
|
gap: var(--grid-gap, 12px);
|
|
|
|
|
column-count: unset;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid--showcase .photo-grid__featured {
|
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid--showcase .photo-grid__item {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Filmstrip Layout ───────────────────────────── */
|
|
|
|
|
/* Horizontal scroll of tall vertical strips */
|
|
|
|
|
.photo-grid--filmstrip {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
gap: var(--grid-gap, 6px);
|
|
|
|
|
column-count: unset;
|
|
|
|
|
scroll-snap-type: x mandatory;
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: var(--text-muted) transparent;
|
|
|
|
|
padding-bottom: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid--filmstrip .photo-grid__item {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
width: 280px;
|
|
|
|
|
height: 440px;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
scroll-snap-align: start;
|
|
|
|
|
aspect-ratio: unset;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
.photo-grid--filmstrip .photo-grid__item {
|
|
|
|
|
width: 220px;
|
|
|
|
|
height: 340px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Editorial Flow Layout ──────────────────────── */
|
|
|
|
|
/* Alternating full-width singles and 2-column pairs */
|
|
|
|
|
.photo-grid--editorial-flow {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
gap: var(--grid-gap, 16px);
|
|
|
|
|
column-count: unset;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid--editorial-flow .photo-grid__item {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
aspect-ratio: 4 / 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Every 3rd item (1st, 4th, 7th, …) spans full width */
|
|
|
|
|
.photo-grid--editorial-flow .photo-grid__item:nth-child(3n + 1) {
|
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
|
aspect-ratio: 21 / 9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
.photo-grid--editorial-flow {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid--editorial-flow .photo-grid__item:nth-child(3n + 1) {
|
|
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid--editorial-flow .photo-grid__item {
|
|
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 00:59:57 +01:00
|
|
|
.photo-grid__item img {
|
|
|
|
|
width: 100%;
|
2026-02-14 10:30:27 +01:00
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
2026-02-14 00:59:57 +01:00
|
|
|
display: block;
|
2026-02-14 11:47:26 +01:00
|
|
|
transition:
|
|
|
|
|
filter var(--transition-normal),
|
|
|
|
|
transform var(--transition-slow);
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid__item:hover img {
|
|
|
|
|
filter: brightness(0.85);
|
|
|
|
|
transform: scale(1.02);
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 10:30:27 +01:00
|
|
|
/* EXIF hover overlay */
|
|
|
|
|
.photo-grid__item-exif {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
padding: 20px 10px 8px;
|
|
|
|
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
|
|
|
|
|
color: rgba(255, 255, 255, 0.85);
|
|
|
|
|
font-size: 0.65rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.03em;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: opacity var(--transition-normal);
|
|
|
|
|
z-index: 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid__item:hover .photo-grid__item-exif {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
/* ── Loading States ───────────────────────────────── */
|
|
|
|
|
.skeleton {
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
background: linear-gradient(90deg,
|
|
|
|
|
var(--bg-card) 0%,
|
|
|
|
|
var(--bg-card-hover) 50%,
|
|
|
|
|
var(--bg-card) 100%);
|
2026-02-14 11:47:26 +01:00
|
|
|
background-size: 200% 100%;
|
|
|
|
|
animation: skeleton-shimmer 1.5s infinite;
|
|
|
|
|
border-radius: var(--radius-sm);
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
@keyframes skeleton-shimmer {
|
|
|
|
|
0% {
|
|
|
|
|
background-position: 200% 0;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
100% {
|
|
|
|
|
background-position: -200% 0;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
/* ── Fade-In Animations ────────────────────────────── */
|
|
|
|
|
.fade-in {
|
|
|
|
|
opacity: 0;
|
2026-02-15 11:23:51 +01:00
|
|
|
transition:
|
|
|
|
|
opacity 0.6s ease,
|
|
|
|
|
transform 0.6s ease;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
.fade-in--up {
|
|
|
|
|
transform: translateY(20px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fade-in--visible {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
|
.fade-in {
|
2026-02-14 00:59:57 +01:00
|
|
|
opacity: 1;
|
2026-02-14 11:47:26 +01:00
|
|
|
transform: none;
|
|
|
|
|
transition: none;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
2026-02-14 11:47:26 +01:00
|
|
|
}
|
2026-02-14 00:59:57 +01:00
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
/* ── Custom Cursor (Photo Grid) ─────────────────── */
|
|
|
|
|
.photo-grid__item {
|
|
|
|
|
cursor: crosshair;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
/* ── Scroll-to-Top Button ────────────────────────── */
|
|
|
|
|
.scroll-to-top {
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 32px;
|
|
|
|
|
right: 32px;
|
|
|
|
|
z-index: 90;
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
border: 1px solid var(--border-subtle);
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
font-weight: 300;
|
2026-02-14 00:59:57 +01:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2026-02-14 11:47:26 +01:00
|
|
|
cursor: pointer;
|
2026-02-14 10:30:27 +01:00
|
|
|
opacity: 0;
|
2026-02-14 11:47:26 +01:00
|
|
|
pointer-events: none;
|
|
|
|
|
transform: translateY(8px);
|
|
|
|
|
transition:
|
|
|
|
|
opacity var(--transition-normal),
|
|
|
|
|
transform var(--transition-normal),
|
|
|
|
|
background var(--transition-fast),
|
|
|
|
|
border-color var(--transition-fast),
|
|
|
|
|
color var(--transition-fast);
|
2026-02-14 10:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
.scroll-to-top--visible {
|
2026-02-14 10:30:27 +01:00
|
|
|
opacity: 1;
|
2026-02-14 11:47:26 +01:00
|
|
|
pointer-events: auto;
|
|
|
|
|
transform: translateY(0);
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
.scroll-to-top:hover {
|
|
|
|
|
background: var(--bg-card-hover);
|
|
|
|
|
border-color: var(--border-hover);
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Theme Toggle ────────────────────────────────── */
|
|
|
|
|
.theme-toggle {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 8px;
|
2026-02-14 00:59:57 +01:00
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
cursor: pointer;
|
2026-02-14 11:47:26 +01:00
|
|
|
border-radius: var(--radius-sm);
|
2026-02-14 00:59:57 +01:00
|
|
|
transition: color var(--transition-fast);
|
2026-02-14 11:47:26 +01:00
|
|
|
margin-left: auto;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
.theme-toggle:hover {
|
2026-02-14 00:59:57 +01:00
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
/* ── Footer ──────────────────────────────────────── */
|
|
|
|
|
.footer {
|
|
|
|
|
border-top: 1px solid var(--border-subtle);
|
|
|
|
|
padding: 32px 24px;
|
|
|
|
|
max-width: var(--max-width);
|
|
|
|
|
margin: 0 auto;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
.footer__inner {
|
2026-02-14 00:59:57 +01:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-07 08:34:05 +01:00
|
|
|
justify-content: space-between;
|
2026-02-14 11:47:26 +01:00
|
|
|
gap: 20px;
|
|
|
|
|
flex-wrap: wrap;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-03-07 08:34:05 +01:00
|
|
|
.footer__left {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
.footer__name {
|
2026-02-14 00:59:57 +01:00
|
|
|
font-family: var(--font-sans);
|
2026-02-14 11:47:26 +01:00
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: var(--text-muted);
|
2026-02-13 23:26:37 +01:00
|
|
|
}
|
2026-02-14 00:59:57 +01:00
|
|
|
|
2026-03-07 08:34:05 +01:00
|
|
|
.footer__legal-link {
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
transition: opacity var(--transition-fast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer__legal-link:hover {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
.footer__links {
|
2026-02-14 00:59:57 +01:00
|
|
|
display: flex;
|
2026-02-14 11:47:26 +01:00
|
|
|
gap: 12px;
|
|
|
|
|
align-items: center;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
.footer__link {
|
2026-02-14 00:59:57 +01:00
|
|
|
color: var(--text-muted);
|
2026-02-14 11:47:26 +01:00
|
|
|
transition: color var(--transition-fast);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
.footer__link:hover {
|
2026-02-14 00:59:57 +01:00
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 11:47:26 +01:00
|
|
|
/* ── Image Count Badge (Subpage Covers) ─────────── */
|
|
|
|
|
.subpage-grid__item-badge {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 12px;
|
|
|
|
|
right: 12px;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
padding: 4px 10px;
|
|
|
|
|
border-radius: 100px;
|
|
|
|
|
background: rgba(0, 0, 0, 0.55);
|
|
|
|
|
backdrop-filter: blur(6px);
|
|
|
|
|
-webkit-backdrop-filter: blur(6px);
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.65rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
|
color: rgba(255, 255, 255, 0.85);
|
|
|
|
|
pointer-events: none;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Error / Empty States ─────────────────────────── */
|
|
|
|
|
.empty-state {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 96px 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.empty-state__icon {
|
|
|
|
|
font-size: 3rem;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
opacity: 0.3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.empty-state__text {
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
/* ── Theme Conditionals ──────────────────────────── */
|
|
|
|
|
/* Features toggled via data attributes on <html>, set by theme config */
|
2026-02-14 12:14:56 +01:00
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
/* ─ Header dot (accent circle in nav) ─ */
|
|
|
|
|
[data-header-dot='true'] .header__nav::before {
|
2026-02-14 12:14:56 +01:00
|
|
|
content: '';
|
|
|
|
|
display: block;
|
|
|
|
|
width: 10px;
|
|
|
|
|
height: 10px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
/* ─ Passepartout photo frame ─ */
|
|
|
|
|
[data-photo-frame='passepartout'] .photo-grid__item {
|
2026-02-14 12:14:56 +01:00
|
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
|
|
|
padding: 8px 8px 24px;
|
|
|
|
|
margin-bottom: var(--grid-gap, 24px);
|
|
|
|
|
background: #111;
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
overflow: hidden;
|
2026-02-14 12:14:56 +01:00
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
[data-photo-frame='passepartout'][data-theme='light'] .photo-grid__item {
|
2026-02-14 12:14:56 +01:00
|
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
|
|
|
background: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
[data-photo-frame='passepartout'] .photo-grid__item-exif {
|
|
|
|
|
position: relative;
|
|
|
|
|
bottom: auto;
|
|
|
|
|
left: auto;
|
|
|
|
|
right: auto;
|
|
|
|
|
background: none;
|
|
|
|
|
padding: 8px 0 0;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
white-space: normal;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-photo-frame='passepartout'] .photo-grid__item:hover .photo-grid__item-exif {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ─ Shadow photo frame ─ */
|
|
|
|
|
[data-photo-frame='shadow'] .photo-grid__item {
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-photo-frame='shadow'][data-theme='light'] .photo-grid__item {
|
|
|
|
|
box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
|
2026-02-14 12:14:56 +01:00
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
/* ─ Film grain overlay ─ */
|
|
|
|
|
[data-grain='true'] .photo-grid__item::after {
|
2026-02-14 12:14:56 +01:00
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 8px;
|
|
|
|
|
left: 8px;
|
|
|
|
|
right: 8px;
|
|
|
|
|
bottom: 24px;
|
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
|
|
|
|
|
background-size: 128px 128px;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
mix-blend-mode: overlay;
|
|
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
/* Grain without passepartout — fill the whole item */
|
|
|
|
|
[data-grain='true'][data-photo-frame='none'] .photo-grid__item::after,
|
|
|
|
|
[data-grain='true'][data-photo-frame='shadow'] .photo-grid__item::after {
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
2026-02-14 12:14:56 +01:00
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
/* ── Gallery Aesthetics (all themes) ─────────────── */
|
|
|
|
|
|
|
|
|
|
/* Generous spacing — gallery exhibition feel */
|
|
|
|
|
.main {
|
|
|
|
|
padding: 64px 40px 120px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-header {
|
|
|
|
|
margin-bottom: 56px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-header__title {
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-label {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Photo grid gap */
|
|
|
|
|
.photo-grid {
|
|
|
|
|
column-gap: var(--grid-gap, 24px);
|
2026-02-14 12:14:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Shutter-click feedback */
|
|
|
|
|
.photo-grid__item:active img {
|
|
|
|
|
filter: brightness(0.6);
|
|
|
|
|
transform: scale(0.98);
|
|
|
|
|
transition: all 80ms ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Hero — wider, cleaner */
|
|
|
|
|
.hero__title {
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__subtitle {
|
|
|
|
|
letter-spacing: 0.25em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__nav-link {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
padding: 6px 0;
|
|
|
|
|
border-bottom: 1px solid transparent;
|
2026-02-15 11:23:51 +01:00
|
|
|
transition:
|
|
|
|
|
border-color var(--transition-fast),
|
|
|
|
|
color var(--transition-fast);
|
2026-02-14 12:14:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__nav-link:hover {
|
|
|
|
|
border-bottom-color: var(--accent);
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
/* Album cards */
|
2026-02-14 12:14:56 +01:00
|
|
|
.album-card {
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
border-radius: var(--radius-md);
|
2026-02-14 12:14:56 +01:00
|
|
|
border-color: rgba(255, 255, 255, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-theme='light'] .album-card {
|
|
|
|
|
border-color: rgba(0, 0, 0, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card:hover {
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
/* Subpage grid */
|
2026-02-14 12:14:56 +01:00
|
|
|
.subpage-grid__item {
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-theme='light'] .subpage-grid__item {
|
|
|
|
|
border-color: rgba(0, 0, 0, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
/* Accent hover effects (works with any accent color) */
|
2026-02-14 12:14:56 +01:00
|
|
|
.header__nav-link:hover,
|
|
|
|
|
.header__nav-link.active {
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
border-bottom-color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer__link:hover {
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.scroll-to-top:hover {
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
feat: restyle themes to be visually distinct
- Minimal: Swiss Brutalist — fullbleed hero, true B&W, zero-gap grid, Geist font
- Editorial: Cinematic Magazine — warm charcoal, Bodoni Moda serif, slow transitions
- Classic: Gilded Gallery — gold accents, Cinzel headings, passepartout, ornamental dividers
Updated config presets, per-theme color palettes, ~550 lines of scoped CSS overrides,
data-preset attribute on html element, responsive breakpoints, screenshots, and docs.
2026-02-15 17:17:25 +01:00
|
|
|
/* ══════════════════════════════════════════════════════
|
|
|
|
|
THEME: Minimal — Swiss Brutalist
|
|
|
|
|
══════════════════════════════════════════════════════ */
|
|
|
|
|
|
|
|
|
|
/* Header: ultra-stripped, no border, just floating text */
|
|
|
|
|
[data-preset='minimal'] .header {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
background: transparent;
|
|
|
|
|
backdrop-filter: none;
|
|
|
|
|
-webkit-backdrop-filter: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .header__nav-link {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.18em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .header__nav-link:hover,
|
|
|
|
|
[data-preset='minimal'] .header__nav-link.active {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Hero: fullbleed image, title overlaid bottom-left */
|
|
|
|
|
[data-preset='minimal'] .hero {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .hero__left {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
padding: 32px 40px;
|
|
|
|
|
background: none;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .hero__content {
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .hero__title {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .hero__subtitle {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .hero__nav {
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .hero__nav-link {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
transition: opacity var(--transition-fast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .hero__nav-link:hover {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .hero__right {
|
|
|
|
|
grid-column: 1;
|
|
|
|
|
grid-row: 1;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
height: 100svh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Photo grid: zero hover effects, clinical stillness */
|
|
|
|
|
[data-preset='minimal'] .photo-grid {
|
|
|
|
|
column-gap: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .photo-grid__item {
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .photo-grid__item:hover img {
|
|
|
|
|
filter: none;
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .photo-grid__item:active img {
|
|
|
|
|
filter: brightness(0.8);
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Album cards: no overlay, text below */
|
|
|
|
|
[data-preset='minimal'] .album-card {
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .album-card:hover {
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .album-card:hover .album-card__image {
|
|
|
|
|
transform: none;
|
|
|
|
|
filter: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .album-card__overlay {
|
|
|
|
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 30%);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .album-card__title {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .album-card__count {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Section labels: numbered indices */
|
|
|
|
|
[data-preset='minimal'] .section-label {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Footer: single line, ultra-minimal */
|
|
|
|
|
[data-preset='minimal'] .footer {
|
|
|
|
|
border-top: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .footer__name {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:54:23 +01:00
|
|
|
/* Album & Subpage header */
|
|
|
|
|
[data-preset='minimal'] .album-header__title,
|
|
|
|
|
[data-preset='minimal'] .subpage-title {
|
feat: restyle themes to be visually distinct
- Minimal: Swiss Brutalist — fullbleed hero, true B&W, zero-gap grid, Geist font
- Editorial: Cinematic Magazine — warm charcoal, Bodoni Moda serif, slow transitions
- Classic: Gilded Gallery — gold accents, Cinzel headings, passepartout, ornamental dividers
Updated config presets, per-theme color palettes, ~550 lines of scoped CSS overrides,
data-preset attribute on html element, responsive breakpoints, screenshots, and docs.
2026-02-15 17:17:25 +01:00
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:54:23 +01:00
|
|
|
[data-preset='minimal'] .album-header__meta,
|
|
|
|
|
[data-preset='minimal'] .subpage-subtitle {
|
feat: restyle themes to be visually distinct
- Minimal: Swiss Brutalist — fullbleed hero, true B&W, zero-gap grid, Geist font
- Editorial: Cinematic Magazine — warm charcoal, Bodoni Moda serif, slow transitions
- Classic: Gilded Gallery — gold accents, Cinzel headings, passepartout, ornamental dividers
Updated config presets, per-theme color palettes, ~550 lines of scoped CSS overrides,
data-preset attribute on html element, responsive breakpoints, screenshots, and docs.
2026-02-15 17:17:25 +01:00
|
|
|
font-size: 0.7rem;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Subpage grid */
|
|
|
|
|
[data-preset='minimal'] .subpage-grid {
|
|
|
|
|
gap: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .subpage-grid__item {
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .subpage-grid__item-title {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
letter-spacing: 0.12em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════════════════
|
|
|
|
|
THEME: Editorial — Cinematic Magazine
|
|
|
|
|
══════════════════════════════════════════════════════ */
|
|
|
|
|
|
|
|
|
|
/* Header: transparent, magazine masthead feel */
|
|
|
|
|
[data-preset='editorial'] .header {
|
|
|
|
|
background: transparent;
|
|
|
|
|
backdrop-filter: none;
|
|
|
|
|
-webkit-backdrop-filter: none;
|
|
|
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .header__nav-link {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.65rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.18em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Hero: dramatic oversized serif title */
|
|
|
|
|
[data-preset='editorial'] .hero__title {
|
|
|
|
|
font-size: 4.5rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .hero__subtitle {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
margin-bottom: 48px;
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .hero__nav-link {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .hero__nav-link:hover {
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Photo grid: generous spacing, cinematic transitions */
|
|
|
|
|
[data-preset='editorial'] .photo-grid {
|
|
|
|
|
column-gap: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .photo-grid__item {
|
|
|
|
|
margin-bottom: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .photo-grid__item img {
|
|
|
|
|
transition:
|
|
|
|
|
filter 1.5s ease,
|
|
|
|
|
transform 1.5s ease;
|
|
|
|
|
filter: saturate(0.7) brightness(0.95);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .photo-grid__item:hover img {
|
|
|
|
|
filter: saturate(1) brightness(1);
|
|
|
|
|
transform: scale(1.01);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Album cards: text below, editorial layout */
|
|
|
|
|
[data-preset='editorial'] .album-card {
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .album-card:hover {
|
|
|
|
|
transform: none;
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .album-card__overlay {
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
padding: 28px;
|
|
|
|
|
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .album-card__title {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .album-card__count {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .album-card:hover .album-card__image {
|
|
|
|
|
transform: scale(1.015);
|
|
|
|
|
filter: brightness(0.8);
|
|
|
|
|
transition:
|
|
|
|
|
transform 1.5s ease,
|
|
|
|
|
filter 1.5s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Section labels: pull-quote style with left border */
|
|
|
|
|
[data-preset='editorial'] .section-label {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
padding-left: 16px;
|
|
|
|
|
border-left: 2px solid var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Album header: large cinematic title */
|
|
|
|
|
[data-preset='editorial'] .album-header__title {
|
|
|
|
|
font-size: 3rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:54:23 +01:00
|
|
|
/* Album & Subpage Header overrides */
|
|
|
|
|
[data-preset='editorial'] .album-header__title,
|
|
|
|
|
[data-preset='editorial'] .subpage-title {
|
|
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 5rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: -0.02em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .album-header__meta,
|
|
|
|
|
[data-preset='editorial'] .subpage-subtitle {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
text-transform: uppercase;
|
feat: restyle themes to be visually distinct
- Minimal: Swiss Brutalist — fullbleed hero, true B&W, zero-gap grid, Geist font
- Editorial: Cinematic Magazine — warm charcoal, Bodoni Moda serif, slow transitions
- Classic: Gilded Gallery — gold accents, Cinzel headings, passepartout, ornamental dividers
Updated config presets, per-theme color palettes, ~550 lines of scoped CSS overrides,
data-preset attribute on html element, responsive breakpoints, screenshots, and docs.
2026-02-15 17:17:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Footer: centered italic attribution */
|
|
|
|
|
[data-preset='editorial'] .footer__name {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Subpage grid */
|
|
|
|
|
[data-preset='editorial'] .subpage-grid {
|
|
|
|
|
gap: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .subpage-grid__item {
|
|
|
|
|
border: none;
|
|
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .subpage-grid__item-title {
|
|
|
|
|
font-size: 1.4rem;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════════════════
|
|
|
|
|
THEME: Classic — Gilded Gallery
|
|
|
|
|
══════════════════════════════════════════════════════ */
|
|
|
|
|
|
|
|
|
|
/* Header: centered nav with gold accent */
|
|
|
|
|
[data-preset='classic'] .header {
|
|
|
|
|
background: rgba(18, 18, 16, 0.92);
|
|
|
|
|
border-bottom: 1px solid rgba(196, 154, 60, 0.15);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'][data-theme='light'] .header {
|
|
|
|
|
background: rgba(253, 251, 245, 0.92);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .header__nav {
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .header__nav-link {
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.14em;
|
|
|
|
|
padding: 20px 18px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Hero: elegant centered card above banner */
|
|
|
|
|
[data-preset='classic'] .hero__left {
|
|
|
|
|
padding: 80px 48px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .hero__title {
|
|
|
|
|
font-size: 2.8rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.12em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .hero__subtitle {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Decorative ornament beneath subtitle */
|
|
|
|
|
[data-preset='classic'] .hero__subtitle::after {
|
|
|
|
|
content: '◆';
|
|
|
|
|
display: block;
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
font-size: 0.5rem;
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .hero__nav-link {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .hero__nav-link:hover {
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Photo grid: warm passepartout, elegant hover */
|
|
|
|
|
[data-preset='classic'] .photo-grid {
|
|
|
|
|
column-gap: var(--grid-gap, 20px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .photo-grid__item {
|
|
|
|
|
margin-bottom: var(--grid-gap, 20px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .photo-grid__item:hover img {
|
|
|
|
|
filter: brightness(0.9);
|
|
|
|
|
transform: scale(1.01);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Warm passepartout override */
|
|
|
|
|
[data-preset='classic'][data-photo-frame='passepartout'] .photo-grid__item {
|
|
|
|
|
background: #1a1816;
|
|
|
|
|
border-color: rgba(196, 154, 60, 0.12);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'][data-photo-frame='passepartout'][data-theme='light'] .photo-grid__item {
|
|
|
|
|
background: #fffdf5;
|
|
|
|
|
border-color: rgba(196, 154, 60, 0.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Album cards: warm rounded, gold hover */
|
|
|
|
|
[data-preset='classic'] .album-card {
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
border: 1px solid rgba(196, 154, 60, 0.1);
|
|
|
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'][data-theme='light'] .album-card {
|
|
|
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
|
|
|
|
border-color: rgba(196, 154, 60, 0.15);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .album-card:hover {
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
transform: translateY(-3px);
|
|
|
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .album-card__title {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .album-card__count {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Section labels: decorative centered dividers */
|
|
|
|
|
[data-preset='classic'] .section-label {
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.25em;
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .section-label::before {
|
|
|
|
|
content: '— ';
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .section-label::after {
|
|
|
|
|
content: ' —';
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:54:23 +01:00
|
|
|
/* Album & Subpage header: elegant serif */
|
|
|
|
|
[data-preset='classic'] .album-header__title,
|
|
|
|
|
[data-preset='classic'] .subpage-title {
|
feat: restyle themes to be visually distinct
- Minimal: Swiss Brutalist — fullbleed hero, true B&W, zero-gap grid, Geist font
- Editorial: Cinematic Magazine — warm charcoal, Bodoni Moda serif, slow transitions
- Classic: Gilded Gallery — gold accents, Cinzel headings, passepartout, ornamental dividers
Updated config presets, per-theme color palettes, ~550 lines of scoped CSS overrides,
data-preset attribute on html element, responsive breakpoints, screenshots, and docs.
2026-02-15 17:17:25 +01:00
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
font-size: 2.2rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:54:23 +01:00
|
|
|
[data-preset='classic'] .album-header__meta,
|
|
|
|
|
[data-preset='classic'] .subpage-subtitle {
|
feat: restyle themes to be visually distinct
- Minimal: Swiss Brutalist — fullbleed hero, true B&W, zero-gap grid, Geist font
- Editorial: Cinematic Magazine — warm charcoal, Bodoni Moda serif, slow transitions
- Classic: Gilded Gallery — gold accents, Cinzel headings, passepartout, ornamental dividers
Updated config presets, per-theme color palettes, ~550 lines of scoped CSS overrides,
data-preset attribute on html element, responsive breakpoints, screenshots, and docs.
2026-02-15 17:17:25 +01:00
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Footer: ornamental */
|
|
|
|
|
[data-preset='classic'] .footer {
|
|
|
|
|
border-top: 1px solid rgba(196, 154, 60, 0.15);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .footer__name {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Scroll-to-top: gold border */
|
|
|
|
|
[data-preset='classic'] .scroll-to-top {
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .scroll-to-top:hover {
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Subpage grid: warm borders */
|
|
|
|
|
[data-preset='classic'] .subpage-grid__item {
|
|
|
|
|
border: 1px solid rgba(196, 154, 60, 0.1);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='classic'] .subpage-grid__item-title {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
}
|
|
|
|
|
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
/* ══════════════════════════════════════════════════════
|
|
|
|
|
THEME: Noir — Darkroom Analog
|
|
|
|
|
══════════════════════════════════════════════════════ */
|
2026-02-14 00:59:57 +01:00
|
|
|
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
/* Header: transparent with subtle warm border */
|
|
|
|
|
[data-preset='noir'] .header {
|
|
|
|
|
background: transparent;
|
|
|
|
|
backdrop-filter: none;
|
|
|
|
|
-webkit-backdrop-filter: none;
|
|
|
|
|
border-bottom: 1px solid rgba(255, 107, 53, 0.1);
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
[data-preset='noir'] .header__nav-link {
|
|
|
|
|
font-size: 0.65rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Photo grid: warm analog feel */
|
|
|
|
|
[data-preset='noir'] .photo-grid__item img {
|
|
|
|
|
filter: sepia(0.08) contrast(1.02);
|
|
|
|
|
transition:
|
|
|
|
|
filter 0.8s ease,
|
|
|
|
|
transform 0.8s ease,
|
|
|
|
|
box-shadow 0.8s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='noir'] .photo-grid__item:hover img {
|
|
|
|
|
filter: sepia(0) contrast(1) brightness(0.88);
|
|
|
|
|
transform: scale(1.01);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Vignette hover effect */
|
|
|
|
|
[data-preset='noir'] .photo-grid__item::before {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
box-shadow: inset 0 0 60px rgba(0, 0, 0, 0);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
transition: box-shadow 0.8s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='noir'] .photo-grid__item:hover::before {
|
|
|
|
|
box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Film-edge EXIF labels */
|
|
|
|
|
[data-preset='noir'] .photo-grid__item-exif {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: rgba(255, 200, 150, 0.7);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Album cards */
|
|
|
|
|
[data-preset='noir'] .album-card {
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='noir'] .album-card:hover {
|
|
|
|
|
transform: none;
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='noir'] .album-card__title {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.04em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Section labels */
|
|
|
|
|
[data-preset='noir'] .section-label {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:54:23 +01:00
|
|
|
/* Album & Subpage header */
|
|
|
|
|
[data-preset='noir'] .album-header__title,
|
|
|
|
|
[data-preset='noir'] .subpage-title {
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: 0.04em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Footer */
|
|
|
|
|
[data-preset='noir'] .footer {
|
|
|
|
|
border-top: 1px solid rgba(255, 107, 53, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='noir'] .footer__name {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.65rem;
|
|
|
|
|
letter-spacing: 0.12em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Subpage grid */
|
|
|
|
|
[data-preset='noir'] .subpage-grid__item {
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='noir'] .subpage-grid__item-title {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════════════════
|
|
|
|
|
THEME: Monograph — Typographic / Book
|
|
|
|
|
══════════════════════════════════════════════════════ */
|
|
|
|
|
|
|
|
|
|
/* Header: thin hairline border, centered */
|
|
|
|
|
[data-preset='monograph'] .header {
|
|
|
|
|
background: transparent;
|
|
|
|
|
backdrop-filter: none;
|
|
|
|
|
-webkit-backdrop-filter: none;
|
|
|
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .header__nav {
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .header__nav-link {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .header__nav-link:hover,
|
|
|
|
|
[data-preset='monograph'] .header__nav-link.active {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
border-bottom-color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Photo grid: numbered indices with CSS counter */
|
|
|
|
|
[data-preset='monograph'] .photo-grid {
|
|
|
|
|
counter-reset: photo-index;
|
|
|
|
|
column-gap: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .photo-grid__item {
|
|
|
|
|
counter-increment: photo-index;
|
|
|
|
|
margin-bottom: 48px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .photo-grid__item::before {
|
|
|
|
|
content: counter(photo-index, decimal-leading-zero);
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: -28px;
|
|
|
|
|
left: 0;
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.65rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
z-index: 2;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .photo-grid__item:hover img {
|
|
|
|
|
filter: none;
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .photo-grid__item:active img {
|
|
|
|
|
filter: brightness(0.85);
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Caption slide-up on hover */
|
|
|
|
|
[data-preset='monograph'] .photo-grid__item-exif {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.65rem;
|
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(100%);
|
|
|
|
|
transition:
|
|
|
|
|
opacity 0.4s ease,
|
|
|
|
|
transform 0.4s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .photo-grid__item:hover .photo-grid__item-exif {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Album cards: minimal text below */
|
|
|
|
|
[data-preset='monograph'] .album-card {
|
|
|
|
|
border: 1px solid var(--border-subtle);
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .album-card:hover {
|
|
|
|
|
border-color: var(--text-primary);
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .album-card:hover .album-card__image {
|
|
|
|
|
transform: none;
|
|
|
|
|
filter: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .album-card__overlay {
|
|
|
|
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 30%);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .album-card__title {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.12em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .album-card__count {
|
|
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Section labels: thin hairline rule */
|
|
|
|
|
[data-preset='monograph'] .section-label {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
letter-spacing: 0.2em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
padding-bottom: 12px;
|
|
|
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:54:23 +01:00
|
|
|
/* Album & Subpage header: large serif with wide spacing */
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
[data-preset='monograph'] .album-header {
|
|
|
|
|
margin-bottom: 72px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:54:23 +01:00
|
|
|
[data-preset='monograph'] .album-header__title,
|
|
|
|
|
[data-preset='monograph'] .subpage-title {
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
font-family: var(--font-serif);
|
|
|
|
|
font-size: 3rem;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-08 22:54:23 +01:00
|
|
|
[data-preset='monograph'] .album-header__meta,
|
|
|
|
|
[data-preset='monograph'] .subpage-subtitle {
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
font-family: var(--font-caption);
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Footer */
|
|
|
|
|
[data-preset='monograph'] .footer {
|
|
|
|
|
border-top: 1px solid var(--border-subtle);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .footer__name {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Main: extra generous margins */
|
|
|
|
|
[data-preset='monograph']~body .main {
|
|
|
|
|
padding: 80px 60px 120px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Subpage grid */
|
|
|
|
|
[data-preset='monograph'] .subpage-grid {
|
|
|
|
|
gap: 1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .subpage-grid__item {
|
|
|
|
|
border: 1px solid var(--border-subtle);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='monograph'] .subpage-grid__item-title {
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
letter-spacing: 0.15em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
|
.photo-grid {
|
|
|
|
|
--grid-columns: 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-grid {
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
.hero {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__right {
|
|
|
|
|
order: -1;
|
|
|
|
|
height: 50vh;
|
|
|
|
|
height: 50svh;
|
|
|
|
|
min-height: 200px;
|
|
|
|
|
}
|
2026-02-14 00:59:57 +01:00
|
|
|
|
|
|
|
|
.hero__left {
|
|
|
|
|
padding: 40px 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__title {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.photo-grid {
|
2026-02-14 10:30:27 +01:00
|
|
|
--grid-columns: 1;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-grid {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-grid {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main {
|
2026-02-14 12:14:56 +01:00
|
|
|
padding: 32px 20px 80px;
|
2026-02-14 00:59:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header__nav-link {
|
|
|
|
|
padding: 14px 10px;
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-header__title {
|
|
|
|
|
font-size: 1.8rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.album-card__overlay {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subpage-grid__item-overlay {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
2026-02-14 12:14:56 +01:00
|
|
|
|
feat: theming system, documentation, and photo grid regression tests
- Add configurable theme system with 4 presets (studio, minimal, editorial, classic)
- Theme controls fonts, colors, accent, photo frames, grain, and header dot
- Resolve themes from gallery.yaml: string shorthand or full object override
- Inject theme as CSS custom properties on <html> element
- Dynamic Google Fonts loading based on theme config
- OG image route reads accent/background from theme
- Refactor Studio overrides into conditional CSS via data-attributes
Documentation:
- Add docs/gallery-config.md with comprehensive configuration reference
- Add docs/theming.md with preset reference and custom theme guide
- Slim README to link to detailed docs
Fix CSS regression:
- Fix passepartout frame overflow:visible breaking next/image fill rendering
- Remove duplicate .photo-grid__item block that stripped overflow:hidden
Testing:
- Add e2e/photo-grid.spec.ts with 3 regression tests:
- Grid items render with real dimensions
- overflow:hidden CSS guard (catches the exact bug fixed)
- Images load with real pixel data (not blurhash)
Tooling:
- Add scripts/screenshots.ts for automated theme screenshot generation
- Handles dev server lifecycle, theme cycling, FadeIn + lazy image handling
2026-02-15 12:21:02 +01:00
|
|
|
[data-photo-frame='passepartout'] .photo-grid__item {
|
2026-02-14 12:14:56 +01:00
|
|
|
padding: 6px 6px 18px;
|
|
|
|
|
}
|
feat: restyle themes to be visually distinct
- Minimal: Swiss Brutalist — fullbleed hero, true B&W, zero-gap grid, Geist font
- Editorial: Cinematic Magazine — warm charcoal, Bodoni Moda serif, slow transitions
- Classic: Gilded Gallery — gold accents, Cinzel headings, passepartout, ornamental dividers
Updated config presets, per-theme color palettes, ~550 lines of scoped CSS overrides,
data-preset attribute on html element, responsive breakpoints, screenshots, and docs.
2026-02-15 17:17:25 +01:00
|
|
|
|
|
|
|
|
/* Minimal: adjust fullbleed hero for mobile */
|
|
|
|
|
[data-preset='minimal'] .hero__left {
|
|
|
|
|
padding: 20px 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='minimal'] .hero__right {
|
|
|
|
|
height: 70vh;
|
|
|
|
|
height: 70svh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Editorial: scale down oversized title */
|
|
|
|
|
[data-preset='editorial'] .hero__title {
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-preset='editorial'] .album-header__title {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Classic: scale title */
|
|
|
|
|
[data-preset='classic'] .hero__title {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
feat: add noir, monograph, botanica presets + stacked/typographic/mosaic hero styles + showcase/filmstrip/editorial-flow gallery layouts
- 3 new theme presets: noir (darkroom analog), monograph (typographic book), botanica (organic nature)
- 3 new hero styles: stacked (fullbleed + thumbnail strip), typographic (text-only), mosaic (multi-image grid)
- 3 new gallery layouts: showcase (featured + grid), filmstrip (horizontal scroll), editorial-flow (alternating pairs)
- Extended config types, validation, and CSS tokens for all new options
- Updated theming docs with new presets table, descriptions, and example configs
2026-02-15 21:58:31 +01:00
|
|
|
|
|
|
|
|
/* Stacked: compact overlay */
|
|
|
|
|
.hero__stacked-overlay {
|
|
|
|
|
padding: 24px 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--stacked .hero__title {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__thumbnail-item {
|
|
|
|
|
padding: 12px 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Typographic: scale down massive title */
|
|
|
|
|
.hero--typographic {
|
|
|
|
|
padding: 40px 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--typographic .hero__title {
|
|
|
|
|
font-size: 3.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Mosaic: simplify to 2-column */
|
|
|
|
|
.hero__mosaic-grid {
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
grid-template-rows: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__mosaic-cell--1 {
|
|
|
|
|
grid-row: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__mosaic-cell--2 {
|
|
|
|
|
grid-column: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__mosaic-cell:nth-child(n + 5) {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__mosaic-overlay {
|
|
|
|
|
padding: 24px 28px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero--mosaic .hero__title {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Monograph: scale album header */
|
|
|
|
|
[data-preset='monograph'] .album-header__title {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
}
|