Spaces:
Running
Running
Download style.css from mmmput/deepsite-project-k20xc: direct link, hf CLI and curl.
- Browser
- Download file 2.49 kB
-
https://huggingface.co/spaces/mmmput/deepsite-project-k20xc/resolve/main/style.css
- Command line
-
hf download hf://spaces/mmmput/deepsite-project-k20xc/style.css
-
curl -L -o style.css https://huggingface.co/spaces/mmmput/deepsite-project-k20xc/resolve/main/style.css
2.49 kB
| /* Custom Tennis Website Styles */ | |
| /* Smooth Scrolling */ | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| /* Custom Animations */ | |
| @keyframes fade-in { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .animate-fade-in { | |
| animation: fade-in 0.8s ease-out forwards; | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 10px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #10b981; | |
| border-radius: 5px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #059669; | |
| } | |
| /* Tennis Ball Animation */ | |
| @keyframes bounce { | |
| 0%, 100% { | |
| transform: translateY(0); | |
| } | |
| 50% { | |
| transform: translateY(-10px); | |
| } | |
| } | |
| .tennis-ball-bounce { | |
| animation: bounce 2s ease-in-out infinite; | |
| } | |
| /* Gradient Text Animation */ | |
| @keyframes gradient-shift { | |
| 0% { | |
| background-position: 0% 50%; | |
| } | |
| 50% { | |
| background-position: 100% 50%; | |
| } | |
| 100% { | |
| background-position: 0% 50%; | |
| } | |
| } | |
| .animate-gradient { | |
| background-size: 200% 200%; | |
| animation: gradient-shift 3s ease infinite; | |
| } | |
| /* Card Hover Effects */ | |
| .hover-lift { | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| } | |
| .hover-lift: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); | |
| } | |
| /* Navigation Background Transition */ | |
| .nav-scrolled { | |
| background-color: rgba(255, 255, 255, 0.98) ; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); | |
| } | |
| /* Form Focus Effects */ | |
| input:focus, select:focus, textarea:focus { | |
| transform: scale(1.01); | |
| } | |
| /* Image Zoom Effect */ | |
| .img-zoom { | |
| transition: transform 0.5s ease; | |
| } | |
| .img-zoom:hover { | |
| transform: scale(1.1); | |
| } | |
| /* Loading Animation */ | |
| @keyframes spin { | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| .loading { | |
| animation: spin 1s linear infinite; | |
| } | |
| /* Mobile Menu Animation */ | |
| .mobile-menu-enter { | |
| opacity: 0; | |
| transform: translateY(-10px); | |
| } | |
| .mobile-menu-enter-active { | |
| opacity: 1; | |
| transform: translateY(0); | |
| transition: opacity 0.3s, transform 0.3s; | |
| } | |
| /* Stat Counter Animation */ | |
| @keyframes count-up { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .stat-number { | |
| animation: count-up 0.5s ease-out forwards; | |
| } |