feat: add COUNTDOWN_TIMEZONES to countdown
This commit is contained in:
+130
-2
@@ -32,14 +32,14 @@
|
||||
.countdown-title {
|
||||
font-size: 3rem;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 10px;
|
||||
color: #FF0000;
|
||||
text-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.countdown-subtitle {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 50px;
|
||||
margin-bottom: 20px;
|
||||
color: #ffffff;
|
||||
opacity: 0.9;
|
||||
}
|
||||
@@ -92,6 +92,89 @@
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.countdown-other-timezones {
|
||||
margin: 25px 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 12px;
|
||||
max-width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.timezone-item {
|
||||
background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.05) 100%);
|
||||
padding: 12px 16px;
|
||||
border-radius: 12px;
|
||||
font-size: 0.95rem;
|
||||
color: #ffffff;
|
||||
backdrop-filter: blur(15px);
|
||||
border: 1px solid rgba(255, 0, 0, 0.3);
|
||||
text-align: center;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.timezone-item::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
|
||||
transition: left 0.5s ease;
|
||||
}
|
||||
|
||||
.timezone-item:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 25px rgba(255, 0, 0, 0.2);
|
||||
border-color: rgba(255, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.timezone-item:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.timezone-name {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
color: #FF0000;
|
||||
margin-bottom: 4px;
|
||||
font-size: 0.85rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.timezone-time {
|
||||
display: block;
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.day-indicator {
|
||||
font-size: 0.75rem;
|
||||
font-weight: bold;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
margin-left: 5px;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.day-indicator.next-day {
|
||||
background: rgba(0, 255, 0, 0.2);
|
||||
color: #00ff88;
|
||||
border: 1px solid rgba(0, 255, 0, 0.4);
|
||||
}
|
||||
|
||||
.day-indicator.prev-day {
|
||||
background: rgba(255, 165, 0, 0.2);
|
||||
color: #ffaa00;
|
||||
border: 1px solid rgba(255, 165, 0, 0.4);
|
||||
}
|
||||
|
||||
.countdown-social {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -156,6 +239,28 @@
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.countdown-other-timezones {
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.timezone-item {
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.timezone-name {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.timezone-time {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.day-indicator {
|
||||
font-size: 0.65rem;
|
||||
padding: 1px 4px;
|
||||
}
|
||||
|
||||
.countdown-social {
|
||||
gap: 15px;
|
||||
}
|
||||
@@ -182,6 +287,29 @@
|
||||
.countdown-label {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.countdown-other-timezones {
|
||||
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.timezone-item {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.timezone-name {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.timezone-time {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.day-indicator {
|
||||
font-size: 0.6rem;
|
||||
padding: 1px 3px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Animation d'entrée */
|
||||
|
||||
Reference in New Issue
Block a user