Update theme to Balloon Gala Party

This commit is contained in:
Brian Smith
2026-08-14 21:26:12 -07:00
parent e7dbcef571
commit 4c2849d535
2 changed files with 143 additions and 83 deletions
+25 -14
View File
@@ -1,21 +1,32 @@
import './style.css' import './style.css'
document.querySelector('#app').innerHTML = ` document.querySelector('#app').innerHTML = `
<div class="reactor"> <div class="balloon-container">
<div class="core"></div> ${Array.from({length: 20}).map(() => `<div class="balloon" style="--left: ${Math.random() * 100}%; --delay: ${Math.random() * 5}s; --color: hsl(${Math.random() * 360}, 80%, 60%); --scale: ${0.5 + Math.random() * 0.8}"></div>`).join('')}
</div> </div>
<h1>☢️ NUCLEAR POWER PARTY ☢️</h1>
<p class="warning">WARNING: HIGH ENERGY VIBES DETECTED</p> <main class="glass-panel">
<button id="meltdown-btn">INITIATE MELTDOWN</button> <h1>The Ultimate Balloon Gala</h1>
<div id="status">Status: Stable</div> <p class="subtitle">Join us for a night of floating fun, vivid colors, and high-altitude entertainment.</p>
<div class="details">
<div class="detail-item">
<span class="icon">📅</span>
<span>Saturday, August 29th, 2026</span>
</div>
<div class="detail-item">
<span class="icon">📍</span>
<span>The Sky Lounge, Downtown</span>
</div>
</div>
<button id="rsvp-btn">RSVP NOW</button>
</main>
` `
document.querySelector('#meltdown-btn').addEventListener('click', () => { document.querySelector('#rsvp-btn').addEventListener('click', (e) => {
document.querySelector('.core').style.backgroundColor = '#ff0000'; e.target.innerHTML = '🎉 YOU ARE ON THE GUEST LIST! 🎉';
document.querySelector('.core').style.boxShadow = '0 0 100px #ff0000, 0 0 200px #ff0000'; e.target.style.backgroundColor = '#10b981';
document.querySelector('h1').style.color = '#ff0000'; e.target.style.color = 'white';
document.querySelector('h1').style.textShadow = '0 0 20px #ff0000'; e.target.style.transform = 'scale(1.05)';
document.querySelector('#status').innerHTML = 'Status: CRITICAL MELTDOWN IN PROGRESS! 🕺💃';
document.querySelector('#status').style.color = '#ff0000';
document.querySelector('#status').style.animation = 'blink 0.2s infinite';
}); });
+118 -69
View File
@@ -1,12 +1,10 @@
:root { @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;600;800&display=swap');
font-family: 'Courier New', Courier, monospace;
line-height: 1.5;
font-weight: 400;
color-scheme: dark; :root {
color: #39ff14; font-family: 'Outfit', sans-serif;
background-color: #111; color-scheme: light dark;
text-align: center; background: linear-gradient(135deg, #1e1e2f 0%, #2a2a4a 100%);
color: #fff;
} }
body { body {
@@ -15,80 +13,131 @@ body {
place-items: center; place-items: center;
min-width: 320px; min-width: 320px;
min-height: 100vh; min-height: 100vh;
flex-direction: column; overflow: hidden;
justify-content: center; position: relative;
}
/* Floating Balloons */
.balloon-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}
.balloon {
position: absolute;
bottom: -150px;
left: var(--left);
width: 60px;
height: 75px;
background-color: var(--color);
border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
transform: scale(var(--scale));
animation: floatUp 10s ease-in infinite;
animation-delay: var(--delay);
opacity: 0.8;
box-shadow: inset -10px -10px 15px rgba(0,0,0,0.2), inset 10px 10px 15px rgba(255,255,255,0.4);
}
.balloon::after {
content: '';
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 8px solid var(--color);
}
@keyframes floatUp {
0% { transform: translateY(0) scale(var(--scale)) rotate(-5deg); }
50% { transform: translateY(-60vh) scale(var(--scale)) rotate(5deg); }
100% { transform: translateY(-120vh) scale(var(--scale)) rotate(-5deg); }
}
/* Glassmorphism Panel */
.glass-panel {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 24px;
padding: 3rem;
max-width: 500px;
text-align: center;
z-index: 10;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
margin: 0 auto;
} }
h1 { h1 {
font-size: 3.2em; font-size: 3rem;
line-height: 1.1; font-weight: 800;
text-shadow: 0 0 10px #39ff14; margin: 0 0 1rem 0;
margin-top: 40px; background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 300%;
animation: gradientFlow 5s ease infinite;
} }
.reactor { @keyframes gradientFlow {
width: 200px; 0% { background-position: 0% 50%; }
height: 200px; 50% { background-position: 100% 50%; }
border-radius: 50%; 100% { background-position: 0% 50%; }
border: 10px solid #555; }
margin: 0 auto;
.subtitle {
font-size: 1.2rem;
font-weight: 300;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 2rem;
}
.details {
display: flex;
flex-direction: column;
gap: 1rem;
margin-bottom: 2rem;
text-align: left;
}
.detail-item {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; background: rgba(0, 0, 0, 0.2);
position: relative; padding: 1rem;
background: #222; border-radius: 12px;
box-shadow: inset 0 0 50px #000; font-size: 1.1rem;
} }
.core { .icon {
width: 100px; font-size: 1.5rem;
height: 100px; margin-right: 1rem;
border-radius: 50%;
background-color: #39ff14;
box-shadow: 0 0 50px #39ff14, 0 0 100px #39ff14;
animation: pulse 2s infinite alternate;
transition: all 1s;
}
@keyframes pulse {
0% { transform: scale(0.9); box-shadow: 0 0 20px #39ff14; }
100% { transform: scale(1.1); box-shadow: 0 0 60px #39ff14, 0 0 100px #39ff14; }
}
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
.warning {
font-weight: bold;
font-size: 1.2em;
color: #ffff00;
margin: 20px 0;
} }
button { button {
border-radius: 8px; background: #feca57;
border: 2px solid #ff0000; color: #222;
padding: 0.6em 1.2em; border: none;
font-size: 1.2em; padding: 1rem 2rem;
font-weight: bold; font-size: 1.2rem;
font-family: inherit; font-weight: 800;
background-color: #330000; border-radius: 50px;
color: #ff0000;
cursor: pointer; cursor: pointer;
transition: all 0.25s; width: 100%;
box-shadow: 0 0 10px #ff0000; transition: all 0.3s ease;
} box-shadow: 0 10px 20px rgba(254, 202, 87, 0.3);
button:hover {
background-color: #ff0000;
color: #fff;
box-shadow: 0 0 20px #ff0000;
} }
#status { button:hover {
margin-top: 30px; transform: translateY(-3px);
font-size: 1.5em; box-shadow: 0 15px 25px rgba(254, 202, 87, 0.5);
font-weight: bold;
} }