Spaces:
Running
Running
Download style.css from namlt/motoride-pro: direct link, hf CLI and curl.
- Browser
- Download file 3.24 kB
-
https://huggingface.co/spaces/namlt/motoride-pro/resolve/main/style.css
- Command line
-
hf download hf://spaces/namlt/motoride-pro/style.css
-
curl -L -o style.css https://huggingface.co/spaces/namlt/motoride-pro/resolve/main/style.css
3.24 kB
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap'); | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| overflow-x: hidden; | |
| } | |
| /* Smooth Scroll */ | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| /* Custom Animations */ | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| @keyframes slideUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(40px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .animate-fade-in { | |
| animation: fadeIn 1s ease-out; | |
| } | |
| .animate-slide-up { | |
| animation: slideUp 0.8s ease-out; | |
| } | |
| /* Loading Screen */ | |
| #loader { | |
| transition: opacity 0.5s ease-out; | |
| pointer-events: none; | |
| } | |
| #loader.hidden { | |
| opacity: 0; | |
| } | |
| /* Bike Card Hover Effects */ | |
| .bike-card { | |
| transition: all 0.3s ease; | |
| transform-style: preserve-3d; | |
| } | |
| .bike-card:hover { | |
| transform: translateY(-10px) scale(1.02); | |
| } | |
| .bike-card .bike-image { | |
| transition: transform 0.3s ease; | |
| } | |
| .bike-card:hover .bike-image { | |
| transform: scale(1.1); | |
| } | |
| /* Counter Animation */ | |
| .counter { | |
| transition: all 0.5s ease; | |
| } | |
| /* Navbar Styles */ | |
| .navbar-scrolled { | |
| backdrop-filter: blur(10px); | |
| background-color: rgba(15, 23, 42, 0.95) ; | |
| } | |
| /* Button Hover Effects */ | |
| .btn-hover { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .btn-hover::before { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 0; | |
| height: 0; | |
| border-radius: 50%; | |
| background: rgba(255, 255, 255, 0.2); | |
| transform: translate(-50%, -50%); | |
| transition: width 0.6s, height 0.6s; | |
| } | |
| .btn-hover:hover::before { | |
| width: 300px; | |
| height: 300px; | |
| } | |
| /* Form Input Focus Effects */ | |
| .form-input:focus { | |
| box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.1); | |
| } | |
| /* Scrollbar Styling */ | |
| ::-webkit-scrollbar { | |
| width: 10px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #1e293b; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #f97316; | |
| border-radius: 5px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #ea580c; | |
| } | |
| /* Responsive Text Sizes */ | |
| @media (max-width: 640px) { | |
| .hero-title { | |
| font-size: 2.5rem; | |
| line-height: 1.2; | |
| } | |
| } | |
| /* Glassmorphism Effect */ | |
| .glass { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| /* Gradient Text */ | |
| .gradient-text { | |
| background: linear-gradient(135deg, #fff 0%, #f97316 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| /* Pulse Animation */ | |
| @keyframes pulse { | |
| 0%, 100% { | |
| transform: scale(1); | |
| } | |
| 50% { | |
| transform: scale(1.05); | |
| } | |
| } | |
| .pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| /* Shimmer Effect */ | |
| @keyframes shimmer { | |
| 0% { | |
| background-position: -1000px 0; | |
| } | |
| 100% { | |
| background-position: 1000px 0; | |
| } | |
| } | |
| .shimmer { | |
| background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); | |
| background-size: 1000px 100%; | |
| animation: shimmer 2s infinite; | |
| } |