Spaces:
Running
Running
Download style.css from midhunnr/gravity-ev-website: direct link, hf CLI and curl.
- Browser
- Download file 4.71 kB
-
https://huggingface.co/spaces/midhunnr/gravity-ev-website/resolve/main/style.css
- Command line
-
hf download hf://spaces/midhunnr/gravity-ev-website/style.css
-
curl -L -o style.css https://huggingface.co/spaces/midhunnr/gravity-ev-website/resolve/main/style.css
4.71 kB
| /* Custom styles for Gravity EV website */ | |
| * { | |
| scroll-behavior: smooth; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| /* Custom animations */ | |
| @keyframes pulse-blue { | |
| 0%, 100% { | |
| box-shadow: 0 0 0 0 rgba(10, 77, 255, 0.7); | |
| } | |
| 50% { | |
| box-shadow: 0 0 0 10px rgba(10, 77, 255, 0); | |
| } | |
| } | |
| @keyframes float { | |
| 0%, 100% { | |
| transform: translateY(0px); | |
| } | |
| 50% { | |
| transform: translateY(-10px); | |
| } | |
| } | |
| @keyframes slide-up { | |
| from { | |
| opacity: 0; | |
| transform: translateY(30px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| /* Counter animation */ | |
| .counter { | |
| animation: slide-up 0.8s ease-out; | |
| } | |
| /* Glassmorphism effect */ | |
| .glass { | |
| background: rgba(255, 255, 255, 0.25); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.18); | |
| } | |
| /* Gradient text */ | |
| .gradient-text { | |
| background: linear-gradient(135deg, #0A4DFF 0%, #0039CC 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| /* Hover effects for cards */ | |
| .card-hover { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-8px); | |
| box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); | |
| } | |
| /* Navigation styles */ | |
| nav { | |
| transition: all 0.3s ease; | |
| } | |
| .nav-scrolled { | |
| background: rgba(255, 255, 255, 0.95) ; | |
| backdrop-filter: blur(20px); | |
| border-bottom: 1px solid rgba(0, 0, 0, 0.1); | |
| } | |
| /* Button animations */ | |
| .btn-primary { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .btn-primary::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); | |
| transition: left 0.5s; | |
| } | |
| .btn-primary:hover::before { | |
| left: 100%; | |
| } | |
| /* Partner logo grid */ | |
| .partner-logo { | |
| filter: grayscale(100%); | |
| transition: all 0.3s ease; | |
| } | |
| .partner-logo:hover { | |
| filter: grayscale(0%); | |
| transform: scale(1.05); | |
| } | |
| /* Loading animation for counters */ | |
| @keyframes countUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .count-animation { | |
| animation: countUp 0.8s ease-out; | |
| } | |
| /* Mobile menu styles */ | |
| #mobile-menu { | |
| transition: all 0.3s ease; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #0A4DFF; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #0039CC; | |
| } | |
| /* Floating elements */ | |
| .floating { | |
| animation: float 3s ease-in-out infinite; | |
| } | |
| /* Progress bars */ | |
| .progress-bar { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .progress-bar::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| height: 100%; | |
| width: 0; | |
| background: linear-gradient(90deg, #0A4DFF, #0039CC); | |
| animation: fillProgress 2s ease-out forwards; | |
| } | |
| @keyframes fillProgress { | |
| to { | |
| width: var(--progress-width); | |
| } | |
| } | |
| /* Testimonial card styles */ | |
| .testimonial-card { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .testimonial-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: conic-gradient(from 0deg, transparent, rgba(10, 77, 255, 0.1), transparent); | |
| animation: rotate 10s linear infinite; | |
| z-index: 0; | |
| } | |
| .testimonial-card > * { | |
| position: relative; | |
| z-index: 1; | |
| } | |
| @keyframes rotate { | |
| from { | |
| transform: rotate(0deg); | |
| } | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| /* Form focus styles */ | |
| input:focus, | |
| textarea:focus { | |
| outline: none; | |
| ring: 2px; | |
| ring-color: #0A4DFF; | |
| border-color: transparent; | |
| } | |
| /* Mobile optimizations */ | |
| @media (max-width: 768px) { | |
| .hero-title { | |
| font-size: 2.5rem; | |
| line-height: 1.2; | |
| } | |
| .section-padding { | |
| padding: 3rem 0; | |
| } | |
| .card-grid { | |
| grid-template-columns: 1fr; | |
| gap: 1.5rem; | |
| } | |
| } | |
| /* Print styles */ | |
| @media print { | |
| .no-print { | |
| display: none ; | |
| } | |
| } | |
| /* High contrast mode support */ | |
| @media (prefers-contrast: high) { | |
| .bg-gravity-blue { | |
| background-color: #000080; | |
| } | |
| .text-gravity-blue { | |
| color: #000080; | |
| } | |
| } | |
| /* Reduced motion support */ | |
| @media (prefers-reduced-motion: reduce) { | |
| *, | |
| *::before, | |
| *::after { | |
| animation-duration: 0.01ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: 0.01ms ; | |
| } | |
| } |