DontClickThis/styles.css
2025-05-28 22:31:38 -04:00

86 lines
No EOL
1.6 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
color: #fff;
transition: all 0.3s ease;
}
.container {
text-align: center;
padding: 2rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 15px;
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
h1 {
font-size: 3rem;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.warning {
color: #ff4444;
margin-bottom: 2rem;
font-size: 1.2rem;
opacity: 0.8;
}
#dangerButton {
padding: 1rem 2rem;
font-size: 1.2rem;
background: #ff4444;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}
#dangerButton:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}
#dangerButton:active {
transform: translateY(1px);
}
.click-count {
margin-top: 2rem;
font-size: 1.1rem;
opacity: 0.8;
}
/* Animation classes that will be added by JavaScript */
.spin {
animation: spin 1s linear infinite;
}
.shake {
animation: shake 0.5s ease-in-out;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-10px); }
75% { transform: translateX(10px); }
}