Spaces:
Running
Running
Download style.css from hlenkao/smartfinance-wizardry: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/spaces/hlenkao/smartfinance-wizardry/resolve/main/style.css
- Command line
-
hf download hf://spaces/hlenkao/smartfinance-wizardry/style.css
-
curl -L -o style.css https://huggingface.co/spaces/hlenkao/smartfinance-wizardry/resolve/main/style.css
1.36 kB
| /* Custom styles that can't be done with Tailwind */ | |
| @import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;700&display=swap'); | |
| body { | |
| font-family: 'Red Hat Display', sans-serif; | |
| scroll-behavior: smooth; | |
| } | |
| /* Animation for the hero section */ | |
| @keyframes float { | |
| 0% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| 100% { transform: translateY(0px); } | |
| } | |
| .floating { | |
| animation: float 3s ease-in-out infinite; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #0E1F26; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #22FFC4; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #1ae0b0; | |
| } | |
| /* Section spacing */ | |
| section { | |
| scroll-margin-top: 80px; | |
| } | |
| /* Smooth hover transitions */ | |
| a, button { | |
| transition: all 0.3s ease; | |
| } | |
| /* Form input focus styles */ | |
| input:focus, textarea:focus { | |
| box-shadow: 0 0 0 2px #22FFC4; | |
| outline: none; | |
| } | |
| /* Mobile menu styles (can be expanded with JavaScript) */ | |
| @media (max-width: 767px) { | |
| .mobile-menu { | |
| display: none; | |
| } | |
| .mobile-menu.active { | |
| display: flex; | |
| flex-direction: column; | |
| position: absolute; | |
| top: 80px; | |
| left: 0; | |
| right: 0; | |
| background: #0E1F26; | |
| padding: 20px; | |
| } | |
| } | |