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:40] – jumpstartadmin | start [2026/06/11 08:33] (current) – jumpstartadmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| < | < | ||
| < | < | ||
| - | .js-wrap { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 999; display: grid; grid-template-columns: | + | @font-face { font-family: |
| + | @font-face { font-family: | ||
| + | |||
| + | /* 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: | ||
| - | .js-card video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } | + | |
| - | .js-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(26, | + | .js-card video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1); filter: brightness(0.6) saturate(0.8); |
| - | .js-card: | + | |
| - | .js-label { position: absolute; left: 0; width: 100%; z-index: 3; padding: 16px; font-family: | + | .js-card: |
| - | .js-card: | + | |
| - | .js-title { position: fixed; top: 55px; left: 0; width: 100%; z-index: 1000; text-align: center; font-family: | + | .js-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(26, |
| - | .js-title | + | |
| - | @keyframes | + | .js-card: |
| + | |||
| + | .js-label { position: absolute; left: 0; width: 100%; z-index: 3; padding: 16px; font-family: | ||
| + | |||
| + | .js-card: | ||
| + | |||
| + | /* Dark vignette behind title */ | ||
| + | .js-title-bg { | ||
| + | | ||
| + | | ||
| + | | ||
| + | transform: translate(-50%, -50%); | ||
| + | width: 600px; | ||
| + | height: 300px; | ||
| + | | ||
| + | pointer-events: none; | ||
| + | background: radial-gradient(ellipse at center, rgba(10, | ||
| + | animation: fadeIn 0.8s ease 0.2s both; | ||
| + | } | ||
| + | |||
| + | /* Title — centered in full viewport */ | ||
| + | .js-title { | ||
| + | position: fixed; | ||
| + | top: 0; | ||
| + | left: 0; | ||
| + | width: 100vw; | ||
| + | height: 100vh; | ||
| + | z-index: 1002; | ||
| + | pointer-events: | ||
| + | display: flex; | ||
| + | flex-direction: | ||
| + | | ||
| + | justify-content: | ||
| + | gap: 4px; | ||
| + | animation: floatY 4s ease-in-out infinite; | ||
| + | } | ||
| + | |||
| + | @keyframes floatY { | ||
| + | 0%, 100% { transform: translateY(0px); | ||
| + | 50% { transform: translateY(-8px); | ||
| + | } | ||
| + | |||
| + | .js-title-sub { font-family: | ||
| + | |||
| + | .js-title-main { font-family: | ||
| + | |||
| + | .js-title-divider { display: flex; align-items: | ||
| + | .js-title-divider-line | ||
| + | .js-title-divider-diamond { width: 5px; height: 5px; background: rgba(184, | ||
| + | |||
| + | /* Particle canvas — full viewport */ | ||
| + | #js-particles { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 1001; pointer-events: | ||
| + | |||
| + | @keyframes | ||
| + | @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); | @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); | ||
| + | |||
| .js-card: | .js-card: | ||
| .js-card: | .js-card: | ||
| Line 18: | Line 122: | ||
| </ | </ | ||
| - | <div class=" | + | <div class=" |
| + | |||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <canvas id=" | ||
| <div class=" | <div class=" | ||
| Line 57: | Line 173: | ||
| < | < | ||
| - | document.querySelectorAll('.js-card').forEach(card => { | + | const canvas = document.getElementById('js-particles'); |
| - | const video = card.querySelector('video'); | + | const ctx = canvas.getContext(' |
| - | video.load(); | + | canvas.width |
| - | video.pause(); | + | canvas.height = window.innerHeight; |
| - | card.addEventListener(' | + | |
| - | card.addEventListener(' | + | const cx = canvas.width / 2; |
| + | const cy = canvas.height / 2; | ||
| + | const particles = []; | ||
| + | |||
| + | function randomRange(a, b) { return a + Math.random() * (b - 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 ? '184,173,219' | ||
| + | }); | ||
| + | } | ||
| + | |||
| + | function resetParticle(p) { | ||
| + | p.x = cx + randomRange(-180, 180); | ||
| + | p.y = cy + randomRange(-80, 80); | ||
| + | p.vx = randomRange(-0.3, 0.3); | ||
| + | p.vy = randomRange(-0.8, -0.2); | ||
| + | p.alpha | ||
| + | p.size = randomRange(1, 2.5); | ||
| + | p.fade = randomRange(0.003, 0.008); | ||
| + | } | ||
| + | |||
| + | 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; | ||
| }); | }); | ||
| </ | </ | ||
| </ | </ | ||