- Hero carousel: gallery.yaml hero accepts single UUID or array, crossfade component - Full-bleed single albums: subpages with 1 album skip grid, render photos directly - EXIF on hover: camera/lens/focal length overlay on grid items (toggle via exifOnHover) - Customizable grid: columns/gap/aspectRatio/layout (masonry|uniform) via gallery.yaml - Per-subpage grid overrides: each subpage can override global grid config - True masonry: per-image aspect ratios from EXIF dimensions - next/image migration: homepage hero, album covers, grid thumbnails, about portrait - ThumbHash blur placeholders and dominant color backgrounds - Custom next/image loader via image proxy with width/quality params - Lightbox fade-in transition with dominant color background - Password-protected subpages, health check, rate limiting, OG images
880 lines
18 KiB
CSS
880 lines
18 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');
|
|
|
|
/* ── Design Tokens ────────────────────────────────── */
|
|
:root {
|
|
--bg-primary: #0a0a0a;
|
|
--bg-secondary: #111111;
|
|
--bg-card: #161616;
|
|
--bg-card-hover: #1a1a1a;
|
|
--bg-overlay: rgba(0, 0, 0, 0.92);
|
|
|
|
--text-primary: #f0f0f0;
|
|
--text-secondary: #999999;
|
|
--text-muted: #666666;
|
|
|
|
--border-subtle: #222222;
|
|
--border-hover: #333333;
|
|
|
|
--accent: #d4af37;
|
|
--accent-dim: rgba(212, 175, 55, 0.15);
|
|
|
|
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
--font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
|
|
|
|
--radius-sm: 4px;
|
|
--radius-md: 8px;
|
|
--radius-lg: 12px;
|
|
|
|
--transition-fast: 150ms ease;
|
|
--transition-normal: 300ms ease;
|
|
--transition-slow: 500ms ease;
|
|
|
|
--max-width: 1400px;
|
|
--header-height: 64px;
|
|
}
|
|
|
|
/* ── Reset ────────────────────────────────────────── */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* ── Header / Navigation ──────────────────────────── */
|
|
.header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
background: rgba(10, 10, 10, 0.9);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.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;
|
|
padding: 48px 24px 96px;
|
|
}
|
|
|
|
/* Homepage hero + About page use full bleed — override main padding */
|
|
.main:has(.hero),
|
|
.main:has(.about) {
|
|
max-width: none;
|
|
padding: 0;
|
|
}
|
|
|
|
/* ── 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);
|
|
transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
|
|
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);
|
|
}
|
|
|
|
/* ── Hero Carousel Crossfade ────────────────────── */
|
|
.hero__carousel-image {
|
|
object-fit: cover;
|
|
opacity: 0;
|
|
transition: opacity 1.2s ease-in-out;
|
|
}
|
|
|
|
.hero__carousel-image--active {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* ── 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;
|
|
}
|
|
|
|
/* ── 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;
|
|
transition: transform var(--transition-slow), filter var(--transition-slow);
|
|
}
|
|
|
|
.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;
|
|
background: linear-gradient(to top,
|
|
rgba(0, 0, 0, 0.6) 0%,
|
|
transparent 50%);
|
|
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);
|
|
transition: border-color var(--transition-normal), transform var(--transition-normal);
|
|
}
|
|
|
|
.album-card:hover {
|
|
border-color: var(--border-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.album-card__image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform var(--transition-slow), filter var(--transition-slow);
|
|
}
|
|
|
|
.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;
|
|
background: linear-gradient(to top,
|
|
rgba(0, 0, 0, 0.8) 0%,
|
|
rgba(0, 0, 0, 0.3) 40%,
|
|
transparent 100%);
|
|
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 {
|
|
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;
|
|
}
|
|
|
|
.photo-grid__item {
|
|
break-inside: avoid;
|
|
margin-bottom: var(--grid-gap, 12px);
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
position: relative;
|
|
aspect-ratio: var(--grid-aspect-ratio, 1);
|
|
}
|
|
|
|
.photo-grid--uniform .photo-grid__item {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.photo-grid__item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
transition: filter var(--transition-normal), transform var(--transition-slow);
|
|
}
|
|
|
|
.photo-grid__item:hover img {
|
|
filter: brightness(0.85);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* ── Lightbox ─────────────────────────────────────── */
|
|
.lightbox-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
background: var(--bg-overlay);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
animation: lightbox-fade-in var(--transition-normal) ease forwards;
|
|
}
|
|
|
|
@keyframes lightbox-fade-in {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.lightbox-overlay.closing {
|
|
animation: lightbox-fade-out var(--transition-fast) ease forwards;
|
|
}
|
|
|
|
@keyframes lightbox-fade-out {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.lightbox__image-container {
|
|
position: relative;
|
|
max-width: 95vw;
|
|
max-height: 90vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.lightbox__image {
|
|
max-width: 95vw;
|
|
max-height: 90vh;
|
|
object-fit: contain;
|
|
border-radius: var(--radius-sm);
|
|
user-select: none;
|
|
-webkit-user-drag: none;
|
|
opacity: 0;
|
|
transition: opacity var(--transition-normal);
|
|
}
|
|
|
|
.lightbox__image--loaded {
|
|
opacity: 1;
|
|
}
|
|
|
|
.lightbox__close {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 24px;
|
|
z-index: 1001;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.lightbox__close:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.lightbox__close svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.lightbox__nav {
|
|
position: fixed;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
z-index: 1001;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
width: 48px;
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
color: var(--text-secondary);
|
|
transition: background var(--transition-fast), color var(--transition-fast);
|
|
}
|
|
|
|
.lightbox__nav:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.lightbox__nav--prev {
|
|
left: 20px;
|
|
}
|
|
|
|
.lightbox__nav--next {
|
|
right: 20px;
|
|
}
|
|
|
|
.lightbox__nav svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.lightbox__counter {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
font-weight: 300;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
/* ── EXIF Info Panel ──────────────────────────────── */
|
|
.lightbox__info-toggle {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right: 24px;
|
|
z-index: 1001;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: var(--radius-md);
|
|
padding: 8px 12px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 0.8rem;
|
|
font-family: var(--font-sans);
|
|
transition: background var(--transition-fast), color var(--transition-fast);
|
|
}
|
|
|
|
.lightbox__info-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.exif-panel {
|
|
position: fixed;
|
|
bottom: 60px;
|
|
right: 24px;
|
|
z-index: 1001;
|
|
background: rgba(20, 20, 20, 0.92);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
padding: 20px;
|
|
min-width: 240px;
|
|
animation: exif-slide-up var(--transition-normal) ease forwards;
|
|
}
|
|
|
|
@keyframes exif-slide-up {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.exif-panel__row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
padding: 6px 0;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.exif-panel__row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.exif-panel__label {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.exif-panel__value {
|
|
font-size: 0.85rem;
|
|
color: var(--text-primary);
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* ── Loading States ───────────────────────────────── */
|
|
.skeleton {
|
|
background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-card-hover) 50%, var(--bg-card) 100%);
|
|
background-size: 200% 100%;
|
|
animation: skeleton-shimmer 1.5s infinite;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
@keyframes skeleton-shimmer {
|
|
0% {
|
|
background-position: 200% 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
/* ── 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;
|
|
}
|
|
|
|
/* ── Password Gate ────────────────────────────────── */
|
|
.password-gate {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: calc(100vh - var(--header-height));
|
|
padding: 24px;
|
|
}
|
|
|
|
.password-gate__card {
|
|
text-align: center;
|
|
padding: 48px 40px;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
}
|
|
|
|
.password-gate__title {
|
|
font-family: var(--font-serif);
|
|
font-size: 1.8rem;
|
|
font-weight: 400;
|
|
letter-spacing: 0.02em;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.password-gate__subtitle {
|
|
font-size: 0.85rem;
|
|
color: var(--text-secondary);
|
|
font-weight: 300;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.password-gate__form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.password-gate__input {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-sans);
|
|
font-size: 0.9rem;
|
|
outline: none;
|
|
transition: border-color var(--transition-fast);
|
|
}
|
|
|
|
.password-gate__input:focus {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.password-gate__input::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.password-gate__button {
|
|
padding: 12px 24px;
|
|
background: var(--accent);
|
|
color: var(--bg-primary);
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
font-family: var(--font-sans);
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
cursor: pointer;
|
|
transition: opacity var(--transition-fast);
|
|
}
|
|
|
|
.password-gate__button:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.password-gate__button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.password-gate__error {
|
|
margin-top: 12px;
|
|
font-size: 0.8rem;
|
|
color: #e74c3c;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* ── Responsive ───────────────────────────────────── */
|
|
@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;
|
|
max-height: 40vh;
|
|
}
|
|
|
|
.hero__left {
|
|
padding: 40px 24px;
|
|
}
|
|
|
|
.hero__title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.photo-grid {
|
|
--grid-columns: 1;
|
|
}
|
|
|
|
.album-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.subpage-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.main {
|
|
padding: 24px 16px 64px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.lightbox__nav {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.lightbox__nav--prev {
|
|
left: 8px;
|
|
}
|
|
|
|
.lightbox__nav--next {
|
|
right: 8px;
|
|
}
|
|
|
|
.password-gate__card {
|
|
padding: 36px 24px;
|
|
}
|
|
} |