Spaces:
Running
Running
Rajeev Ranjan Pandey
fix: add missing useCallback import (blank page crash) + lock CSS import order + pin package-lock.json for HF reproducibility
703750f | @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap'); | |
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| :root { | |
| color-scheme: light dark; | |
| font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| } | |
| body { | |
| margin: 0; | |
| min-width: 320px; | |
| min-height: 100vh; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| /* Scrollbar */ | |
| .custom-scroll::-webkit-scrollbar { | |
| width: 4px; | |
| } | |
| .custom-scroll::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| .custom-scroll::-webkit-scrollbar-thumb { | |
| background: #334155; | |
| border-radius: 99px; | |
| } | |
| .custom-scroll::-webkit-scrollbar-thumb:hover { | |
| background: #f97316; | |
| } | |
| /* Line clamp utilities */ | |
| .line-clamp-2 { | |
| display: -webkit-box; | |
| -webkit-line-clamp: 2; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| } | |
| .line-clamp-3 { | |
| display: -webkit-box; | |
| -webkit-line-clamp: 3; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| } | |
| .line-clamp-5 { | |
| display: -webkit-box; | |
| -webkit-line-clamp: 5; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| } | |
| /* Background grid pattern */ | |
| .bg-grid { | |
| background-image: | |
| linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); | |
| background-size: 40px 40px; | |
| } | |
| /* Glowing accent dot */ | |
| @keyframes pulse-glow { | |
| 0%, 100% { box-shadow: 0 0 4px 2px rgba(249,115,22,0.4); } | |
| 50% { box-shadow: 0 0 12px 4px rgba(249,115,22,0.7); } | |
| } | |
| .dot-glow { | |
| animation: pulse-glow 2s ease-in-out infinite; | |
| } | |