Spaces:
Running
Running
Download style.css from dalabin/codecraft-academy-pro: direct link, hf CLI and curl.
- Browser
- Download file 1.32 kB
-
https://huggingface.co/spaces/dalabin/codecraft-academy-pro/resolve/main/style.css
- Command line
-
hf download hf://spaces/dalabin/codecraft-academy-pro/style.css
-
curl -L -o style.css https://huggingface.co/spaces/dalabin/codecraft-academy-pro/resolve/main/style.css
1.32 kB
| /* Shared styles across all pages */ | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| line-height: 1.6; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #888; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #555; | |
| } | |
| /* Dark mode scrollbar */ | |
| .dark ::-webkit-scrollbar-track { | |
| background: #1a202c; | |
| } | |
| .dark ::-webkit-scrollbar-thumb { | |
| background: #4a5568; | |
| } | |
| .dark ::-webkit-scrollbar-thumb:hover { | |
| background: #718096; | |
| } | |
| /* Animation for expanding sections */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.3s ease-out forwards; | |
| } | |
| /* Smooth transitions for dark mode */ | |
| body, button, input, select, textarea { | |
| transition: background-color 0.3s ease, border-color 0.3s ease; | |
| } | |
| /* Ensure videos maintain aspect ratio */ | |
| .video-container { | |
| position: relative; | |
| padding-bottom: 56.25%; | |
| height: 0; | |
| overflow: hidden; | |
| } | |
| .video-container iframe { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| } |