feat: add countdown files
This commit is contained in:
@@ -0,0 +1,211 @@
|
||||
/* Styles pour la page de compte à rebours */
|
||||
.countdown-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 9999;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.countdown-container {
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.countdown-logo {
|
||||
width: 150px;
|
||||
height: auto;
|
||||
margin-bottom: 30px;
|
||||
filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.3));
|
||||
}
|
||||
|
||||
.countdown-title {
|
||||
font-size: 3rem;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
color: #FF0000;
|
||||
text-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.countdown-subtitle {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 50px;
|
||||
color: #ffffff;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.countdown-timer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 30px;
|
||||
margin-bottom: 40px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.countdown-unit {
|
||||
text-align: center;
|
||||
background: rgba(255, 0, 0, 0.1);
|
||||
border: 2px solid #FF0000;
|
||||
border-radius: 15px;
|
||||
padding: 20px;
|
||||
min-width: 120px;
|
||||
backdrop-filter: blur(10px);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
.countdown-unit:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.countdown-number {
|
||||
font-size: 3rem;
|
||||
font-weight: bold;
|
||||
color: #FF0000;
|
||||
display: block;
|
||||
text-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.countdown-label {
|
||||
font-size: 1rem;
|
||||
color: #ffffff;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.countdown-message {
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 30px;
|
||||
color: #ffffff;
|
||||
opacity: 0.8;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.countdown-social {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.countdown-social a {
|
||||
color: #ffffff;
|
||||
font-size: 2rem;
|
||||
transition: all 0.3s ease;
|
||||
padding: 10px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.countdown-social a:hover {
|
||||
color: #FF0000;
|
||||
transform: scale(1.2);
|
||||
box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* Animation de pulsation pour le titre */
|
||||
@keyframes pulse {
|
||||
0%, 100% {
|
||||
text-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
|
||||
}
|
||||
50% {
|
||||
text-shadow: 0 0 50px rgba(255, 0, 0, 0.8);
|
||||
}
|
||||
}
|
||||
|
||||
.countdown-title {
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.countdown-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.countdown-subtitle {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.countdown-timer {
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.countdown-unit {
|
||||
min-width: 80px;
|
||||
padding: 15px 10px;
|
||||
}
|
||||
|
||||
.countdown-number {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.countdown-label {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.countdown-logo {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.countdown-social {
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.countdown-social a {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.countdown-timer {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.countdown-unit {
|
||||
min-width: 70px;
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
.countdown-number {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.countdown-label {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Animation d'entrée */
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(30px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.countdown-container > * {
|
||||
animation: fadeInUp 0.8s ease forwards;
|
||||
}
|
||||
|
||||
.countdown-container > *:nth-child(1) { animation-delay: 0.1s; }
|
||||
.countdown-container > *:nth-child(2) { animation-delay: 0.2s; }
|
||||
.countdown-container > *:nth-child(3) { animation-delay: 0.3s; }
|
||||
.countdown-container > *:nth-child(4) { animation-delay: 0.4s; }
|
||||
.countdown-container > *:nth-child(5) { animation-delay: 0.5s; }
|
||||
Reference in New Issue
Block a user