Download style.css from LudOkapi/diagonal-scroll-delight: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/spaces/LudOkapi/diagonal-scroll-delight/resolve/main/style.css
- Command line
-
hf download hf://spaces/LudOkapi/diagonal-scroll-delight/style.css
-
curl -L -o style.css https://huggingface.co/spaces/LudOkapi/diagonal-scroll-delight/resolve/main/style.css
1.06 kB
| /* Reset some default styles */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| /* Basic styles */ | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| overflow: hidden; | |
| } | |
| #diagonal-scroll-container { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100vw; | |
| height: 100vh; | |
| overflow: hidden; | |
| } | |
| #content-wrapper { | |
| position: absolute; | |
| will-change: transform; | |
| } | |
| .panel { | |
| position: absolute; | |
| width: 100vw; | |
| height: 100vh; | |
| overflow: hidden; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: rgba(0, 0, 0, 0.1); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: rgba(255, 255, 255, 0.5); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: rgba(255, 255, 255, 0.7); | |
| } | |
| /* Ensure navbar and footer stay visible */ | |
| diagonal-navbar, diagonal-footer { | |
| position: fixed; | |
| z-index: 1000; | |
| } | |