metromind-navigator / style.css
arvind24352's picture
show on map and the routes, stops and trips. TheDelhi Metro Network
9b906dd verified
Raw
History Blame Contribute Delete
1.57 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Custom animation for cards */
.card-hover {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Pulse animation for important elements */
@keyframes pulse {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.05);
opacity: 0.8;
}
100% {
transform: scale(1);
opacity: 1;
}
}
.pulse {
animation: pulse 2s infinite;
}
/* Leaflet map styles */
#network-visualization {
z-index: 0;
}
.leaflet-popup-content {
font-family: 'Inter', sans-serif;
font-size: 0.9rem;
}
.leaflet-popup-content h3 {
margin: 0 0 0.5rem 0;
font-size: 1rem;
font-weight: 600;
}
.leaflet-control {
font-family: 'Inter', sans-serif;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out forwards;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}