Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| start [2026/06/11 07:52] – jumpstartadmin | start [2026/06/11 21:28] (current) – jumpstartadmin | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| @font-face { font-family: | @font-face { font-family: | ||
| - | .js-wrap { position: fixed; top: 50px; left: 0; width: 100vw; height: | + | /* Grid fills full viewport — navbar floats over it */ |
| + | .js-wrap { | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | } | ||
| + | |||
| + | /* Scanline overlay */ | ||
| + | .js-wrap:: | ||
| + | content: ''; | ||
| + | position: absolute; | ||
| + | inset: 0; | ||
| + | z-index: 100; | ||
| + | pointer-events: | ||
| + | background: repeating-linear-gradient( | ||
| + | to bottom, | ||
| + | rgba(0, | ||
| + | rgba(0, | ||
| + | transparent 1px, | ||
| + | transparent 3px | ||
| + | ); | ||
| + | } | ||
| + | |||
| + | /* Edge vignette */ | ||
| + | .js-wrap:: | ||
| + | content: ''; | ||
| + | position: absolute; | ||
| + | inset: 0; | ||
| + | z-index: 101; | ||
| + | pointer-events: | ||
| + | background: | ||
| + | linear-gradient(to right, rgba(10, | ||
| + | linear-gradient(to bottom, rgba(10, | ||
| + | } | ||
| .js-card { position: relative; display: block; overflow: hidden; text-decoration: | .js-card { position: relative; display: block; overflow: hidden; text-decoration: | ||
| Line 16: | Line 57: | ||
| .js-card: | .js-card: | ||
| - | .js-label { position: absolute; left: 0; width: 100%; z-index: 3; padding: 16px; font-family: | + | .js-label { position: absolute; left: 0; width: 100%; z-index: 3; padding: 16px; font-family: |
| - | .js-card: | + | .js-card: |
| + | |||
| + | /* Dark vignette behind title */ | ||
| + | .js-title-bg { | ||
| + | position: fixed; | ||
| + | top: 50%; | ||
| + | left: 50%; | ||
| + | transform: translate(-50%, | ||
| + | width: 1100px; | ||
| + | height: 550px; | ||
| + | z-index: 1000; | ||
| + | pointer-events: | ||
| + | background: radial-gradient(ellipse at center, rgba(10, | ||
| + | animation: fadeIn 0.8s ease 0.2s both; | ||
| + | } | ||
| - | /* Title centered | + | /* Title — centered |
| .js-title { | .js-title { | ||
| position: fixed; | position: fixed; | ||
| - | top: 50px; | + | top: 0; |
| left: 0; | left: 0; | ||
| width: 100vw; | width: 100vw; | ||
| - | height: | + | height: 100vh; |
| - | z-index: | + | z-index: |
| pointer-events: | pointer-events: | ||
| display: flex; | display: flex; | ||
| Line 37: | Line 92: | ||
| } | } | ||
| - | /* Floating animation */ | ||
| @keyframes floatY { | @keyframes floatY { | ||
| 0%, 100% { transform: translateY(0px); | 0%, 100% { transform: translateY(0px); | ||
| Line 43: | Line 97: | ||
| } | } | ||
| - | /* Top label — MOVEMENT WIKI small */ | + | .js-title-sub { font-family: |
| - | .js-title-sub { | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | } | + | |
| - | /* Main title — JUMPSTART big */ | + | .js-title-main { font-family: |
| - | .js-title-main { | + | |
| - | | + | .js-title-divider { display: flex; align-items: |
| - | | + | .js-title-divider-line { height: 1px; width: 100px; background: linear-gradient(to right, transparent, |
| - | | + | .js-title-divider-diamond { width: 5px; height: 5px; background: rgba(184, |
| - | | + | |
| - | | + | /* Particle canvas — full viewport */ |
| - | | + | # |
| - | | + | |
| - | | + | @keyframes revealUp { from { opacity: 0; transform: translateY(20px); |
| - | | + | @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } |
| - | | + | @keyframes glowPulse { |
| - | | + | 0%, 100% { text-shadow: |
| - | | + | 50% { text-shadow: |
| } | } | ||
| + | @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); | ||
| - | /* Subtitle line */ | + | .js-card: |
| - | .js-title-divider | + | .js-card: |
| - | | + | .js-card: |
| - | | + | .js-card: |
| - | | + | |
| - | | + | /* VHS chromatic aberration — JS controlled |
| - | | + | .js-card { |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| } | } | ||
| - | .js-title-divider-line | + | .js-card.js-fading |
| - | | + | |
| - | width: 100px; | + | |
| - | background: linear-gradient(to right, transparent, | + | |
| } | } | ||
| - | .js-title-divider-diamond | + | /* Scanline overlay on fading cards */ |
| - | | + | .js-card.js-fading:: |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| + | | ||
| + | background: repeating-linear-gradient( | ||
| + | 0deg, | ||
| + | transparent 0px, | ||
| + | transparent 3px, | ||
| + | rgba(0, 0, 0, 0.08) 3px, | ||
| + | | ||
| + | | ||
| } | } | ||
| - | @keyframes revealUp | + | /* RGB canvas overlay */ |
| - | | + | .js-rgb-canvas |
| - | | + | |
| + | inset: 0; | ||
| + | z-index: 11; | ||
| + | pointer-events: | ||
| + | opacity: | ||
| + | transition: opacity | ||
| + | } | ||
| + | .js-card.js-fading .js-rgb-canvas { | ||
| + | opacity: 1; | ||
| } | } | ||
| - | @keyframes fadeIn | + | /* Block card hover effects when title zone is active */ |
| - | | + | .js-wrap.js-title-active .js-card: |
| - | | + | |
| + | filter: brightness(0.6) saturate(0.8) !important; | ||
| + | } | ||
| + | .js-wrap.js-title-active .js-card: | ||
| + | | ||
| + | } | ||
| + | .js-wrap.js-title-active .js-card: | ||
| + | top: 50% !important; | ||
| + | transform: translateY(-50%) !important; | ||
| + | letter-spacing: | ||
| + | color: #EDE8F5 !important; | ||
| + | text-shadow: 0 1px 0 rgba(0, | ||
| + | opacity: 0.7 !important; | ||
| + | } | ||
| + | .js-wrap.js-title-active .js-card: | ||
| + | | ||
| + | } | ||
| + | .js-wrap.js-title-active .js-card: | ||
| + | | ||
| } | } | ||
| - | @keyframes glowPulse | + | /* Etched label underline */ |
| - | | + | .js-label:: |
| - | | + | |
| + | position: absolute; | ||
| + | bottom: 6px; | ||
| + | left: 50%; | ||
| + | transform: translateX(-50%) scaleX(0); | ||
| + | | ||
| + | height: 1px; | ||
| + | background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); | ||
| + | transition: transform | ||
| + | } | ||
| + | .js-card: | ||
| + | transform: translateX(-50%) scaleX(1); | ||
| } | } | ||
| - | @keyframes fadeUp | + | /* Film grain overlay on label hover */ |
| + | .js-label:: | ||
| + | content: ''; | ||
| + | position: absolute; | ||
| + | inset: 0; | ||
| + | background: repeating-linear-gradient( | ||
| + | 0deg, | ||
| + | transparent, | ||
| + | transparent 2px, | ||
| + | rgba(0, | ||
| + | rgba(0, | ||
| + | | ||
| + | pointer-events: | ||
| + | | ||
| + | transition: opacity | ||
| + | } | ||
| + | .js-card: | ||
| + | opacity: 1; | ||
| + | } | ||
| + | </ | ||
| - | .js-card: | + | <div class=" |
| - | .js-card: | + | |
| - | .js-card: | + | |
| - | .js-card:nth-child(4) { animation: fadeUp 0.6s 0.45s ease both; } | + | |
| - | </style> | + | |
| <div class=" | <div class=" | ||
| Line 126: | Line 234: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | <canvas id=" | ||
| <div class=" | <div class=" | ||
| Line 162: | Line 272: | ||
| </ | </ | ||
| + | |||
| + | < | ||
| + | const canvas = document.getElementById(' | ||
| + | const ctx = canvas.getContext(' | ||
| + | canvas.width = window.innerWidth; | ||
| + | canvas.height = window.innerHeight; | ||
| + | |||
| + | const cx = canvas.width / 2; | ||
| + | const cy = canvas.height / 2; | ||
| + | const particles = []; | ||
| + | |||
| + | function randomRange(a, | ||
| + | |||
| + | for (let i = 0; i < 60; i++) { | ||
| + | particles.push({ | ||
| + | x: cx + randomRange(-180, | ||
| + | y: cy + randomRange(-80, | ||
| + | vx: randomRange(-0.3, | ||
| + | vy: randomRange(-0.8, | ||
| + | size: randomRange(1, | ||
| + | alpha: randomRange(0.4, | ||
| + | fade: randomRange(0.003, | ||
| + | color: Math.random() > 0.5 ? ' | ||
| + | }); | ||
| + | } | ||
| + | |||
| + | function resetParticle(p) { | ||
| + | p.x = cx + randomRange(-180, | ||
| + | p.y = cy + randomRange(-80, | ||
| + | p.vx = randomRange(-0.3, | ||
| + | p.vy = randomRange(-0.8, | ||
| + | p.alpha = randomRange(0.4, | ||
| + | p.size = randomRange(1, | ||
| + | p.fade = randomRange(0.003, | ||
| + | } | ||
| + | |||
| + | function draw() { | ||
| + | ctx.clearRect(0, | ||
| + | particles.forEach(p => { | ||
| + | p.x += p.vx; | ||
| + | p.y += p.vy; | ||
| + | p.alpha -= p.fade; | ||
| + | if (p.alpha <= 0) resetParticle(p); | ||
| + | ctx.beginPath(); | ||
| + | ctx.arc(p.x, | ||
| + | ctx.fillStyle = `rgba(${p.color}, | ||
| + | ctx.fill(); | ||
| + | }); | ||
| + | requestAnimationFrame(draw); | ||
| + | } | ||
| + | |||
| + | draw(); | ||
| + | |||
| + | window.addEventListener(' | ||
| + | canvas.width = window.innerWidth; | ||
| + | canvas.height = window.innerHeight; | ||
| + | }); | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | // VHS RGB chromatic aberration using canvas | ||
| + | (function() { | ||
| + | const cards = document.querySelectorAll(' | ||
| + | const wrap = document.querySelector(' | ||
| + | const titleEl = document.querySelector(' | ||
| + | let activeCard = null; | ||
| + | let fadeTimeout = null; | ||
| + | const canvases = new Map(); | ||
| + | const animFrames = new Map(); | ||
| + | |||
| + | // Create a canvas overlay for each card | ||
| + | cards.forEach(card => { | ||
| + | const canvas = document.createElement(' | ||
| + | canvas.className = ' | ||
| + | card.appendChild(canvas); | ||
| + | canvases.set(card, | ||
| + | }); | ||
| + | |||
| + | function drawRGB(card) { | ||
| + | const canvas = canvases.get(card); | ||
| + | const video = card.querySelector(' | ||
| + | if (!video || !canvas) return; | ||
| + | |||
| + | const w = card.offsetWidth; | ||
| + | const h = card.offsetHeight; | ||
| + | canvas.width = w; | ||
| + | canvas.height = h; | ||
| + | const ctx = canvas.getContext(' | ||
| + | |||
| + | function frame() { | ||
| + | if (!card.classList.contains(' | ||
| + | ctx.clearRect(0, | ||
| + | animFrames.delete(card); | ||
| + | return; | ||
| + | } | ||
| + | ctx.clearRect(0, | ||
| + | |||
| + | ctx.save(); | ||
| + | ctx.globalCompositeOperation = ' | ||
| + | ctx.globalAlpha = 0.18; | ||
| + | ctx.filter = ' | ||
| + | ctx.drawImage(video, | ||
| + | ctx.restore(); | ||
| + | |||
| + | ctx.save(); | ||
| + | ctx.globalCompositeOperation = ' | ||
| + | ctx.globalAlpha = 0.14; | ||
| + | ctx.filter = ' | ||
| + | ctx.drawImage(video, | ||
| + | ctx.restore(); | ||
| + | |||
| + | animFrames.set(card, | ||
| + | } | ||
| + | |||
| + | if (!animFrames.has(card)) { | ||
| + | animFrames.set(card, | ||
| + | } | ||
| + | } | ||
| + | |||
| + | function isTitleZone(e) { | ||
| + | const sub = document.querySelector(' | ||
| + | const main = document.querySelector(' | ||
| + | const divider = document.querySelector(' | ||
| + | if (!sub || !main) return false; | ||
| + | const top = sub.getBoundingClientRect().top - 20; | ||
| + | const bottom = (divider || main).getBoundingClientRect().bottom + 20; | ||
| + | const left = main.getBoundingClientRect().left - 40; | ||
| + | const right = main.getBoundingClientRect().right + 40; | ||
| + | return e.clientX >= left && e.clientX <= right && | ||
| + | | ||
| + | } | ||
| + | |||
| + | function setTitleGlow(on) { | ||
| + | if (!titleEl) return; | ||
| + | if (on) { | ||
| + | titleEl.style.transition = ' | ||
| + | titleEl.style.textShadow = '0 0 120px rgba(184, | ||
| + | titleEl.style.color = '# | ||
| + | } else { | ||
| + | titleEl.style.transition = ' | ||
| + | titleEl.style.textShadow = ''; | ||
| + | titleEl.style.color = ''; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | function setFading(hoveredCard) { | ||
| + | if (activeCard === hoveredCard) return; | ||
| + | activeCard = hoveredCard; | ||
| + | setTitleGlow(false); | ||
| + | wrap.classList.remove(' | ||
| + | cards.forEach(card => { | ||
| + | if (card !== hoveredCard) { | ||
| + | card.classList.add(' | ||
| + | drawRGB(card); | ||
| + | } else { | ||
| + | card.classList.remove(' | ||
| + | } | ||
| + | }); | ||
| + | } | ||
| + | |||
| + | function clearFading() { | ||
| + | activeCard = null; | ||
| + | setTitleGlow(false); | ||
| + | wrap.classList.remove(' | ||
| + | cards.forEach(card => card.classList.remove(' | ||
| + | } | ||
| + | |||
| + | function enterTitleZone() { | ||
| + | activeCard = ' | ||
| + | setTitleGlow(true); | ||
| + | wrap.classList.add(' | ||
| + | cards.forEach(card => card.classList.remove(' | ||
| + | } | ||
| + | |||
| + | wrap.addEventListener(' | ||
| + | if (isTitleZone(e)) { | ||
| + | clearTimeout(fadeTimeout); | ||
| + | if (activeCard !== ' | ||
| + | return; | ||
| + | } | ||
| + | |||
| + | // Find which card the mouse is over | ||
| + | let overCard = null; | ||
| + | cards.forEach(card => { | ||
| + | const rect = card.getBoundingClientRect(); | ||
| + | if (e.clientX >= rect.left && e.clientX <= rect.right && | ||
| + | e.clientY >= rect.top && e.clientY <= rect.bottom) { | ||
| + | overCard = card; | ||
| + | } | ||
| + | }); | ||
| + | |||
| + | if (overCard) { | ||
| + | clearTimeout(fadeTimeout); | ||
| + | setFading(overCard); | ||
| + | } | ||
| + | }); | ||
| + | |||
| + | wrap.addEventListener(' | ||
| + | clearTimeout(fadeTimeout); | ||
| + | fadeTimeout = setTimeout(clearFading, | ||
| + | }); | ||
| + | })(); | ||
| + | </ | ||
| </ | </ | ||