Download src/index.css from Musabek/BilimWay: direct link, hf CLI and curl.
- Browser
- Download file 12 kB
-
https://huggingface.co/spaces/Musabek/BilimWay/resolve/main/src/index.css
- Command line
-
hf download hf://spaces/Musabek/BilimWay/src/index.css
-
curl -L -o index.css https://huggingface.co/spaces/Musabek/BilimWay/resolve/main/src/index.css
12 kB
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap'); | |
| @import "tailwindcss"; | |
| @theme { | |
| --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif; | |
| --font-display: "Space Grotesk", "Inter", sans-serif; | |
| --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace; | |
| } | |
| /* -------------------------------------------------------------------------- | |
| SHRINK ALL RECTANGULAR, OVAL & SHAPES ("to'rt burchak, ovol va boshqa shakllar") | |
| We enforce extremely tight border-radius and dimensions for professional neatness. | |
| -------------------------------------------------------------------------- */ | |
| .rounded-3xl { | |
| border-radius: 10px ; | |
| } | |
| .rounded-2xl { | |
| border-radius: 8px ; | |
| } | |
| .rounded-xl { | |
| border-radius: 6px ; | |
| } | |
| .rounded-lg { | |
| border-radius: 4px ; | |
| } | |
| .rounded-md { | |
| border-radius: 4px ; | |
| } | |
| /* Tighten paddings and sizes slightly so buttons/panels fit extremely elegantly together */ | |
| .p-6, .md\:p-6, .p-8, .md\:p-8 { | |
| padding: 14px ; | |
| } | |
| .p-5, .md\:p-5, .p-4, .md\:p-4 { | |
| padding: 10px ; | |
| } | |
| .p-3 { | |
| padding: 8px ; | |
| } | |
| .gap-6, .md\:gap-6 { | |
| gap: 12px ; | |
| } | |
| .gap-5, .md\:gap-5 { | |
| gap: 10px ; | |
| } | |
| .gap-4, .md\:gap-4 { | |
| gap: 8px ; | |
| } | |
| /* Force lock body/html scroll so empty outer zones do not wiggle/scroll on mobiles & computers */ | |
| html { | |
| font-size: 13px ; | |
| } | |
| @media (min-width: 640px) { | |
| html { | |
| font-size: 13.5px ; | |
| } | |
| } | |
| @media (min-width: 1024px) { | |
| html { | |
| font-size: 14px ; | |
| } | |
| } | |
| @media (min-width: 1440px) { | |
| html { | |
| font-size: 14.5px ; | |
| } | |
| } | |
| html, body, #root { | |
| margin: 0; | |
| padding: 0; | |
| width: 100%; | |
| height: 100%; | |
| overflow: hidden; | |
| font-family: "Inter", ui-sans-serif, system-ui, sans-serif ; | |
| transition: background 0.25s ease, color 0.25s ease; | |
| } | |
| /* Custom scaling engine for Android devices to gracefully scale down texts, paddings, gaps, profiles, and notifications */ | |
| html.is-android { | |
| font-size: 12.5px ; | |
| } | |
| /* Ensure font smooth and sharp and perfect rendering inside scaled container */ | |
| html.is-android * { | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| /* ========================================================================== | |
| THEMED LIGHT MODE DEFINITION (DEFAULT) | |
| ========================================================================== */ | |
| html:not(.dark-mode), | |
| html:not(.dark-mode) body, | |
| html:not(.dark-mode) #root { | |
| background: linear-gradient(180deg, #ffffff 50%, #f1f5f9 100%) ; | |
| color: #0f172a ; | |
| } | |
| html:not(.dark-mode) .bg-slate-800, | |
| html:not(.dark-mode) .bg-slate-850, | |
| html:not(.dark-mode) .bg-slate-900, | |
| html:not(.dark-mode) .bg-slate-950, | |
| html:not(.dark-mode) .bg-slate-900\/60, | |
| html:not(.dark-mode) .bg-slate-950\/70, | |
| html:not(.dark-mode) .bg-slate-950\/80, | |
| html:not(.dark-mode) .bg-slate-950\/40, | |
| html:not(.dark-mode) .bg-slate-900\/40, | |
| html:not(.dark-mode) .bg-slate-900\/80, | |
| html:not(.dark-mode) .bg-slate-900\/95, | |
| html:not(.dark-mode) .bg-slate-900\/90, | |
| html:not(.dark-mode) #main_header, | |
| html:not(.dark-mode) #tab_chat_module, | |
| html:not(.dark-mode) #chat_workspace_pane { | |
| background-color: #ffffff ; | |
| background-image: none ; | |
| color: #0f172a ; | |
| border-color: #e2e8f0 ; | |
| } | |
| html:not(.dark-mode) header#main_header { | |
| background-color: rgba(255, 255, 255, 0.9) ; | |
| border-bottom: 1px solid #e1e8f0 ; | |
| backdrop-filter: blur(12px) ; | |
| } | |
| html:not(.dark-mode) p, | |
| html:not(.dark-mode) h1, | |
| html:not(.dark-mode) h2, | |
| html:not(.dark-mode) h3, | |
| html:not(.dark-mode) h4, | |
| html:not(.dark-mode) h5, | |
| html:not(.dark-mode) h6, | |
| html:not(.dark-mode) span, | |
| html:not(.dark-mode) strong, | |
| html:not(.dark-mode) li { | |
| color: #0f172a ; | |
| } | |
| html:not(.dark-mode) .text-slate-100, | |
| html:not(.dark-mode) .text-slate-200, | |
| html:not(.dark-mode) .text-slate-300, | |
| html:not(.dark-mode) .text-white { | |
| color: #1e293b ; | |
| } | |
| html:not(.dark-mode) .text-slate-400, | |
| html:not(.dark-mode) .text-slate-500, | |
| html:not(.dark-mode) .text-slate-350 { | |
| color: #475569 ; | |
| } | |
| /* Light theme orange / purple accents */ | |
| html:not(.dark-mode) .text-orange-400, | |
| html:not(.dark-mode) .text-orange-450, | |
| html:not(.dark-mode) .text-amber-400, | |
| html:not(.dark-mode) .text-pink-400, | |
| html:not(.dark-mode) .text-rose-450, | |
| html:not(.dark-mode) .text-violet-400 { | |
| color: #ea580c ; /* Premium readable orange */ | |
| } | |
| html:not(.dark-mode) button, | |
| html:not(.dark-mode) .cursor-pointer { | |
| color: #0f172a; | |
| } | |
| html:not(.dark-mode) .bg-slate-800, | |
| html:not(.dark-mode) .bg-slate-850, | |
| html:not(.dark-mode) .bg-slate-900, | |
| html:not(.dark-mode) .bg-slate-950, | |
| html:not(.dark-mode) .bg-slate-950\/80, | |
| html:not(.dark-mode) .bg-slate-900\/60 { | |
| background-color: #ffffff ; | |
| border: 1px solid #e2e8f0 ; | |
| } | |
| html:not(.dark-mode) #profile_pill, | |
| html:not(.dark-mode) #profile_card, | |
| html:not(.dark-mode) #brand_badge, | |
| html:not(.dark-mode) .bg-orange-500\/10 { | |
| background-color: #f8fafc ; | |
| border-color: #e2e8f0 ; | |
| } | |
| html:not(.dark-mode) #brand_badge { | |
| background-color: #2563eb ; /* Elegant blue badge in Light Theme */ | |
| } | |
| html:not(.dark-mode) #brand_badge * { | |
| color: #ffffff ; | |
| } | |
| html:not(.dark-mode) #toggle_dark_mode_btn, | |
| html:not(.dark-mode) #toggle_dark_mode_btn * { | |
| background-color: #f1f5f9 ; | |
| border-color: #cbd5e1 ; | |
| color: #0f172a ; | |
| } | |
| /* Interactive elements */ | |
| html:not(.dark-mode) .bg-orange-500, | |
| html:not(.dark-mode) .bg-gradient-to-r.from-orange-500.to-amber-500 { | |
| background: #2563eb ; | |
| color: #ffffff ; | |
| border: none ; | |
| } | |
| html:not(.dark-mode) .bg-orange-500 *, | |
| html:not(.dark-mode) .bg-gradient-to-r.from-orange-500.to-amber-500 * { | |
| color: #ffffff ; | |
| } | |
| html:not(.dark-mode) input { | |
| background-color: #f8fafc ; | |
| border: 1px solid #cbd5e1 ; | |
| color: #0f172a ; | |
| } | |
| /* ========================================================================== | |
| THEMED DARK MODE DEFINITION (TUNGI REJIM) | |
| ========================================================================== */ | |
| html.dark-mode, | |
| html.dark-mode body, | |
| html.dark-mode #root { | |
| background: linear-gradient(180deg, #020617 0%, #0f172a 100%) ; | |
| color: #f8fafc ; | |
| } | |
| html.dark-mode .bg-slate-900, | |
| html.dark-mode .bg-slate-950, | |
| html.dark-mode .bg-slate-900\/60, | |
| html.dark-mode .bg-slate-900\/40, | |
| html.dark-mode .bg-slate-950\/70, | |
| html.dark-mode .bg-slate-950\/80, | |
| html.dark-mode .bg-slate-950\/40, | |
| html.dark-mode .bg-slate-900\/80, | |
| html.dark-mode .bg-slate-900\/95, | |
| html.dark-mode .bg-slate-900\/90, | |
| html.dark-mode #main_header, | |
| html.dark-mode #tab_chat_module, | |
| html.dark-mode #chat_workspace_pane { | |
| background-color: #0b0f19 ; | |
| background-image: none ; | |
| color: #f8fafc ; | |
| border-color: #1e293b ; | |
| } | |
| html.dark-mode header#main_header { | |
| background-color: rgba(11, 15, 25, 0.9) ; | |
| border-bottom: 1px solid #1e293b ; | |
| backdrop-filter: blur(12px) ; | |
| } | |
| html.dark-mode p, | |
| html.dark-mode h1, | |
| html.dark-mode h2, | |
| html.dark-mode h3, | |
| html.dark-mode h4, | |
| html.dark-mode h5, | |
| html.dark-mode h6, | |
| html.dark-mode span, | |
| html.dark-mode strong, | |
| html.dark-mode li { | |
| color: #f8fafc ; | |
| } | |
| html.dark-mode .text-slate-100, | |
| html.dark-mode .text-slate-200, | |
| html.dark-mode .text-slate-300, | |
| html.dark-mode .text-white { | |
| color: #f1f5f9 ; | |
| } | |
| html.dark-mode .text-slate-400, | |
| html.dark-mode .text-slate-500, | |
| html.dark-mode .text-slate-350 { | |
| color: #94a3b8 ; | |
| } | |
| /* Dark theme orange accents (keeps theme glow) */ | |
| html.dark-mode .text-orange-400, | |
| html.dark-mode .text-orange-450, | |
| html.dark-mode .text-amber-400, | |
| html.dark-mode .text-pink-400, | |
| html.dark-mode .text-rose-450, | |
| html.dark-mode .text-violet-400 { | |
| color: #f97316 ; /* Premium bright glow */ | |
| } | |
| html.dark-mode button, | |
| html.dark-mode .cursor-pointer { | |
| color: #f8fafc; | |
| } | |
| html.dark-mode .bg-slate-900, | |
| html.dark-mode .bg-slate-950, | |
| html.dark-mode .bg-slate-950\/80, | |
| html.dark-mode .bg-slate-900\/60 { | |
| background-color: #0b0f19 ; | |
| border: 1px solid #1e293b ; | |
| } | |
| html.dark-mode #profile_pill, | |
| html.dark-mode #profile_card, | |
| html.dark-mode #brand_badge, | |
| html.dark-mode .bg-orange-500\/10 { | |
| background-color: #111827 ; | |
| border-color: #1e293b ; | |
| } | |
| html.dark-mode #brand_badge { | |
| background-color: #ea580c ; | |
| } | |
| html.dark-mode #brand_badge * { | |
| color: #f8fafc ; | |
| } | |
| html.dark-mode #toggle_dark_mode_btn, | |
| html.dark-mode #toggle_dark_mode_btn * { | |
| background-color: #111827 ; | |
| border-color: #334155 ; | |
| color: #f1f5f9 ; | |
| } | |
| /* Interactive elements in dark mode */ | |
| html.dark-mode .bg-orange-500, | |
| html.dark-mode .bg-gradient-to-r.from-orange-500.to-amber-500 { | |
| background: #2563eb ; | |
| color: #ffffff ; | |
| border: none ; | |
| } | |
| html.dark-mode .bg-orange-500 *, | |
| html.dark-mode .bg-gradient-to-r.from-orange-500.to-amber-500 * { | |
| color: #ffffff ; | |
| } | |
| html.dark-mode input[type="text"] { | |
| background-color: #111827 ; | |
| border: 1px solid #334155 ; | |
| color: #f8fafc ; | |
| } | |
| /* Glowing blur blobs */ | |
| .blur-2xl, .blur-3xl, .blur-\[120px\] { | |
| opacity: 0.12 ; | |
| } | |
| /* Scroll area and container definitions */ | |
| #dashboard_scroller { | |
| background: transparent ; | |
| } | |
| /* Hide scrollbars completely across all components to prevent outer track flickering */ | |
| ::-webkit-scrollbar { | |
| display: none ; | |
| width: 0px ; | |
| height: 0px ; | |
| } | |
| * { | |
| scrollbar-width: none ; | |
| -ms-overflow-style: none ; | |
| } | |
| /* Redefine/disable entry movements so windows do not shift, bounce, or slide on tab navigation */ | |
| .animate-scale-up, | |
| .animate-fade-in { | |
| animation: none ; | |
| transform: none ; | |
| opacity: 1 ; | |
| } | |
| /* Disable hover shifts, floating movements, bouncing, and pulsing */ | |
| .hover\:-translate-y-0\.5:hover, | |
| .hover\:-translate-y-1:hover, | |
| .hover\:translate-y-[-2px]:hover, | |
| .hover\:translate-y-[-1px]:hover, | |
| .transform.hover\:-translate-y-0\.5:hover, | |
| .transform.hover\:-translate-y-1:hover { | |
| transform: none ; | |
| } | |
| /* Disable continuous bouncing on icons/banners */ | |
| .animate-bounce { | |
| animation: none ; | |
| } | |
| /* Calm down the pulse animation so it stays stably in one place */ | |
| .animate-pulse { | |
| animation: none ; | |
| opacity: 1 ; | |
| } | |
| /* Stop scaling transition durations from moving on active states */ | |
| button, a, div { | |
| animation-duration: 0s ; | |
| } | |
| /* LOCK DOCK POSITIONS FOR AI CHAT & COMPRESSED MAIN TILES FOR ZERO PAGE SHIFTING */ | |
| #tab_chat_module { | |
| height: calc(100vh - 120px) ; | |
| max-height: calc(100vh - 120px) ; | |
| display: flex ; | |
| flex-direction: column ; | |
| overflow: hidden ; | |
| min-height: unset ; | |
| padding: 12px ; | |
| } | |
| #chat_workspace_pane { | |
| display: flex ; | |
| flex-direction: column ; | |
| height: 100% ; | |
| max-height: 100% ; | |
| overflow: hidden ; | |
| flex-grow: 1 ; | |
| gap: 8px ; | |
| } | |
| #chat_scroll_area { | |
| flex: 1 1 auto ; | |
| overflow-y: auto ; | |
| min-height: 100px ; | |
| max-height: calc(100vh - 340px) ; | |
| -webkit-overflow-scrolling: touch ; /* Premium buttery smooth inertia scroll on touch screens */ | |
| } | |
| /* Responsive adjustment for mobiles/Android */ | |
| html.is-android #tab_chat_module { | |
| height: calc(100vh - 90px) ; | |
| max-height: calc(100vh - 90px) ; | |
| padding: 8px ; | |
| } | |
| html.is-android #chat_scroll_area { | |
| max-height: calc(100vh - 290px) ; | |
| } | |