feat: promote studio theme to default, add favicon, deep-linkable lightbox

- Studio aesthetic now the default dark/light theme
- Removed MonochromToggle and 3-way theme cycle
- Light mode uses warm Studio-toned palette
- Added favicon (icon.png, apple-touch-icon, PWA icons)
- Lightbox URL sync: #photo-N hash for shareable photo links
- Browser back closes lightbox, shared links open directly
This commit is contained in:
ralksta
2026-02-14 12:14:56 +01:00
parent 52fa16c1c8
commit 90afe205f5
11 changed files with 312 additions and 41 deletions

View File

@@ -5,7 +5,7 @@
position: sticky;
top: 0;
z-index: 100;
background: rgba(10, 10, 10, 0.9);
background: rgba(26, 26, 26, 0.9);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border-subtle);
@@ -13,7 +13,7 @@
}
[data-theme='light'] .header {
background: rgba(250, 250, 250, 0.9);
background: rgba(245, 245, 240, 0.9);
}
.header__nav {
@@ -598,6 +598,182 @@
font-weight: 300;
}
/* ── Studio-Inspired Defaults ────────────────────── */
/* Red dot in header */
.header__nav::before {
content: '';
display: block;
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--accent);
margin-right: 8px;
flex-shrink: 0;
}
/* 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 — passepartout white borders */
.photo-grid {
column-gap: var(--grid-gap, 24px);
}
.photo-grid__item {
border: 1px solid rgba(255, 255, 255, 0.12);
padding: 8px 8px 24px;
margin-bottom: var(--grid-gap, 24px);
background: #111;
border-radius: 0;
cursor: pointer;
position: relative;
overflow: visible;
}
[data-theme='light'] .photo-grid__item {
border-color: rgba(0, 0, 0, 0.1);
background: #fff;
}
.photo-grid__item img {
border-radius: 0;
}
/* Film grain overlay */
.photo-grid__item::after {
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;
}
/* Print-style captions (replaces EXIF overlay) */
.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, 'EB Garamond', Georgia, serif);
font-style: italic;
font-size: 0.75rem;
letter-spacing: 0.02em;
white-space: normal;
opacity: 1;
text-align: center;
}
.photo-grid__item:hover .photo-grid__item-exif {
opacity: 1;
}
/* 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;
transition: border-color var(--transition-fast), color var(--transition-fast);
}
.hero__nav-link:hover {
border-bottom-color: var(--accent);
color: var(--accent);
}
/* Album cards — sharper, no rounded corners */
.album-card {
border-radius: 0;
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;
}
/* Subpage grid — clean */
.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);
}
/* Nav link accent on hover */
.header__nav-link:hover,
.header__nav-link.active {
color: var(--accent);
border-bottom-color: var(--accent);
}
/* Footer — red accent on hover */
.footer__link:hover {
color: var(--accent);
}
/* Scroll-to-top — red accent on hover */
.scroll-to-top:hover {
border-color: var(--accent);
color: var(--accent);
}
/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
.photo-grid {
@@ -640,7 +816,7 @@
}
.main {
padding: 24px 16px 64px;
padding: 32px 20px 80px;
}
.header__nav-link {
@@ -659,4 +835,8 @@
.subpage-grid__item-overlay {
opacity: 1;
}
.photo-grid__item {
padding: 6px 6px 18px;
}
}