Spaces:
Running
Running
File size: 12,413 Bytes
3cf44ba |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Humorous Interface</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
@keyframes wiggle {
0%, 100% { transform: rotate(0deg); }
25% { transform: rotate(5deg); }
75% { transform: rotate(-5deg); }
}
@keyframes rainbow {
0% { background-color: #ff9a9e; }
25% { background-color: #fad0c4; }
50% { background-color: #fbc2eb; }
75% { background-color: #a6c1ee; }
100% { background-color: #ff9a9e; }
}
.animate-rainbow {
animation: rainbow 5s infinite;
}
.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
.tooltip-text {
visibility: hidden;
opacity: 0;
transition: opacity 0.3s;
}
.dodging {
position: relative;
animation: dodge 1s infinite;
}
@keyframes dodge {
0% { left: 0; }
25% { left: -20px; }
50% { left: 20px; }
75% { left: -10px; }
100% { left: 0; }
}
</style>
</head>
<body class="bg-gradient-to-br from-blue-50 to-purple-50 min-h-screen p-6">
<div class="max-w-4xl mx-auto">
<!-- Header with humorous title -->
<header class="text-center mb-12">
<h1 class="text-4xl md:text-5xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-purple-600 to-pink-600 mb-4">
The Interface That Refuses to Take Itself Seriously
</h1>
<p class="text-lg text-gray-600">
Welcome to the website where the buttons have more personality than most people
</p>
</header>
<!-- Main content area -->
<main class="space-y-8">
<!-- Section 1: Playful buttons -->
<section class="bg-white rounded-xl shadow-lg p-6">
<h2 class="text-2xl font-bold text-purple-700 mb-4">Buttons With Attitude</h2>
<div class="flex flex-wrap gap-4">
<button
id="clickMeBtn"
class="px-6 py-3 rounded-full bg-gradient-to-r from-purple-500 to-pink-500 text-white font-semibold hover:scale-105 transform transition-transform duration-200 hover:rotate-1"
>
Click Me (I Dare You)
</button>
<button
class="px-6 py-3 rounded-full bg-gradient-to-r from-blue-400 to-teal-400 text-white font-semibold hover:animate-bounce"
>
Hover Me for Bounce
</button>
<button
id="rainbowBtn"
class="px-6 py-3 rounded-full bg-pink-500 text-white font-semibold hover:animate-rainbow"
>
Rainbow Mode
</button>
</div>
<p id="clickCounter" class="mt-4 text-gray-600 italic">Button clicks so far: 0</p>
</section>
<!-- Section 2: Subversive form -->
<section class="bg-white rounded-xl shadow-lg p-6">
<h2 class="text-2xl font-bold text-purple-700 mb-4">The Form That Fights Back</h2>
<form id="sillyForm" class="space-y-4">
<div>
<label for="name" class="block text-gray-700 mb-1">Your Name (We Won't Judge)</label>
<input
type="text"
id="name"
placeholder="Probably 'Awesome Human'"
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent"
>
</div>
<div>
<label for="email" class="block text-gray-700 mb-1">Your Email (We Promise Not to Spam)</label>
<input
type="email"
id="email"
placeholder="not@fake.com"
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent"
>
</div>
<div class="flex items-center gap-4">
<button
type="submit"
class="px-6 py-3 rounded-lg bg-gradient-to-r from-green-400 to-blue-500 text-white font-semibold hover:animate-wiggle"
>
Submit (If You Can Find Me)
</button>
<button
id="cancelBtn"
type="button"
class="px-6 py-3 rounded-lg bg-gray-200 text-gray-700 font-semibold hover:bg-gray-300 transition-colors"
>
Cancel (Good Luck)
</button>
</div>
</form>
<div id="formResponse" class="mt-4 hidden p-4 bg-green-100 text-green-800 rounded-lg"></div>
</section>
<!-- Section 3: Witty tooltips -->
<section class="bg-white rounded-xl shadow-lg p-6">
<h2 class="text-2xl font-bold text-purple-700 mb-4">Tooltips With Sass</h2>
<div class="flex flex-wrap gap-4">
<div class="tooltip relative inline-block">
<button class="px-6 py-3 rounded-lg bg-yellow-400 text-yellow-900 font-semibold">
Hover Over Me
</button>
<div class="tooltip-text absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-3 py-2 bg-gray-800 text-white text-sm rounded-lg whitespace-nowrap">
Wow, you found me! Gold star ⭐
</div>
</div>
<div class="tooltip relative inline-block">
<button class="px-6 py-3 rounded-lg bg-red-400 text-red-900 font-semibold">
No, Hover Over Me
</button>
<div class="tooltip-text absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-3 py-2 bg-gray-800 text-white text-sm rounded-lg whitespace-nowrap">
You're really good at this hovering thing
</div>
</div>
<div class="tooltip relative inline-block">
<button class="px-6 py-3 rounded-lg bg-blue-400 text-blue-900 font-semibold">
Seriously, Me Next
</button>
<div class="tooltip-text absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-3 py-2 bg-gray-800 text-white text-sm rounded-lg whitespace-nowrap">
Okay, you can stop now. This is getting weird.
</div>
</div>
</div>
</section>
<!-- Section 4: Loading animation -->
<section class="bg-white rounded-xl shadow-lg p-6">
<h2 class="text-2xl font-bold text-purple-700 mb-4">Loading... Probably</h2>
<button id="loadBtn" class="px-6 py-3 rounded-lg bg-indigo-500 text-white font-semibold">
Simulate Loading
</button>
<div id="loadingContainer" class="mt-4 hidden">
<div class="flex items-center justify-center space-x-2">
<div class="w-4 h-4 rounded-full bg-purple-500 animate-bounce"></div>
<div class="w-4 h-4 rounded-full bg-pink-500 animate-bounce" style="animation-delay: 0.2s"></div>
<div class="w-4 h-4 rounded-full bg-blue-500 animate-bounce" style="animation-delay: 0.4s"></div>
</div>
<p class="text-center mt-2 text-gray-600" id="loadingText">Loading your patience...</p>
</div>
</section>
</main>
<!-- Footer with humorous note -->
<footer class="mt-12 text-center text-gray-500">
<p>Made with ❤️, 😂, and probably too much coffee</p>
<p class="text-sm mt-2">No interfaces were harmed in the making of this website (but several took offense)</p>
</footer>
</div>
<script>
// Click counter button
let clickCount = 0;
const clickMeBtn = document.getElementById('clickMeBtn');
const clickCounter = document.getElementById('clickCounter');
clickMeBtn.addEventListener('click', () => {
clickCount++;
clickCounter.textContent = `Button clicks so far: ${clickCount}`;
// Change button text based on click count
if (clickCount === 1) {
clickMeBtn.textContent = "Again? You're persistent!";
} else if (clickCount === 3) {
clickMeBtn.textContent = "Okay, we get it. You can click.";
} else if (clickCount === 5) {
clickMeBtn.textContent = "Seriously? Find a hobby.";
clickMeBtn.classList.add('animate-wiggle');
} else if (clickCount === 10) {
clickMeBtn.textContent = "FINE. You win. Happy?";
clickMeBtn.classList.remove('animate-wiggle');
clickMeBtn.classList.add('animate-rainbow');
}
});
// Dodging cancel button
const cancelBtn = document.getElementById('cancelBtn');
let cancelAttempts = 0;
cancelBtn.addEventListener('mouseover', () => {
cancelAttempts++;
if (cancelAttempts < 3) {
cancelBtn.classList.add('dodging');
setTimeout(() => {
cancelBtn.classList.remove('dodging');
}, 1000);
} else {
cancelBtn.textContent = "Okay fine, you can cancel";
cancelBtn.classList.remove('bg-gray-200', 'hover:bg-gray-300');
cancelBtn.classList.add('bg-red-100', 'hover:bg-red-200');
}
});
// Silly form submission
const sillyForm = document.getElementById('sillyForm');
const formResponse = document.getElementById('formResponse');
sillyForm.addEventListener('submit', (e) => {
e.preventDefault();
formResponse.classList.remove('hidden');
const name = document.getElementById('name').value || 'Mystery Person';
const responses = [
`Wow ${name}, that was impressive form-filling!`,
`${name}, your data is now... somewhere probably.`,
`Congratulations ${name}! You've successfully submitted nothing!`,
`${name}, we would process your form if we knew how.`
];
formResponse.textContent = responses[Math.floor(Math.random() * responses.length)];
});
// Loading simulation
const loadBtn = document.getElementById('loadBtn');
const loadingContainer = document.getElementById('loadingContainer');
const loadingText = document.getElementById('loadingText');
const loadingPhrases = [
"Loading your patience...",
"Pretending to work hard...",
"Counting virtual sheep...",
"Blaming the backend team...",
"Almost there... (not really)",
"This would be faster if you believed in it"
];
loadBtn.addEventListener('click', () => {
loadingContainer.classList.remove('hidden');
let counter = 0;
const interval = setInterval(() => {
loadingText.textContent = loadingPhrases[counter % loadingPhrases.length];
counter++;
}, 2000);
setTimeout(() => {
clearInterval(interval);
loadingContainer.classList.add('hidden');
formResponse.classList.remove('hidden');
formResponse.textContent = "Just kidding! Nothing actually loaded. Refresh to try again.";
formResponse.classList.remove('bg-green-100', 'text-green-800');
formResponse.classList.add('bg-yellow-100', 'text-yellow-800');
}, 8000);
});
// Rainbow button toggle
const rainbowBtn = document.getElementById('rainbowBtn');
let rainbowMode = false;
rainbowBtn.addEventListener('click', () => {
rainbowMode = !rainbowMode;
if (rainbowMode) {
document.body.classList.add('animate-rainbow');
rainbowBtn.textContent = "Normal Mode (Boring)";
} else {
document.body.classList.remove('animate-rainbow');
rainbowBtn.textContent = "Rainbow Mode";
}
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=dfbdokk/humorous-interface" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |