CSNET's picture
ช่วยทำแผนที่ที่เคยไปเที่ยวมาแล้วหน่อย
b9e5343 verified
Raw History Blame Contribute Delete
2.65 kB
/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
scroll-behavior: smooth;
}
/* Custom Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
/* Custom Classes */
.animate-fade-in-up {
animation: fadeInUp 0.6s ease-out;
}
.animate-pulse-slow {
animation: pulse 2s infinite;
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
/* Map Customization */
.leaflet-popup-content-wrapper {
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.leaflet-popup-content {
margin: 12px;
min-width: 200px;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Gradient Text */
.gradient-text {
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Card Hover Effects */
.hover-lift {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
/* Timeline Custom Styles */
.timeline-dot {
position: relative;
z-index: 2;
}
.timeline-dot::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 20px;
height: 20px;
background: inherit;
border-radius: 50%;
z-index: -1;
opacity: 0.2;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.timeline-dot {
width: 16px;
height: 16px;
}
.timeline-dot::before {
width: 32px;
height: 32px;
}
}
/* Loading Animation */
.loading-spinner {
width: 40px;
height: 40px;
border: 4px solid #f3f3f3;
border-top: 4px solid #3b82f6;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}