Download style.css from Omartificial-Intelligence-Space/ra_jev_demo: direct link, hf CLI and curl.
- Browser
- Download file 17.5 kB
-
https://huggingface.co/spaces/Omartificial-Intelligence-Space/ra_jev_demo/resolve/main/style.css
- Command line
-
hf download hf://spaces/Omartificial-Intelligence-Space/ra_jev_demo/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Omartificial-Intelligence-Space/ra_jev_demo/resolve/main/style.css
17.5 kB
| :root { | |
| --bg: #070b16; | |
| --bg-2: #0b1122; | |
| --panel: rgba(17, 25, 48, 0.72); | |
| --panel-solid: #111931; | |
| --panel-2: rgba(255, 255, 255, 0.035); | |
| --border: rgba(148, 163, 214, 0.14); | |
| --border-strong: rgba(148, 163, 214, 0.28); | |
| --text: #e8ecf8; | |
| --muted: #94a0c2; | |
| --faint: #5f6a8d; | |
| --accent: #34d399; | |
| --accent-2: #22d3ee; | |
| --accent-ink: #04241a; | |
| --gold: #f5c451; | |
| --danger: #fb7185; | |
| --warn: #fbbf24; | |
| --glow: 0 0 0 1px rgba(52, 211, 153, 0.35), 0 10px 40px -10px rgba(52, 211, 153, 0.45); | |
| --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6); | |
| --radius: 18px; | |
| --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; | |
| --font-en: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif; | |
| --mono: "JetBrains Mono", "IBM Plex Sans Arabic", ui-monospace, monospace; | |
| } | |
| :root[data-theme="light"] { | |
| --bg: #f4f6fb; | |
| --bg-2: #eef1f8; | |
| --panel: rgba(255, 255, 255, 0.82); | |
| --panel-solid: #ffffff; | |
| --panel-2: rgba(15, 23, 42, 0.035); | |
| --border: rgba(15, 23, 42, 0.09); | |
| --border-strong: rgba(15, 23, 42, 0.18); | |
| --text: #0f172a; | |
| --muted: #4b5675; | |
| --faint: #8a93ad; | |
| --accent: #059669; | |
| --accent-2: #0891b2; | |
| --accent-ink: #ffffff; | |
| --gold: #b7791f; | |
| --glow: 0 0 0 1px rgba(5, 150, 105, 0.3), 0 10px 30px -12px rgba(5, 150, 105, 0.35); | |
| --shadow: 0 20px 50px -28px rgba(15, 23, 42, 0.35); | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { margin: 0; padding: 0; } | |
| body { | |
| background: var(--bg); | |
| color: var(--text); | |
| font-family: var(--font-ar); | |
| line-height: 1.6; | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| html[lang="en"] body { font-family: var(--font-en); } | |
| /* Ambient background */ | |
| .bg-mesh { | |
| position: fixed; inset: -20vh -20vw; z-index: -2; pointer-events: none; | |
| background: | |
| radial-gradient(40vw 40vw at 15% 10%, rgba(52, 211, 153, 0.16), transparent 60%), | |
| radial-gradient(35vw 35vw at 85% 0%, rgba(34, 211, 238, 0.14), transparent 60%), | |
| radial-gradient(45vw 45vw at 70% 90%, rgba(245, 196, 81, 0.08), transparent 60%); | |
| filter: blur(10px); | |
| animation: drift 24s ease-in-out infinite alternate; | |
| } | |
| .bg-grid { | |
| position: fixed; inset: 0; z-index: -1; pointer-events: none; | |
| background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); | |
| background-size: 56px 56px; | |
| mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 70%); | |
| opacity: .5; | |
| } | |
| @keyframes drift { to { transform: translate3d(3vw, 2vh, 0) scale(1.05); } } | |
| .boot { height: 100vh; display: grid; place-content: center; gap: 12px; text-align: center; color: var(--muted); font-family: var(--font-en); letter-spacing: .08em; } | |
| .boot-mark { font-size: 44px; animation: pulse 1.4s ease-in-out infinite; } | |
| @keyframes pulse { 50% { transform: scale(1.12); opacity: .7; } } | |
| .wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; } | |
| /* Nav */ | |
| .nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 70%, transparent); border-bottom: 1px solid var(--border); } | |
| .nav-inner { display: flex; align-items: center; gap: 14px; height: 64px; } | |
| .brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 800; letter-spacing: -.01em; font-size: 19px; } | |
| .brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font-size: 18px; box-shadow: var(--glow); } | |
| .brand small { font-weight: 500; color: var(--muted); font-size: 13px; margin-inline-start: 2px; letter-spacing: .02em; } | |
| .brand-ar { font-family: var(--font-ar); font-weight: 700; font-size: 22px; } | |
| .nav-spacer { flex: 1; } | |
| .status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel-2); font-family: var(--font-en); } | |
| .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); } | |
| .dot.ok { background: var(--accent); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); } | |
| .dot.busy { background: var(--warn); animation: pulse 1s infinite; } | |
| .dot.err { background: var(--danger); } | |
| .icon-btn { height: 36px; min-width: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); cursor: pointer; font: inherit; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; transition: .2s; } | |
| .icon-btn:hover { border-color: var(--border-strong); background: var(--panel); } | |
| /* Hero */ | |
| .hero { padding: 64px 0 28px; text-align: center; } | |
| .eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--accent); padding: 6px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); font-family: var(--font-en); letter-spacing: .02em; } | |
| .hero h1 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.12; margin: 20px auto 16px; max-width: 900px; font-weight: 700; letter-spacing: -.02em; } | |
| .grad { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 55%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; } | |
| .hero p { color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); max-width: 720px; margin: 0 auto; } | |
| .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; } | |
| .chip { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--muted); font-family: var(--font-en); } | |
| .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 40px auto 0; max-width: 980px; } | |
| .stat { padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); backdrop-filter: blur(12px); text-align: center; } | |
| .stat b { display: block; font-family: var(--font-en); font-size: 28px; font-weight: 800; letter-spacing: -.02em; } | |
| .stat span { color: var(--muted); font-size: 13px; } | |
| /* Templates */ | |
| .section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 44px 0 14px; } | |
| .section-title h2 { font-size: 20px; margin: 0; } | |
| .section-title span { color: var(--muted); font-size: 13.5px; } | |
| .templates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } | |
| .tpl { text-align: start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); cursor: pointer; color: var(--text); font: inherit; transition: transform .18s, border-color .18s, box-shadow .18s; } | |
| .tpl:hover { transform: translateY(-2px); border-color: var(--border-strong); } | |
| .tpl.active { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: var(--glow); } | |
| .tpl-top { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; } | |
| .tpl-emoji { font-size: 18px; } | |
| .tpl p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; } | |
| /* Workspace */ | |
| .workspace { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; margin-top: 22px; align-items: start; } | |
| .card { border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); backdrop-filter: blur(14px); box-shadow: var(--shadow); } | |
| .card-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); gap: 10px; } | |
| .card-head h3 { margin: 0; font-size: 15.5px; display: flex; gap: 8px; align-items: center; } | |
| .card-body { padding: 18px; } | |
| .sticky { position: sticky; top: 80px; } | |
| .field { margin-bottom: 16px; } | |
| .field-label { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 500; } | |
| textarea, input[type="text"] { | |
| width: 100%; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); | |
| font: inherit; font-size: 14.5px; padding: 11px 13px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; | |
| } | |
| textarea:focus, input[type="text"]:focus { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); } | |
| textarea.mono { font-family: var(--mono); font-size: 13px; direction: ltr; text-align: left; } | |
| .hint { font-size: 12px; color: var(--faint); margin-top: 6px; } | |
| .hint.err { color: var(--danger); } | |
| .seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); } | |
| .seg button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; padding: 4px 10px; border-radius: 7px; cursor: pointer; } | |
| .seg button.on { background: var(--panel-solid); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.25); } | |
| .opts { display: flex; flex-direction: column; gap: 8px; } | |
| .opt { display: grid; grid-template-columns: 34px minmax(0, 150px) minmax(0, 1fr) auto; gap: 8px; align-items: center; animation: rise .25s ease; } | |
| .opt input { padding: 9px 11px; font-size: 13.5px; } | |
| .opt .key { font-family: var(--mono); font-size: 12.5px; direction: ltr; text-align: left; } | |
| .letter { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; font-size: 14px; background: var(--panel-2); border: 1px solid var(--border); color: var(--muted); } | |
| .opt-actions { display: flex; gap: 4px; } | |
| .mini { width: 30px; height: 30px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--faint); cursor: pointer; font-size: 14px; } | |
| .mini:hover { background: var(--panel-2); color: var(--text); border-color: var(--border); } | |
| .add { margin-top: 10px; width: 100%; padding: 10px; border-radius: 12px; border: 1px dashed var(--border-strong); background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer; transition: .2s; } | |
| .add:hover { color: var(--accent); border-color: var(--accent); } | |
| .run-row { display: flex; gap: 10px; align-items: center; margin-top: 6px; } | |
| .run { | |
| flex: 1; height: 50px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px; | |
| color: var(--accent-ink); background: linear-gradient(100deg, var(--accent), var(--accent-2)); box-shadow: var(--glow); | |
| display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s, filter .2s; | |
| } | |
| .run:hover { filter: brightness(1.06); transform: translateY(-1px); } | |
| .run:disabled { opacity: .65; cursor: progress; transform: none; } | |
| .kbd { font-family: var(--font-en); font-size: 11px; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.18); } | |
| .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(0,0,0,.2); border-top-color: var(--accent-ink); animation: spin .8s linear infinite; } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| /* Result */ | |
| .empty { text-align: center; padding: 40px 18px; color: var(--muted); } | |
| .empty-mark { font-size: 44px; opacity: .85; margin-bottom: 8px; } | |
| .result { animation: rise .35s ease; } | |
| @keyframes rise { from { opacity: 0; transform: translateY(8px); } } | |
| .verdict { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; } | |
| .gauge { position: relative; width: 116px; height: 116px; } | |
| .gauge svg { transform: rotate(-90deg); } | |
| .gauge-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } | |
| .gauge-center b { font-family: var(--font-en); font-size: 21px; font-weight: 800; letter-spacing: -.02em; } | |
| .gauge-center span { font-size: 11px; color: var(--muted); } | |
| .answer-letter { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-family: var(--font-en); font-weight: 800; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-inline-end: 8px; } | |
| .answer-title { font-size: 20px; font-weight: 700; display: flex; align-items: center; line-height: 1.35; } | |
| .answer-key { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 6px; direction: ltr; text-align: start; unicode-bidi: plaintext; } | |
| .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-top: 10px; } | |
| .badge.ok { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); } | |
| .badge.review { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); } | |
| .badge.low { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); } | |
| .bars { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; } | |
| .bar-row { display: grid; grid-template-columns: 26px 1fr 56px; gap: 10px; align-items: center; font-size: 13px; } | |
| .bar-letter { font-family: var(--font-en); font-weight: 700; color: var(--muted); text-align: center; } | |
| .bar-main { min-width: 0; } | |
| .bar-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; } | |
| .bar-track { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; border: 1px solid var(--border); } | |
| .bar-fill { height: 100%; border-radius: 99px; background: var(--faint); width: 0; transition: width .8s cubic-bezier(.2, .9, .2, 1); } | |
| .bar-row.win .bar-fill { background: linear-gradient(90deg, var(--accent), var(--accent-2)); } | |
| .bar-row.win .bar-letter { color: var(--accent); } | |
| .bar-pct { font-family: var(--font-en); font-variant-numeric: tabular-nums; text-align: end; color: var(--muted); font-size: 12.5px; } | |
| .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } | |
| .meta span { font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--border); font-family: var(--font-en); } | |
| .error-box { padding: 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); background: color-mix(in srgb, var(--danger) 8%, transparent); color: var(--danger); font-size: 13.5px; } | |
| .history { margin-top: 18px; } | |
| .history h4 { font-size: 13px; color: var(--muted); margin: 0 0 8px; font-weight: 600; } | |
| .hist-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); margin-bottom: 6px; font-size: 13px; cursor: pointer; } | |
| .hist-item:hover { border-color: var(--border-strong); } | |
| .hist-q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); } | |
| .hist-a { font-weight: 600; } | |
| .hist-p { font-family: var(--font-en); font-size: 12px; color: var(--faint); } | |
| /* How + API */ | |
| .how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } | |
| .how .card-body h4 { margin: 10px 0 6px; font-size: 15px; } | |
| .how .card-body p { margin: 0; color: var(--muted); font-size: 13.5px; } | |
| .step { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); } | |
| .code-tabs { display: flex; gap: 6px; } | |
| pre { margin: 0; padding: 16px 18px; overflow: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; direction: ltr; text-align: left; color: var(--text); background: var(--panel-2); border-radius: 0 0 var(--radius) var(--radius); max-height: 360px; } | |
| footer { margin: 60px 0 30px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; } | |
| footer a, .link { color: var(--accent); text-decoration: none; } | |
| footer a:hover { text-decoration: underline; } | |
| .toast { position: fixed; bottom: 24px; inset-inline-start: 50%; transform: translateX(50%); background: var(--panel-solid); border: 1px solid var(--border-strong); padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow); font-size: 13.5px; z-index: 50; animation: rise .25s ease; } | |
| html[dir="ltr"] .toast { transform: translateX(-50%); } | |
| @media (max-width: 1000px) { | |
| .workspace { grid-template-columns: 1fr; } | |
| .sticky { position: static; } | |
| .templates { grid-template-columns: repeat(2, 1fr); } | |
| .stats { grid-template-columns: repeat(2, 1fr); } | |
| .how { grid-template-columns: 1fr; } | |
| } | |
| @media (max-width: 560px) { | |
| .wrap { padding: 0 14px; } | |
| .hero { padding-top: 40px; } | |
| .templates { grid-template-columns: 1fr; } | |
| .opt { grid-template-columns: 30px minmax(0, 1fr) auto; } | |
| .opt .key { grid-column: 2 / 4; order: 3; } | |
| .status .label, .icon-btn .label { display: none; } | |
| .verdict { grid-template-columns: 1fr; justify-items: center; text-align: center; } | |
| .answer-title { justify-content: center; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { * { animation: none ; transition: none ; } } | |
| .hf-btn { background: color-mix(in srgb, var(--gold) 14%, transparent); border-color: color-mix(in srgb, var(--gold) 40%, transparent); font-weight: 600; } | |
| .hf-btn:hover { background: color-mix(in srgb, var(--gold) 22%, transparent); } | |
| .avatar { width: 22px; height: 22px; border-radius: 50%; } | |