Spaces:
Sleeping
Sleeping
Download style.css from Roony05/DL_KeySpotting_Project: direct link, hf CLI and curl.
- Browser
- Download file 23.4 kB
-
https://huggingface.co/spaces/Roony05/DL_KeySpotting_Project/resolve/main/style.css
- Command line
-
hf download hf://spaces/Roony05/DL_KeySpotting_Project/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Roony05/DL_KeySpotting_Project/resolve/main/style.css
23.4 kB
| @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap'); | |
| * { | |
| font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif ; | |
| } | |
| html { | |
| background: radial-gradient(circle at top, #1e1b4b 0%, #0f172a 50%, #020617 100%) ; | |
| background-attachment: fixed ; | |
| } | |
| body { | |
| background: transparent ; | |
| } | |
| #bg-spotlight { | |
| position: fixed ; | |
| top: 0 ; | |
| left: 0 ; | |
| width: 100vw ; | |
| height: 100vh ; | |
| background: radial-gradient( | |
| 600px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), | |
| rgba(167, 139, 250, 0.12) 0%, /* Soft global background spotlight */ | |
| transparent 80% | |
| ) ; | |
| z-index: 1 ; /* Set to 1 to sit above body background but behind panels */ | |
| pointer-events: none ; | |
| } | |
| .gradio-container { | |
| background: transparent ; | |
| border: none ; | |
| max-width: 1100px ; | |
| margin: 0 auto ; | |
| padding: 30px 15px ; | |
| } | |
| .glass-panel, .prediction-card { | |
| position: relative ; | |
| overflow: hidden ; | |
| backdrop-filter: blur(16px) ; | |
| -webkit-backdrop-filter: blur(16px) ; | |
| border: 1px solid transparent ; /* Make border transparent so gradient shines through */ | |
| background: | |
| linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.5)) padding-box, | |
| radial-gradient( | |
| 250px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), | |
| rgba(167, 139, 250, 0.3) 0%, /* Soft lavender border spotlight */ | |
| rgba(56, 189, 248, 0.12) 45%, /* Soft cyan accent */ | |
| rgba(255, 255, 255, 0.05) 80% /* Very subtle default border when mouse is away */ | |
| ) border-box ; | |
| border-radius: 16px ; | |
| box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6) ; | |
| padding: 24px ; | |
| margin-bottom: 20px ; | |
| transition: box-shadow 0.3s ease ; | |
| } | |
| /* Subtle inner ambient glow inside cards on hover */ | |
| .glass-panel::before, .prediction-card::before { | |
| content: "" ; | |
| position: absolute ; | |
| top: 0 ; | |
| left: 0 ; | |
| width: 100% ; | |
| height: 100% ; | |
| background: radial-gradient( | |
| 250px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), | |
| rgba(139, 92, 246, 0.04), /* Very minimal inner glow */ | |
| transparent 80% | |
| ) ; | |
| z-index: 0 ; | |
| pointer-events: none ; | |
| opacity: 0; | |
| transition: opacity 0.5s ease ; | |
| } | |
| .glass-panel:hover::before, .prediction-card:hover::before { | |
| opacity: 1; | |
| } | |
| .glass-panel:hover, .prediction-card:hover { | |
| box-shadow: 0 16px 45px -12px rgba(0, 0, 0, 0.85) ; /* Premium deep shadow overlay on hover, no gaming neon */ | |
| } | |
| /* Ensure all interactive layout panels sit above the background spotlight */ | |
| .glass-panel, .prediction-card, .header-banner, .tabs, .info-box { | |
| position: relative ; | |
| z-index: 2 ; | |
| } | |
| /* Ensure contents inside glass elements sit above their own pseudo elements and glows */ | |
| .glass-panel > *, .prediction-card > * { | |
| position: relative ; | |
| z-index: 3 ; | |
| } | |
| .primary-btn { | |
| background: linear-gradient(135deg, #7c3aed, #4f46e5) ; | |
| color: #ffffff ; | |
| border: none ; | |
| border-radius: 12px ; | |
| font-weight: 600 ; | |
| font-size: 1rem ; | |
| padding: 10px 20px ; | |
| box-shadow: 0 4px 15px -3px rgba(124, 58, 237, 0.4) ; | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) ; | |
| cursor: pointer ; | |
| } | |
| .primary-btn:hover { | |
| transform: translateY(-2px) ; | |
| box-shadow: 0 8px 20px -3px rgba(124, 58, 237, 0.6) ; | |
| filter: brightness(1.1) ; | |
| } | |
| .primary-btn:active { | |
| transform: translateY(0) ; | |
| } | |
| /* Customize Tabs */ | |
| .tabs { | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.08) ; | |
| margin-bottom: 20px ; | |
| } | |
| .tab-nav { | |
| background: transparent ; | |
| border: none ; | |
| display: flex ; | |
| gap: 8px ; | |
| } | |
| .tab-nav button { | |
| color: #94a3b8 ; | |
| font-weight: 600 ; | |
| border: none ; | |
| border-radius: 8px ; | |
| padding: 10px 20px ; | |
| transition: all 0.2s ease ; | |
| background: transparent ; | |
| } | |
| .tab-nav button.selected { | |
| color: #ffffff ; | |
| background: rgba(124, 58, 237, 0.25) ; | |
| border: 1px solid rgba(124, 58, 237, 0.4) ; | |
| } | |
| /* Audio Widget overrides */ | |
| .gradio-audio { | |
| background: rgba(15, 23, 42, 0.3) ; | |
| border: 1px dashed rgba(255, 255, 255, 0.1) ; | |
| border-radius: 12px ; | |
| padding: 12px ; | |
| } | |
| /* Animations */ | |
| @keyframes pulse { | |
| 0% { transform: scale(1); opacity: 0.6; } | |
| 50% { transform: scale(1.05); opacity: 1; } | |
| 100% { transform: scale(1); opacity: 0.6; } | |
| } | |
| /* ============================================================ | |
| UI Header & Footer styles | |
| ============================================================ */ | |
| .header-banner { | |
| text-align: center; | |
| padding: 32px 20px; | |
| background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(79, 70, 229, 0.08)) ; | |
| border: 1px solid rgba(124, 58, 237, 0.15) ; | |
| border-radius: 16px ; | |
| margin-bottom: 24px ; | |
| position: relative ; | |
| overflow: hidden ; | |
| } | |
| .header-glow-left { | |
| position: absolute ; | |
| top: -50px ; | |
| left: -50px ; | |
| width: 150px ; | |
| height: 150px ; | |
| background: rgba(124, 58, 237, 0.15) ; | |
| filter: blur(50px) ; | |
| border-radius: 50% ; | |
| z-index: 1 ; | |
| } | |
| .header-glow-right { | |
| position: absolute ; | |
| bottom: -50px ; | |
| right: -50px ; | |
| width: 150px ; | |
| height: 150px ; | |
| background: rgba(56, 189, 248, 0.15) ; | |
| filter: blur(50px) ; | |
| border-radius: 50% ; | |
| z-index: 1 ; | |
| } | |
| h1.header-title { | |
| font-size: 2.8rem ; | |
| margin: 0 0 10px 0 ; | |
| font-weight: 900 ; | |
| letter-spacing: -0.03em ; | |
| position: relative ; | |
| z-index: 2 ; | |
| display: flex ; | |
| justify-content: center ; | |
| align-items: center ; | |
| gap: 16px ; | |
| } | |
| .header-emoji { | |
| font-size: 2.8rem ; | |
| display: inline-block ; | |
| animation: emojiPulse 3s ease-in-out infinite ; | |
| } | |
| .header-text-animated { | |
| display: inline-block ; | |
| background: linear-gradient(120deg, #a78bfa 0%, #818cf8 25%, #38bdf8 50%, #818cf8 75%, #a78bfa 100%) ; | |
| background-size: 200% 100% ; | |
| -webkit-background-clip: text ; | |
| background-clip: text ; | |
| -webkit-text-fill-color: transparent ; | |
| color: transparent ; | |
| animation: gradientShift 6s linear infinite ; | |
| will-change: background-position; | |
| } | |
| @keyframes emojiPulse { | |
| 0%, 100% { transform: scale(1) rotate(0deg); } | |
| 50% { transform: scale(1.12) rotate(8deg); } | |
| } | |
| @keyframes gradientShift { | |
| 0% { background-position: 0% 50%; } | |
| 100% { background-position: 200% 50%; } | |
| } | |
| .header-subtitle { | |
| font-size: 1.1rem ; | |
| color: #cbd5e1 ; | |
| margin: 0 auto ; | |
| max-width: 650px ; | |
| font-weight: 500 ; | |
| line-height: 1.5 ; | |
| position: relative ; | |
| z-index: 2 ; | |
| } | |
| .header-badges { | |
| display: flex ; | |
| justify-content: center ; | |
| gap: 12px ; | |
| margin-top: 18px ; | |
| flex-wrap: wrap ; | |
| position: relative ; | |
| z-index: 2 ; | |
| } | |
| .header-badge { | |
| background: rgba(255, 255, 255, 0.04) ; | |
| border: 1px solid rgba(255, 255, 255, 0.08) ; | |
| padding: 5px 14px ; | |
| border-radius: 20px ; | |
| font-size: 0.8rem ; | |
| color: #cbd5e1 ; | |
| font-weight: 600 ; | |
| } | |
| .footer-box { | |
| text-align: center ; | |
| margin-top: 30px ; | |
| padding: 16px ; | |
| border-top: 1px solid rgba(255, 255, 255, 0.08) ; | |
| font-size: 0.85rem ; | |
| color: #64748b ; | |
| } | |
| /* ============================================================ | |
| Technical Info Box styles | |
| ============================================================ */ | |
| .info-box { | |
| background: rgba(15, 23, 42, 0.35) ; | |
| border-left: 4px solid #7c3aed ; | |
| padding: 16px ; | |
| border-radius: 0 12px 12px 0 ; | |
| margin-bottom: 24px ; | |
| font-size: 0.92rem ; | |
| line-height: 1.6 ; | |
| color: #94a3b8 ; | |
| border-top: 1px solid rgba(255, 255, 255, 0.03) ; | |
| border-right: 1px solid rgba(255, 255, 255, 0.03) ; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.03) ; | |
| } | |
| .info-box-title { | |
| color: #f1f5f9 ; | |
| display: block ; | |
| margin-bottom: 6px ; | |
| font-size: 0.95rem ; | |
| } | |
| .keyword-code { | |
| color: #c084fc ; | |
| font-family: monospace ; | |
| background: rgba(192, 132, 252, 0.1) ; | |
| padding: 2px 6px ; | |
| border-radius: 4px ; | |
| font-weight: 600 ; | |
| font-size: 0.85rem ; | |
| margin: 2px ; | |
| display: inline-block ; | |
| } | |
| .keyword-code.special { | |
| color: #cbd5e1 ; | |
| background: rgba(255, 255, 255, 0.05) ; | |
| } | |
| /* ============================================================ | |
| Empty State prediction card | |
| ============================================================ */ | |
| .prediction-card.empty { | |
| background: rgba(15, 23, 42, 0.45) ; | |
| border: 1px dashed rgba(255, 255, 255, 0.15) ; | |
| border-radius: 16px ; | |
| padding: 40px 24px ; | |
| text-align: center ; | |
| color: #94a3b8 ; | |
| margin-top: 10px ; | |
| } | |
| .empty-emoji { | |
| font-size: 3.5rem ; | |
| margin-bottom: 16px ; | |
| animation: pulse 2s infinite ; | |
| } | |
| .empty-title { | |
| font-size: 1.1rem ; | |
| font-weight: 600 ; | |
| color: #e2e8f0 ; | |
| margin: 0 0 8px 0 ; | |
| } | |
| .empty-subtitle { | |
| font-size: 0.85rem ; | |
| color: #64748b ; | |
| margin: 0 ; | |
| } | |
| /* ============================================================ | |
| Confidence color modes for prediction card | |
| ============================================================ */ | |
| .prediction-card { | |
| background: rgba(15, 23, 42, 0.6) ; | |
| border: 1px solid transparent ; | |
| border-radius: 16px ; | |
| padding: 24px ; | |
| margin-top: 10px ; | |
| color: #f8fafc ; | |
| animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) ; | |
| } | |
| /* High Confidence Mode (>70%) */ | |
| .prediction-card.conf-high { | |
| border-color: rgba(16, 185, 129, 0.4) ; | |
| box-shadow: 0 8px 32px 0 rgba(16, 185, 129, 0.15) ; | |
| } | |
| .prediction-card.conf-high .card-badge { | |
| background: rgba(16, 185, 129, 0.2) ; | |
| color: #34d399 ; | |
| } | |
| .prediction-card.conf-high .card-conf-value { | |
| color: #34d399 ; | |
| } | |
| /* Medium Confidence Mode (>30%) */ | |
| .prediction-card.conf-medium { | |
| border-color: rgba(99, 102, 241, 0.4) ; | |
| box-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.15) ; | |
| } | |
| .prediction-card.conf-medium .card-badge { | |
| background: rgba(99, 102, 241, 0.2) ; | |
| color: #818cf8 ; | |
| } | |
| .prediction-card.conf-medium .card-conf-value { | |
| color: #818cf8 ; | |
| } | |
| /* Low Confidence Mode (<=30%) */ | |
| .prediction-card.conf-low { | |
| border-color: rgba(148, 163, 184, 0.3) ; | |
| box-shadow: 0 8px 32px 0 rgba(148, 163, 184, 0.1) ; | |
| } | |
| .prediction-card.conf-low .card-badge { | |
| background: rgba(148, 163, 184, 0.15) ; | |
| color: #cbd5e1 ; | |
| } | |
| .prediction-card.conf-low .card-conf-value { | |
| color: #cbd5e1 ; | |
| } | |
| /* ============================================================ | |
| Prediction Card layout components | |
| ============================================================ */ | |
| .card-header { | |
| display: flex ; | |
| justify-content: space-between ; | |
| align-items: flex-start ; | |
| margin-bottom: 20px ; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.08) ; | |
| padding-bottom: 16px ; | |
| } | |
| .card-badge { | |
| padding: 4px 10px ; | |
| border-radius: 20px ; | |
| font-size: 0.75rem ; | |
| font-weight: 700 ; | |
| letter-spacing: 0.05em ; | |
| text-transform: uppercase ; | |
| } | |
| .card-title { | |
| font-size: 2.6rem ; | |
| margin: 8px 0 0 0 ; | |
| font-weight: 800 ; | |
| letter-spacing: -0.03em ; | |
| display: flex ; | |
| align-items: center ; | |
| gap: 12px ; | |
| } | |
| .card-title-emoji { | |
| font-size: 2.3rem ; | |
| line-height: 1 ; | |
| } | |
| .card-title-text { | |
| background: linear-gradient(135deg, #ffffff, #94a3b8) ; | |
| -webkit-background-clip: text ; | |
| -webkit-text-fill-color: transparent ; | |
| text-transform: uppercase ; | |
| } | |
| .card-conf-value { | |
| font-size: 2.4rem ; | |
| font-weight: 900 ; | |
| font-family: monospace ; | |
| line-height: 1.1 ; | |
| } | |
| .card-conf-label { | |
| font-size: 0.8rem ; | |
| color: #94a3b8 ; | |
| font-weight: 500 ; | |
| margin-top: 4px ; | |
| } | |
| .card-alts { | |
| margin-bottom: 24px ; | |
| } | |
| .card-alts-header { | |
| font-size: 0.85rem ; | |
| color: #64748b ; | |
| font-weight: 700 ; | |
| text-transform: uppercase ; | |
| letter-spacing: 0.05em ; | |
| margin-bottom: 14px ; | |
| } | |
| .alt-row { | |
| margin-bottom: 14px ; | |
| display: flex ; | |
| align-items: center ; | |
| justify-content: space-between ; | |
| font-size: 0.95rem ; | |
| } | |
| .alt-label { | |
| width: 100px ; | |
| font-weight: 600 ; | |
| text-transform: uppercase ; | |
| color: #cbd5e1 ; | |
| display: flex ; | |
| align-items: center ; | |
| gap: 8px ; | |
| } | |
| .alt-label-emoji { | |
| font-size: 1.1rem ; | |
| line-height: 1 ; | |
| } | |
| .alt-bar-outer { | |
| flex-grow: 1 ; | |
| height: 10px ; | |
| background: rgba(255, 255, 255, 0.08) ; | |
| border-radius: 5px ; | |
| margin: 0 16px ; | |
| overflow: hidden ; | |
| } | |
| .alt-bar-inner { | |
| height: 100% ; | |
| border-radius: 5px ; | |
| transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1) ; | |
| } | |
| .bar-high { | |
| background: linear-gradient(90deg, #10b981, #059669) ; | |
| } | |
| .bar-med { | |
| background: linear-gradient(90deg, #6366f1, #4f46e5) ; | |
| } | |
| .bar-low { | |
| background: linear-gradient(90deg, #6b7280, #4b5563) ; | |
| } | |
| .alt-pct { | |
| width: 55px ; | |
| text-align: right ; | |
| font-weight: 700 ; | |
| font-family: monospace ; | |
| color: #f1f5f9 ; | |
| } | |
| .card-conf-container { | |
| text-align: right ; | |
| } | |
| .card-footer { | |
| display: flex ; | |
| justify-content: space-between ; | |
| font-size: 0.8rem ; | |
| color: #64748b ; | |
| border-top: 1px solid rgba(255, 255, 255, 0.05) ; | |
| padding-top: 12px ; | |
| } | |
| .card-footer strong { | |
| color: #94a3b8 ; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* ============================================================ | |
| App Initialization Loader Overlay | |
| ============================================================ */ | |
| .app-loader-overlay { | |
| position: fixed ; | |
| top: 0 ; | |
| left: 0 ; | |
| width: 100vw ; | |
| height: 100vh ; | |
| background: radial-gradient(circle at top, #1e1b4b 0%, #020617 100%) ; | |
| z-index: 99999 ; /* Extremely high z-index to cover all components */ | |
| display: flex ; | |
| justify-content: center ; | |
| align-items: center ; | |
| transition: opacity 0.5s ease, visibility 0.5s ease ; | |
| opacity: 1; | |
| visibility: visible; | |
| } | |
| .loader-content { | |
| text-align: center ; | |
| color: #ffffff ; | |
| padding: 20px ; | |
| } | |
| .loader-spinner { | |
| width: 60px ; | |
| height: 60px ; | |
| border: 4px solid rgba(255, 255, 255, 0.1) ; | |
| border-top: 4px solid #7c3aed ; | |
| border-radius: 50% ; | |
| margin: 0 auto 20px auto ; | |
| animation: spin 1s linear infinite ; | |
| } | |
| .loader-title { | |
| font-size: 1.8rem ; | |
| font-weight: 800 ; | |
| background: linear-gradient(135deg, #ffffff, #a78bfa) ; | |
| -webkit-background-clip: text ; | |
| -webkit-text-fill-color: transparent ; | |
| margin-bottom: 8px ; | |
| } | |
| .loader-desc { | |
| color: #94a3b8 ; | |
| font-size: 0.95rem ; | |
| margin-bottom: 16px ; | |
| } | |
| .loader-countdown { | |
| font-size: 1.1rem ; | |
| font-weight: 600 ; | |
| color: #818cf8 ; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| /* ============================================================ | |
| Inference & Warmup Loading State styles | |
| ============================================================ */ | |
| .loading-state { | |
| border-color: rgba(99, 102, 241, 0.45) ; | |
| box-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.2) ; | |
| background: rgba(15, 23, 42, 0.75) ; | |
| } | |
| .countdown-seconds { | |
| font-size: 1.25rem ; | |
| font-weight: 800 ; | |
| font-family: monospace ; | |
| color: #f43f5e ; /* Rose/Red accent for countdown */ | |
| text-shadow: 0 0 10px rgba(244, 63, 94, 0.3) ; | |
| margin: 0 4px ; | |
| } | |
| /* ============================================================ | |
| Shooting Star Background Effect | |
| ============================================================ */ | |
| .shooting-stars-container { | |
| position: fixed ; | |
| top: 0 ; | |
| left: 0 ; | |
| width: 100vw ; | |
| height: 100vh ; | |
| pointer-events: none ; | |
| z-index: 1 ; /* Behind glass panels, but in front of body background */ | |
| overflow: hidden ; | |
| } | |
| .shooting-star { | |
| position: absolute ; | |
| width: 150px ; | |
| height: 2px ; | |
| background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(167, 139, 250, 0.4), rgba(0, 0, 0, 0)) ; | |
| filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.8)) ; | |
| opacity: 0; | |
| pointer-events: none ; | |
| } | |
| @keyframes shoot1 { | |
| 0% { transform: translate(-200px, -200px) rotate(35deg); opacity: 0; } | |
| 2% { opacity: 1; } | |
| 18% { transform: translate(1200px, 700px) rotate(35deg); opacity: 0; } | |
| 100% { transform: translate(1200px, 700px) rotate(35deg); opacity: 0; } | |
| } | |
| @keyframes shoot2 { | |
| 0% { transform: translate(-200px, -200px) rotate(30deg); opacity: 0; } | |
| 2% { opacity: 1; } | |
| 15% { transform: translate(1400px, 800px) rotate(30deg); opacity: 0; } | |
| 100% { transform: translate(1400px, 800px) rotate(30deg); opacity: 0; } | |
| } | |
| .shooting-star-1 { | |
| top: 5% ; | |
| left: 10% ; | |
| animation: shoot1 12s linear infinite ; | |
| animation-delay: 1s ; | |
| } | |
| .shooting-star-2 { | |
| top: 15% ; | |
| left: 35% ; | |
| animation: shoot2 15s linear infinite ; | |
| animation-delay: 4s ; | |
| } | |
| .shooting-star-3 { | |
| top: 0% ; | |
| left: 60% ; | |
| animation: shoot1 11s linear infinite ; | |
| animation-delay: 7s ; | |
| } | |
| .shooting-star-4 { | |
| top: 25% ; | |
| left: 2% ; | |
| animation: shoot2 18s linear infinite ; | |
| animation-delay: 10s ; | |
| } | |
| /* ============================================================ | |
| Responsive Styles for Mobile Devices | |
| ============================================================ */ | |
| @media (max-width: 768px) { | |
| /* Reduce page container padding */ | |
| .gradio-container { | |
| padding: 15px 10px ; | |
| } | |
| /* Reduce card padding to save screen space */ | |
| .glass-panel, .prediction-card { | |
| padding: 16px ; | |
| margin-bottom: 12px ; | |
| } | |
| /* Adjust Header Banner for smaller viewports */ | |
| .header-banner { | |
| padding: 20px 12px ; | |
| margin-bottom: 16px ; | |
| } | |
| /* Scale down the title text sizes & allow wrapping */ | |
| h1.header-title { | |
| font-size: 1.8rem ; | |
| gap: 10px ; | |
| flex-wrap: wrap ; | |
| } | |
| .header-emoji { | |
| font-size: 1.8rem ; | |
| } | |
| .header-subtitle { | |
| font-size: 0.95rem ; | |
| line-height: 1.4 ; | |
| } | |
| /* Smaller badges with tighter gaps */ | |
| .header-badges { | |
| gap: 8px ; | |
| margin-top: 12px ; | |
| } | |
| .header-badge { | |
| padding: 4px 10px ; | |
| font-size: 0.72rem ; | |
| } | |
| /* Technical Info Box tweaks */ | |
| .info-box { | |
| padding: 12px ; | |
| font-size: 0.85rem ; | |
| margin-bottom: 16px ; | |
| } | |
| /* Reflow the prediction card header vertically to prevent overlap */ | |
| .card-header { | |
| flex-direction: column ; | |
| align-items: flex-start ; | |
| gap: 12px ; | |
| padding-bottom: 12px ; | |
| } | |
| .card-title { | |
| font-size: 2.0rem ; | |
| gap: 8px ; | |
| } | |
| .card-title-emoji { | |
| font-size: 1.8rem ; | |
| } | |
| .card-conf-container { | |
| text-align: left ; | |
| width: 100% ; | |
| } | |
| .card-conf-value { | |
| font-size: 2.0rem ; | |
| } | |
| .card-conf-label { | |
| margin-top: 2px ; | |
| } | |
| /* Detailed probability bars adjustment */ | |
| .alt-row { | |
| font-size: 0.88rem ; | |
| margin-bottom: 10px ; | |
| } | |
| .alt-label { | |
| width: 80px ; | |
| font-size: 0.85rem ; | |
| } | |
| .alt-bar-outer { | |
| margin: 0 10px ; | |
| height: 8px ; | |
| } | |
| .alt-pct { | |
| width: 45px ; | |
| font-size: 0.88rem ; | |
| } | |
| /* Footer text size */ | |
| .footer-box { | |
| margin-top: 20px ; | |
| padding: 12px ; | |
| font-size: 0.78rem ; | |
| } | |
| } | |