Spaces:
Running
Running
Download style.css from Gny/midnight-scroll-chronicles: direct link, hf CLI and curl.
- Browser
- Download file 2.19 kB
-
https://huggingface.co/spaces/Gny/midnight-scroll-chronicles/resolve/main/style.css
- Command line
-
hf download hf://spaces/Gny/midnight-scroll-chronicles/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Gny/midnight-scroll-chronicles/resolve/main/style.css
2.19 kB
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #0f172a; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #334155; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #475569; | |
| } | |
| /* Hide scrollbar for anchor nav */ | |
| .no-scrollbar::-webkit-scrollbar { | |
| display: none; | |
| } | |
| .no-scrollbar { | |
| -ms-overflow-style: none; | |
| scrollbar-width: none; | |
| } | |
| /* Smooth scroll behavior */ | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| /* Selection styling */ | |
| ::selection { | |
| background: rgba(14, 165, 233, 0.3); | |
| color: #fff; | |
| } | |
| /* Focus styles */ | |
| *:focus-visible { | |
| outline: 2px solid #0ea5e9; | |
| outline-offset: 2px; | |
| } | |
| /* Article anchor active state */ | |
| .article-anchor.active { | |
| background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(217, 70, 239, 0.2)); | |
| color: #fff; | |
| border: 1px solid rgba(14, 165, 233, 0.3); | |
| } | |
| /* Gradient text utility */ | |
| .text-gradient { | |
| background: linear-gradient(135deg, #38bdf8, #e879f9); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| /* Glass morphism enhancement */ | |
| .glass { | |
| background: rgba(15, 23, 42, 0.7); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| } | |
| /* Image loading placeholder */ | |
| img { | |
| background: linear-gradient(135deg, #1e293b, #0f172a); | |
| } | |
| /* Carousel touch support */ | |
| #carousel { | |
| touch-action: pan-y pinch-zoom; | |
| } | |
| /* Prevent text selection during drag */ | |
| .carousel-item { | |
| user-select: none; | |
| } | |
| /* Responsive typography adjustments */ | |
| @media (max-width: 640px) { | |
| .font-display { | |
| letter-spacing: -0.02em; | |
| } | |
| } | |
| /* Reduced motion preference */ | |
| @media (prefers-reduced-motion: reduce) { | |
| *, | |
| *::before, | |
| *::after { | |
| animation-duration: 0.01ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: 0.01ms ; | |
| scroll-behavior: auto ; | |
| } | |
| } | |
| /* Print styles */ | |
| @media print { | |
| .fixed, | |
| nav { | |
| display: none ; | |
| } | |
| body { | |
| background: white ; | |
| color: black ; | |
| } | |
| } |