Desktop: two nav buttons side by side (unchanged). Mobile: collapses to a ☰ Menu toggle, dropdown reveals both links. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
363 lines
12 KiB
HTML
363 lines
12 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>MysterWizzard (2022–2025) | Singular Particular Space</title>
|
||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||
<link href="https://fonts.googleapis.com/css2?family=Jacquard+12&family=Lora:ital,wght@0,400..700;1,400..700&family=Share+Tech+Mono&display=swap" rel="stylesheet">
|
||
<style>
|
||
:root {
|
||
--bg-void: #04060b;
|
||
--bg-deep: #050810;
|
||
--bg-warm: #0d1320;
|
||
--orchid: #c558d9;
|
||
--text-warm: #e8d5b8;
|
||
--text-muted: #6a7a8a;
|
||
--accent: var(--orchid);
|
||
--accent-glow: rgba(197, 88, 217, 0.3);
|
||
--transition: 100ms ease;
|
||
}
|
||
|
||
* {
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 0;
|
||
border-radius: 0 !important;
|
||
}
|
||
|
||
body {
|
||
background-color: var(--bg-void);
|
||
color: var(--text-warm);
|
||
font-family: 'Lora', serif;
|
||
line-height: 1.6;
|
||
min-height: 100vh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
header {
|
||
padding: 2rem;
|
||
border-bottom: 2px solid var(--accent);
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
background: var(--bg-deep);
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 100;
|
||
box-shadow: 0 4px 15px var(--accent-glow);
|
||
}
|
||
|
||
.header-title-wrap {
|
||
text-align: left;
|
||
}
|
||
|
||
h1 {
|
||
font-family: 'Jacquard 12', system-ui;
|
||
font-size: 4rem;
|
||
color: var(--accent);
|
||
line-height: 1;
|
||
text-shadow: 0 0 15px var(--accent-glow);
|
||
}
|
||
|
||
.subtitle {
|
||
font-family: 'Share Tech Mono', monospace;
|
||
font-size: 0.9rem;
|
||
color: var(--text-muted);
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.2em;
|
||
}
|
||
|
||
.nav-back {
|
||
font-family: 'Share Tech Mono', monospace;
|
||
color: var(--text-muted);
|
||
text-decoration: none;
|
||
text-transform: uppercase;
|
||
border: 1px solid var(--text-muted);
|
||
padding: 0.5rem 1.5rem;
|
||
transition: var(--transition);
|
||
}
|
||
|
||
.nav-back:hover {
|
||
color: var(--accent);
|
||
border-color: var(--accent);
|
||
background: var(--accent-glow);
|
||
box-shadow: 0 0 10px var(--accent-glow);
|
||
}
|
||
.nav-menu { position: relative; }
|
||
|
||
.nav-menu-toggle {
|
||
display: none;
|
||
font-family: 'Share Tech Mono', monospace;
|
||
background: none;
|
||
border: 1px solid var(--text-muted);
|
||
color: var(--text-muted);
|
||
padding: 0.5rem 1rem;
|
||
cursor: pointer;
|
||
font-size: 1rem;
|
||
letter-spacing: 0.05em;
|
||
transition: var(--transition);
|
||
}
|
||
|
||
.nav-menu-toggle:hover {
|
||
color: var(--accent);
|
||
border-color: var(--accent);
|
||
background: var(--accent-glow);
|
||
}
|
||
|
||
.nav-menu-links {
|
||
display: flex;
|
||
gap: 1rem;
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
.nav-menu-toggle { display: block; }
|
||
.nav-menu-links {
|
||
display: none;
|
||
flex-direction: column;
|
||
position: absolute;
|
||
right: 0;
|
||
top: calc(100% + 4px);
|
||
background: var(--bg-deep);
|
||
border: 1px solid var(--accent);
|
||
box-shadow: 0 4px 15px var(--accent-glow);
|
||
padding: 0.5rem;
|
||
gap: 0.5rem;
|
||
z-index: 200;
|
||
min-width: 180px;
|
||
}
|
||
.nav-menu-links.open { display: flex; }
|
||
}
|
||
|
||
|
||
main {
|
||
flex: 1;
|
||
padding: 2rem;
|
||
}
|
||
|
||
#gallery {
|
||
column-count: 5;
|
||
column-gap: 1.5rem;
|
||
width: 100%;
|
||
}
|
||
|
||
@media (max-width: 1200px) {
|
||
#gallery { column-count: 4; }
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
#gallery { column-count: 3; }
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
#gallery { column-count: 2; }
|
||
h1 { font-size: 2.5rem; }
|
||
}
|
||
|
||
.thumb-link {
|
||
display: inline-block;
|
||
width: 100%;
|
||
margin-bottom: 1.5rem;
|
||
break-inside: avoid;
|
||
border: 1px solid var(--bg-warm);
|
||
overflow: hidden;
|
||
transition: var(--transition);
|
||
background: var(--bg-deep);
|
||
cursor: pointer;
|
||
position: relative;
|
||
}
|
||
|
||
.thumb-link:hover {
|
||
border-color: var(--accent);
|
||
box-shadow: 0 0 15px var(--accent-glow);
|
||
z-index: 10;
|
||
}
|
||
|
||
.thumb-link img {
|
||
width: 100%;
|
||
height: auto;
|
||
display: block;
|
||
transition: var(--transition);
|
||
}
|
||
|
||
/* Lightbox */
|
||
#lightbox {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: rgba(4, 6, 11, 0.98);
|
||
display: none;
|
||
justify-content: center;
|
||
align-items: center;
|
||
z-index: 1000;
|
||
padding: 2rem;
|
||
}
|
||
|
||
.lightbox-content {
|
||
position: relative;
|
||
max-width: 100%;
|
||
max-height: 90vh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
#lightbox-img {
|
||
max-width: 100%;
|
||
max-height: 80vh;
|
||
object-fit: contain;
|
||
border: 2px solid var(--accent);
|
||
box-shadow: 0 0 30px var(--accent-glow);
|
||
}
|
||
|
||
.lightbox-controls {
|
||
margin-top: 1.5rem;
|
||
display: flex;
|
||
gap: 1.5rem;
|
||
align-items: center;
|
||
width: 100%;
|
||
justify-content: center;
|
||
}
|
||
|
||
.lightbox-btn {
|
||
background: var(--bg-deep);
|
||
border: 1px solid var(--text-muted);
|
||
color: var(--text-warm);
|
||
padding: 0.75rem 1.5rem;
|
||
cursor: pointer;
|
||
font-family: 'Share Tech Mono', monospace;
|
||
transition: var(--transition);
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.lightbox-btn:hover {
|
||
border-color: var(--accent);
|
||
color: var(--accent);
|
||
background: var(--accent-glow);
|
||
box-shadow: 0 0 10px var(--accent-glow);
|
||
}
|
||
|
||
.close-btn {
|
||
position: absolute;
|
||
top: -4rem;
|
||
right: 0;
|
||
}
|
||
|
||
#lightbox-filename {
|
||
font-family: 'Share Tech Mono', monospace;
|
||
font-size: 0.9rem;
|
||
color: var(--text-muted);
|
||
margin-top: 0.75rem;
|
||
letter-spacing: 0.05em;
|
||
}
|
||
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<header>
|
||
<div class="header-title-wrap">
|
||
<span class="subtitle">2022–2025 Collection</span>
|
||
<h1>MysterWizzard</h1>
|
||
</div>
|
||
<div class="nav-menu">
|
||
<button class="nav-menu-toggle" id="nav-toggle" aria-label="Menu">☰ Menu</button>
|
||
<div class="nav-menu-links" id="nav-links">
|
||
<a href="images.html" class="nav-back">← Back to Hub</a>
|
||
<a href="https://files.exopraxist.org/share/swAa4bTp" class="nav-back" target="_blank">↓ Download Folder</a>
|
||
</div>
|
||
</div>
|
||
</header>
|
||
|
||
<main>
|
||
<div id="gallery"></div>
|
||
</main>
|
||
|
||
<div id="lightbox">
|
||
<div class="lightbox-content">
|
||
<button class="lightbox-btn close-btn" id="close-btn">CLOSE [ESC]</button>
|
||
<img id="lightbox-img" src="" alt="">
|
||
<div id="lightbox-filename"></div>
|
||
<div class="lightbox-controls">
|
||
<button class="lightbox-btn" id="prev-btn">PREV</button>
|
||
<button class="lightbox-btn" id="next-btn">NEXT</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<script>
|
||
const THUMBNAILS = ["20240926_142229.jpg","20241127_195824.jpg","707ac20b-6197-4d14-8120-386662f8b757.jpg","71482354-65c6-4071-a5e5-656fd476635e.jpg","8DAD0415-7437-496B-8833-FEA53B54898C.jpg","a2e0e59a-7e73-46b8-a8b9-ca729908e599.jpg","b8d94cf9-98a1-44f3-a393-7eba7dc8c2cc.jpg","BLVD_ColorTest_Splash_5jpg.jpg","C572D811-090C-4080-BC9E-A0A4D6F2A513.jpg","Enlight96.jpg","Enlight97.jpg","FC17DC88-653C-4DE6-9714-FDEEC7B77559.jpg","IMG_0003.jpg","IMG_0004.jpg","IMG_0006.jpg","IMG_0007.jpg","IMG_0009.jpg","IMG_0010.jpg","IMG_0227.jpg","IMG_0233.jpg","IMG_2062.jpg","IMG_2094.jpg","IMG_2095.jpg","IMG_2096.jpg","IMG_2097.jpg","IMG_2098.jpg","IMG_2101.jpg","IMG_2172.jpg","IMG_2878.jpg","IMG_2883.jpg","IMG_2886.jpg","IMG_2888.jpg","IMG_2889.jpg","IMG_2903.jpg","IMG_2904.jpg","IMG_2905.jpg","IMG_2906.jpg","IMG_2907.jpg","IMG_2912.jpg","IMG_2913.jpg","IMG_2914.jpg","IMG_2919.jpg","IMG_2920.jpg","IMG_2921.jpg","IMG_2940.jpg","IMG_2941.jpg","IMG_2942.jpg","IMG_2949.jpg","IMG_2950.jpg","IMG_2951.jpg","IMG_2956.jpg","IMG_2957.jpg","IMG_2958.jpg","IMG_2973.jpg","IMG_2993.jpg","IMG_2994.jpg","IMG_2995.jpg","IMG_2996.jpg","IMG_2997.jpg","IMG_2998.jpg","IMG_2999.jpg","IMG_3001.jpg","IMG_3003.jpg","IMG_3004.jpg","IMG_3005.jpg","IMG_3011.jpg","IMG_3013.jpg","IMG_3027.jpg","IMG_3028.jpg","IMG_3029.jpg","IMG_3030.jpg","IMG_3041.jpg","IMG_3046.jpg","IMG_3047.jpg","IMG_3050.jpg","IMG_3051.jpg","IMG_3052.jpg","IMG_3069.jpg","IMG_3070.jpg","IMG_3558.jpg","IMG_3681.jpg","IMG_4298.jpg","IMG_4474.jpg","IMG_4919.jpg","IMG_5162.jpg","IMG_7493.jpg","IMG_7494.jpg","IMG_7495.jpg","IMG_7496.jpg","IMG_7500.jpg","IMG_9749.jpg","IMG_9753.jpg","IMG_9754.jpg","TShedza Skull Dressing Concept.jpg"];
|
||
|
||
let currentIndex = -1;
|
||
|
||
const galleryEl = document.getElementById('gallery');
|
||
const lightboxEl = document.getElementById('lightbox');
|
||
const lightboxImg = document.getElementById('lightbox-img');
|
||
const lightboxFilename = document.getElementById('lightbox-filename');
|
||
|
||
function renderGallery() {
|
||
THUMBNAILS.forEach((filename, index) => {
|
||
const thumbSrc = `MysterWizzard/thumbnails/${filename}`;
|
||
const link = document.createElement('div');
|
||
link.className = 'thumb-link';
|
||
link.innerHTML = `<img src="${thumbSrc}" alt="${filename}" loading="lazy">`;
|
||
link.onclick = () => openLightbox(index);
|
||
galleryEl.appendChild(link);
|
||
});
|
||
}
|
||
|
||
function openLightbox(index) {
|
||
currentIndex = index;
|
||
const thumbFilename = THUMBNAILS[currentIndex];
|
||
lightboxImg.src = `MysterWizzard/thumbnails/${thumbFilename}`;
|
||
lightboxFilename.textContent = thumbFilename;
|
||
lightboxEl.style.display = 'flex';
|
||
document.body.style.overflow = 'hidden';
|
||
}
|
||
|
||
|
||
function closeLightbox() {
|
||
lightboxEl.style.display = 'none';
|
||
lightboxImg.src = '';
|
||
document.body.style.overflow = 'auto';
|
||
}
|
||
|
||
function nextImage() {
|
||
currentIndex = (currentIndex + 1) % THUMBNAILS.length;
|
||
openLightbox(currentIndex);
|
||
}
|
||
|
||
function prevImage() {
|
||
currentIndex = (currentIndex - 1 + THUMBNAILS.length) % THUMBNAILS.length;
|
||
openLightbox(currentIndex);
|
||
}
|
||
|
||
document.getElementById('close-btn').onclick = closeLightbox;
|
||
document.getElementById('next-btn').onclick = nextImage;
|
||
document.getElementById('prev-btn').onclick = prevImage;
|
||
|
||
lightboxEl.onclick = (e) => {
|
||
if (e.target === lightboxEl) closeLightbox();
|
||
};
|
||
|
||
window.addEventListener('keydown', (e) => {
|
||
if (lightboxEl.style.display === 'flex') {
|
||
if (e.key === 'Escape') closeLightbox();
|
||
if (e.key === 'ArrowRight') nextImage();
|
||
if (e.key === 'ArrowLeft') prevImage();
|
||
}
|
||
});
|
||
|
||
document.addEventListener('DOMContentLoaded', renderGallery);
|
||
|
||
document.getElementById('nav-toggle').onclick = function() {
|
||
document.getElementById('nav-links').classList.toggle('open');
|
||
};
|
||
</script>
|
||
</body>
|
||
</html>
|