Spaces:
Running
Running
Download style.css from Zx4o/mapcraft-navigator: direct link, hf CLI and curl.
- Browser
- Download file 3.25 kB
-
https://huggingface.co/spaces/Zx4o/mapcraft-navigator/resolve/main/style.css
- Command line
-
hf download hf://spaces/Zx4o/mapcraft-navigator/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Zx4o/mapcraft-navigator/resolve/main/style.css
3.25 kB
| /* Global Styles */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; | |
| overflow-x: hidden; | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 10px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #1f2937; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #4b5563; | |
| border-radius: 5px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #6b7280; | |
| } | |
| /* Animations */ | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| @keyframes slideIn { | |
| from { | |
| transform: translateX(-20px); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateX(0); | |
| opacity: 1; | |
| } | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-out; | |
| } | |
| .slide-in { | |
| animation: slideIn 0.3s ease-out; | |
| } | |
| /* Custom Map Styles */ | |
| .leaflet-container { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
| } | |
| .leaflet-popup-content { | |
| color: #1f2937; | |
| } | |
| .leaflet-control-zoom a { | |
| background-color: #1f2937 ; | |
| color: #f3f4f6 ; | |
| border-color: #374151 ; | |
| } | |
| .leaflet-control-zoom a:hover { | |
| background-color: #374151 ; | |
| } | |
| /* Custom Button Effects */ | |
| .btn-hover-effect { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .btn-hover-effect:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3); | |
| } | |
| /* Gradient Text */ | |
| .gradient-text { | |
| background: linear-gradient(135deg, #38bdf8 0%, #a855f7 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| /* Glass Effect */ | |
| .glass-effect { | |
| background: rgba(31, 41, 55, 0.7); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| /* Route Animation */ | |
| .route-path { | |
| stroke-dasharray: 10; | |
| animation: dash 20s linear infinite; | |
| } | |
| @keyframes dash { | |
| to { | |
| stroke-dashoffset: 1000; | |
| } | |
| } | |
| /* Loading Spinner */ | |
| .spinner { | |
| border: 3px solid rgba(59, 130, 246, 0.1); | |
| border-radius: 50%; | |
| border-top: 3px solid #0ea5e9; | |
| width: 40px; | |
| height: 40px; | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| /* Pulse Animation */ | |
| .pulse { | |
| animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { | |
| opacity: 1; | |
| } | |
| 50% { | |
| opacity: 0.5; | |
| } | |
| } | |
| /* Responsive Adjustments */ | |
| @media (max-width: 768px) { | |
| .mobile-stack { | |
| flex-direction: column; | |
| } | |
| .mobile-full { | |
| width: 100%; | |
| } | |
| .mobile-text-center { | |
| text-align: center; | |
| } | |
| } | |
| /* Custom Form Styles */ | |
| .form-input:focus { | |
| box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); | |
| } | |
| /* Card Hover Effects */ | |
| .card-hover { | |
| transition: all 0.3s ease; | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-4px); | |
| box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3); | |
| } | |
| /* Custom Selection */ | |
| ::selection { | |
| background-color: rgba(14, 165, 233, 0.3); | |
| color: #ffffff; | |
| } |