Spaces:
Running
Running
Download styles/globals.css from powerllm/anycoder-3dfb5929: direct link, hf CLI and curl.
- Browser
- Download file 2.4 kB
-
https://huggingface.co/spaces/powerllm/anycoder-3dfb5929/resolve/main/styles/globals.css
- Command line
-
hf download hf://spaces/powerllm/anycoder-3dfb5929/styles/globals.css
-
curl -L -o globals.css https://huggingface.co/spaces/powerllm/anycoder-3dfb5929/resolve/main/styles/globals.css
2.4 kB
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| :root { | |
| --foreground-rgb: 241, 245, 249; | |
| --background-start-rgb: 15, 23, 42; | |
| --background-end-rgb: 2, 6, 23; | |
| } | |
| body { | |
| color: rgb(var(--foreground-rgb)); | |
| background: linear-gradient(to bottom, | |
| rgb(var(--background-start-rgb)), | |
| rgb(var(--background-end-rgb)) | |
| ); | |
| min-height: 100vh; | |
| } | |
| /* Custom scrollbar styling */ | |
| ::-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; | |
| } | |
| /* Font Awesome CDN */ | |
| @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css'); | |
| /* Custom animations */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .animate-fade-in { | |
| animation: fadeIn 0.3s ease-out forwards; | |
| } | |
| /* Glassmorphism utilities */ | |
| .glass { | |
| background: rgba(31, 41, 55, 0.7); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| /* Text utilities */ | |
| .text-balance { | |
| text-wrap: balance; | |
| } | |
| /* Custom utility classes */ | |
| .text-gradient { | |
| background-clip: text; | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| /* Utility classes for layout */ | |
| .h-screen { | |
| height: 100vh; | |
| } | |
| .max-h-screen { | |
| max-height: 100vh; | |
| } | |
| .min-h-screen { | |
| min-height: 100vh; | |
| } | |
| /* Responsive utilities */ | |
| @media (max-width: 768px) { | |
| .grid-cols-3 { | |
| grid-template-columns: repeat(1, minmax(0, 1fr)); | |
| } | |
| } | |
| /* Print styles */ | |
| @media print { | |
| .no-print { | |
| display: none; | |
| } | |
| } | |
| /* Accessibility */ | |
| .sr-only { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| padding: 0; | |
| margin: -1px; | |
| overflow: hidden; | |
| clip: rect(0, 0, 0, 0); | |
| white-space: nowrap; | |
| border: 0; | |
| } | |
| /* Focus styles */ | |
| .focus-ring:focus { | |
| outline: 2px solid transparent; | |
| outline-offset: 2px; | |
| } | |
| /* Selection styles */ | |
| ::selection { | |
| background: #3b82f6; | |
| color: white; | |
| } | |
| /* Dark mode overrides */ | |
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| --foreground-rgb: 241, 245, 249; | |
| --background-start-rgb: 15, 23, 42; | |
| --background-end-rgb: 2, 6, 23; | |
| } | |
| } | |
| /* Custom utility classes */ | |
| .line-clamp-2 { | |
| display: -webkit-box; | |
| -webkit-line-clamp: 2; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| } |