Spaces:
Running
Running
Download style.css from Clings/bytebazaar: direct link, hf CLI and curl.
- Browser
- Download file 2.52 kB
-
https://huggingface.co/spaces/Clings/bytebazaar/resolve/main/style.css
- Command line
-
hf download hf://spaces/Clings/bytebazaar/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Clings/bytebazaar/resolve/main/style.css
2.52 kB
| ```css | |
| /* Main Styles */ | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #f8fafc; | |
| } | |
| /* Gradient Background */ | |
| .hero-gradient { | |
| background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); | |
| } | |
| /* Transitions */ | |
| .transition-all { | |
| transition-property: all; | |
| transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); | |
| transition-duration: 150ms; | |
| } | |
| /* Product Card Effects */ | |
| .product-card { | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| } | |
| .product-card: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); | |
| } | |
| /* Form Elements */ | |
| .input-field:focus { | |
| outline: none; | |
| box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3); | |
| } | |
| /* Buttons */ | |
| .btn-primary { | |
| background-color: #6366f1; | |
| color: white; | |
| } | |
| .btn-primary:hover { | |
| background-color: #4f46e5; | |
| } | |
| .btn-secondary { | |
| background-color: #8b5cf6; | |
| color: white; | |
| } | |
| .btn-secondary:hover { | |
| background-color: #7c3aed; | |
| } | |
| /* Animation Classes */ | |
| .fade-in { | |
| animation: fadeIn 0.3s ease-in forwards; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| .slide-up { | |
| animation: slideUp 0.3s ease-out forwards; | |
| } | |
| @keyframes slideUp { | |
| from { | |
| transform: translateY(20px); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| } | |
| /* Mobile Menu */ | |
| .mobile-menu { | |
| display: none; | |
| } | |
| .show-mobile-menu { | |
| display: block; | |
| animation: slideDown 0.3s ease-out forwards; | |
| } | |
| @keyframes slideDown { | |
| from { | |
| transform: translateY(-20px); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| } | |
| /* Toast Notifications */ | |
| .toast { | |
| position: fixed; | |
| top: 1rem; | |
| right: 1rem; | |
| padding: 1rem; | |
| border-radius: 0.375rem; | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |
| opacity: 0; | |
| transition: opacity 0.3s ease; | |
| } | |
| .toast.show { | |
| opacity: 1; | |
| } | |
| /* Utility Classes */ | |
| .rounded-1 { | |
| border-radius: 0.25rem; | |
| } | |
| .rounded-2 { | |
| border-radius: 0.5rem; | |
| } | |
| .rounded-3 { | |
| border-radius: 0.75rem; | |
| } | |
| .shadow-sm { | |
| box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); | |
| } | |
| .shadow-md { | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); | |
| } | |
| .shadow-lg { | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| } | |
| ``` |