Download style.css from kadirnar/stt-arena: direct link, hf CLI and curl.
- Browser
- Download file 17.1 kB
-
https://huggingface.co/spaces/kadirnar/stt-arena/resolve/main/style.css
- Command line
-
hf download hf://spaces/kadirnar/stt-arena/style.css
-
curl -L -o style.css https://huggingface.co/spaces/kadirnar/stt-arena/resolve/main/style.css
17.1 kB
| /* Archivo draws "&" like an 8; borrow that one glyph from a system face so region names read cleanly */ | |
| @font-face { font-family: "Ampersand"; src: local("Helvetica Neue"), local("Helvetica"), local("Arial"); unicode-range: U+26; } | |
| :root { | |
| color-scheme: light; | |
| --paper: #ffffff; | |
| --wash: #f2f5f4; | |
| --ink: #0f1715; | |
| --ink-2: #36423f; | |
| --muted: #5c6965; | |
| --line: #e4e9e7; | |
| --line-2: #cdd5d2; | |
| /* one green ramp, light -> dark: hours of test audio (validated as an ordinal ramp on white) */ | |
| --h1: #62bfa3; --h2: #2a987c; --h3: #146f5b; --h4: #08453a; | |
| --accent: #146f5b; | |
| --shadow: 0 16px 48px rgba(15, 23, 21, 0.16), 0 2px 6px rgba(15, 23, 21, 0.06); | |
| --font: "Ampersand", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; | |
| --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; | |
| --toolbar-h: 68px; | |
| /* language | region | depth | sets | hours | 16 conditions */ | |
| --cols: minmax(0, 1fr) 150px 84px 48px 56px 448px; | |
| --cell: 28px; | |
| } | |
| * { box-sizing: border-box; } | |
| html { -webkit-text-size-adjust: 100%; } | |
| html, body { margin: 0; background: var(--paper); color: var(--ink); } | |
| body { font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; } | |
| body.locked { overflow: hidden; } | |
| a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; } | |
| a:hover { text-decoration-color: currentColor; } | |
| button { font: inherit; color: inherit; } | |
| code, pre { font-family: var(--mono); font-size: 0.86em; } | |
| :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; } | |
| .wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; } | |
| .muted { color: var(--muted); font-weight: 400; } | |
| .code { font-stretch: 85%; font-size: 13px; color: var(--muted); letter-spacing: 0.01em; } | |
| /* ---- top ------------------------------------------------------------------------------------- */ | |
| .top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; } | |
| .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; | |
| color: var(--ink); text-decoration: none; } | |
| .mark .m4 { fill: var(--h4); } .mark .m3 { fill: var(--h3); } .mark .m2 { fill: var(--h1); } .mark .m0 { fill: var(--line-2); } | |
| .link-btn { border: 0; background: none; padding: 4px 0; cursor: pointer; color: var(--accent); font-weight: 500; | |
| text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; } | |
| .link-btn:hover { text-decoration-color: currentColor; } | |
| /* ---- intro ----------------------------------------------------------------------------------- */ | |
| .intro { padding: 36px 0 28px; } | |
| .intro h1 { margin: 0; font-size: clamp(2.1rem, 1.1rem + 3.3vw, 3.75rem); font-weight: 600; font-stretch: 82%; | |
| line-height: 1.03; letter-spacing: -0.02em; text-wrap: balance; } | |
| .intro p { margin: 18px 0 0; max-width: 68ch; font-size: 1.14rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; } | |
| /* ---- toolbar --------------------------------------------------------------------------------- */ | |
| .toolbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; height: var(--toolbar-h); | |
| margin: 0 -12px; padding: 0 12px; background: var(--paper); } | |
| .search { flex: none; display: flex; align-items: center; gap: 10px; width: 300px; height: 44px; padding: 0 10px 0 13px; | |
| border: 1.5px solid var(--line-2); border-radius: 12px; cursor: text; color: var(--muted); background: var(--paper); } | |
| .search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20, 111, 91, 0.16); } | |
| .search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); } | |
| .search input::placeholder { color: var(--muted); } | |
| .search input::-webkit-search-cancel-button { -webkit-appearance: none; } | |
| .search kbd { font: 500 12px var(--font); color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; } | |
| .search:focus-within kbd { display: none; } | |
| .chips { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 4px 28px 4px 2px; | |
| -webkit-mask-image: linear-gradient(to left, transparent, #000 28px); mask-image: linear-gradient(to left, transparent, #000 28px); } | |
| .chips::-webkit-scrollbar { display: none; } | |
| .chip { flex: none; height: 34px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); | |
| cursor: pointer; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink-2); } | |
| .chip span { margin-left: 7px; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; } | |
| .chip:hover { border-color: var(--ink); color: var(--ink); } | |
| .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; } | |
| .chip[aria-pressed="true"] span { color: #b9c7c2; } | |
| /* ---- status line ----------------------------------------------------------------------------- */ | |
| .status { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding: 10px 0 6px; | |
| font-size: 14px; color: var(--ink-2); } | |
| .status p { margin: 0; } | |
| .status b { color: var(--ink); font-variant-numeric: tabular-nums; } | |
| .status .link-btn { margin-left: 10px; padding: 0; } | |
| .legend { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; } | |
| .lg-title { color: var(--muted); } | |
| .lg { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; } | |
| /* a condition cell: a square on the green ramp, or a dot when the language has no audio there */ | |
| .c { display: inline-block; flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--line-2); } | |
| .c.h1 { background: var(--h1); } .c.h2 { background: var(--h2); } .c.h3 { background: var(--h3); } .c.h4 { background: var(--h4); } | |
| .cells .c { justify-self: center; } | |
| .cells .c:not([data-t]) { width: 4px; height: 4px; border-radius: 50%; } | |
| /* ---- matrix ---------------------------------------------------------------------------------- */ | |
| .matrix { margin: 0 -12px; } | |
| .mhead, .row { display: grid; grid-template-columns: var(--cols); column-gap: 12px; align-items: center; padding: 0 44px 0 12px; } | |
| .cells { display: grid; grid-template-columns: repeat(16, var(--cell)); align-items: center; } | |
| .mhead { position: sticky; top: var(--toolbar-h); z-index: 9; height: 90px; align-items: end; padding-bottom: 8px; | |
| background: var(--paper); border-bottom: 1px solid var(--ink); font-size: 13px; color: var(--muted); } | |
| .mhead > span, .sort { font-weight: 500; line-height: 1.3; } | |
| .sort { border: 0; background: none; padding: 0; cursor: pointer; text-align: left; color: var(--muted); white-space: nowrap; } | |
| .sort.num { text-align: right; } | |
| .sort:hover, .sort.on { color: var(--ink); } | |
| .sort.on { font-weight: 600; } | |
| .sort[data-dir="down"]::after { content: " ↓"; } | |
| .sort[data-dir="up"]::after { content: " ↑"; } | |
| .col-depth[data-tip] { cursor: help; text-decoration: underline dotted var(--line-2); text-underline-offset: 4px; } | |
| .mhead .cells { align-self: stretch; align-items: end; } | |
| .ch { position: relative; height: 100%; pointer-events: none; } | |
| .ch button { pointer-events: auto; position: absolute; left: 50%; bottom: 3px; margin-left: 3px; transform-origin: 0 100%; transform: rotate(-45deg); | |
| border: 0; background: none; padding: 1px 7px 1px 3px; border-radius: 999px; cursor: pointer; white-space: nowrap; | |
| font-size: 13.5px; font-stretch: 84%; font-weight: 500; line-height: 1.25; color: var(--ink-2); } | |
| .ch button:hover { color: var(--ink); background: var(--wash); } | |
| .ch button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 600; padding-left: 7px; } | |
| .row { width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; | |
| text-align: left; cursor: pointer; } | |
| .row:hover, .row.current { background: var(--wash); } | |
| .row:focus-visible { outline-offset: -2px; border-radius: 8px; } | |
| .nm { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; } | |
| .nm b { flex: 0 0 auto; max-width: 100%; font-weight: 600; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; } | |
| .nm .code { flex: none; } | |
| .nm .extra { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: var(--muted); } | |
| .conds { display: none; } | |
| .row .col-region, .row .col-depth { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .num { text-align: right; font-variant-numeric: tabular-nums; } | |
| .row .num { font-size: 14.5px; color: var(--ink-2); } | |
| .row .col-hours { color: var(--ink); font-weight: 500; } | |
| .row .u { display: none; } | |
| .empty { padding: 48px 12px 56px; max-width: 76ch; } | |
| .empty p { margin: 0 0 16px; font-size: 16px; color: var(--ink-2); } | |
| .empty b { color: var(--ink); } | |
| .btn { height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 500; cursor: pointer; } | |
| .btn:hover { background: var(--h4); } | |
| .site-foot { margin-top: 28px; padding-top: 18px; padding-bottom: 36px; color: var(--muted); font-size: 13.5px; } | |
| .site-foot p { margin: 0; } | |
| /* ---- tooltip --------------------------------------------------------------------------------- */ | |
| .tip { position: fixed; z-index: 60; pointer-events: none; min-width: 190px; max-width: 300px; background: var(--ink); color: #fff; | |
| border-radius: 10px; box-shadow: var(--shadow); padding: 10px 12px; font-size: 13px; line-height: 1.45; } | |
| .tip .t { font-weight: 600; font-size: 14px; } | |
| .tip .d { color: #c3cfcb; } | |
| .tip .d b { color: #fff; font-weight: 600; } | |
| .tip .d + .d { margin-top: 4px; } | |
| .tip .r { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, 0.18); | |
| font-variant-numeric: tabular-nums; } | |
| .tip .r span:first-child { color: #c3cfcb; } | |
| .tip .hint { margin-top: 6px; color: #9fb0ab; font-size: 12.5px; } | |
| /* ---- drawer ---------------------------------------------------------------------------------- */ | |
| .scrim { position: fixed; inset: 0; z-index: 40; background: rgba(15, 23, 21, 0.32); opacity: 0; transition: opacity .2s; } | |
| .scrim.open { opacity: 1; } | |
| .drawer { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(720px, 100vw); background: var(--paper); | |
| box-shadow: var(--shadow); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .25s ease; } | |
| .drawer.open { transform: none; } | |
| .drawer:focus { outline: 0; } | |
| .dr-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; | |
| padding: 22px 32px 16px; background: var(--paper); } | |
| .dr-title { display: flex; align-items: baseline; gap: 12px; min-width: 0; } | |
| .dr-title h2 { margin: 0; font-size: 2.1rem; font-weight: 600; font-stretch: 84%; letter-spacing: -0.015em; line-height: 1.1; } | |
| .dr-title .code { font-size: 15px; } | |
| .dr-tools { display: flex; gap: 6px; flex: none; } | |
| .icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); | |
| background: var(--paper); color: var(--ink-2); cursor: pointer; } | |
| .icon-btn:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); } | |
| .icon-btn:disabled { opacity: 0.35; cursor: default; } | |
| .dr-body { padding: 4px 32px 48px; } | |
| .dr-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); } | |
| .dr-stats div { padding: 14px 0 14px 20px; border-left: 1px solid var(--line); } | |
| .dr-stats div:first-child { padding-left: 0; border-left: 0; } | |
| .dr-stats dd { margin: 0; font-size: 1.9rem; font-weight: 600; font-stretch: 88%; letter-spacing: -0.01em; line-height: 1.15; font-variant-numeric: tabular-nums; } | |
| .dr-stats dt { font-size: 13.5px; color: var(--muted); } | |
| .facts { margin: 18px 0 34px; display: grid; gap: 7px; font-size: 14.5px; } | |
| .facts div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; } | |
| .facts dt { color: var(--muted); } | |
| .facts dd { margin: 0; color: var(--ink); } | |
| .facts .muted { margin-left: 6px; font-size: 13.5px; } | |
| .sets-head { display: grid; grid-template-columns: 1fr 84px 64px; align-items: baseline; gap: 12px; padding-bottom: 10px; | |
| font-size: 13px; color: var(--muted); text-align: right; } | |
| .sets-head h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); text-align: left; } | |
| .grp { border-top: 1px solid var(--line-2); padding: 14px 0 6px; } | |
| .grp h4 { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 2px; font-size: 15.5px; font-weight: 600; } | |
| .grp h4 .c { width: 14px; height: 14px; border-radius: 4px; } | |
| .grp h4 span { font-weight: 400; font-size: 13.5px; color: var(--muted); } | |
| .sets { list-style: none; margin: 0; padding: 0 0 0 24px; } | |
| .sets li { padding: 10px 0; } | |
| .sets li + li { border-top: 1px solid var(--line); } | |
| .s-main { display: grid; grid-template-columns: 1fr 84px 64px; gap: 12px; align-items: baseline; font-size: 14.5px; } | |
| .s-name { color: var(--ink); } | |
| .s-num { text-align: right; white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; } | |
| .s-meta { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 4px 0 0; font-size: 13px; } | |
| .s-meta div { display: flex; gap: 6px; min-width: 0; } | |
| .s-meta dt { color: var(--muted); flex: none; } | |
| .s-meta dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; } | |
| .flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; } | |
| .flags span { font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 9px; cursor: help; } | |
| .note { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); } | |
| .note code { color: var(--ink-2); } | |
| /* how it's built */ | |
| .prose { max-width: 66ch; } | |
| .prose .lead { font-size: 1.1rem; line-height: 1.6; color: var(--ink); margin: 0; } | |
| .prose h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin: 34px 0 8px; } | |
| .prose p, .prose li { color: var(--ink-2); line-height: 1.65; font-size: 15px; } | |
| .prose p { margin: 0 0 12px; } | |
| .prose li { margin-bottom: 8px; } | |
| .prose ul { padding-left: 20px; margin: 0 0 12px; } | |
| .prose strong { color: var(--ink); } | |
| .prose pre { background: var(--ink); color: #e3ebe8; border-radius: 12px; padding: 14px 16px; overflow-x: auto; line-height: 1.6; font-size: 13px; } | |
| .prose :not(pre) > code { background: var(--wash); padding: 2px 6px; border-radius: 5px; overflow-wrap: anywhere; } | |
| .defs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 10px 0 0; font-size: 15px; line-height: 1.5; } | |
| .defs dt { font-weight: 600; } | |
| .defs dd { margin: 0; color: var(--ink-2); } | |
| .defs .muted { white-space: nowrap; font-size: 13.5px; margin-left: 4px; } | |
| .small { font-size: 14px; color: var(--muted); } | |
| /* ---- responsive ------------------------------------------------------------------------------ */ | |
| @media (max-width: 1180px) { | |
| :root { --cols: minmax(0, 1fr) 84px 48px 56px 448px; } | |
| .col-region { display: none; } | |
| } | |
| @media (max-width: 1020px) { | |
| :root { --cols: minmax(0, 1fr) 48px 56px 448px; } | |
| .col-depth { display: none; } | |
| } | |
| @media (max-width: 900px) { | |
| .wrap { padding: 0 18px; } | |
| .top { height: 56px; } | |
| .intro { padding: 20px 0 20px; } | |
| .intro p { font-size: 1.05rem; margin-top: 14px; } | |
| .toolbar { position: static; height: auto; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; padding: 0; } | |
| .search { width: 100%; } | |
| .search kbd { display: none; } | |
| .chips { margin: 0 -18px; padding: 4px 18px; -webkit-mask-image: none; mask-image: none; } | |
| .lg-title { flex-basis: 100%; } | |
| .mhead { display: none; } | |
| .matrix { margin: 0 -18px; border-top: 1px solid var(--ink); } | |
| .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm hours" "cells sets"; gap: 8px 12px; padding: 12px 18px; } | |
| .nm { grid-area: nm; } | |
| .row .col-hours { grid-area: hours; } | |
| .row .col-sets { grid-area: sets; font-size: 13.5px; color: var(--muted); } | |
| .row .cells { display: none; } | |
| .conds { grid-area: cells; display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 13.5px; color: var(--ink-2); } | |
| .conds span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } | |
| .conds .c { width: 10px; height: 10px; border-radius: 3px; } | |
| .row .col-sets { align-self: start; } | |
| .row .u { display: inline; } | |
| .empty { padding: 36px 18px 44px; } | |
| .dr-head { padding: 16px 18px 12px; } | |
| .dr-body { padding: 4px 18px 40px; } | |
| .dr-title h2 { font-size: 1.7rem; } | |
| .dr-stats dd { font-size: 1.5rem; } | |
| .dr-stats div { padding-left: 14px; } | |
| .facts div { grid-template-columns: 96px 1fr; gap: 12px; } | |
| .sets { padding-left: 0; } | |
| .sets-head, .s-main { grid-template-columns: 1fr 72px 52px; gap: 8px; } | |
| .defs { grid-template-columns: 1fr; gap: 2px; } | |
| .defs dd { margin-bottom: 10px; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { * { transition: none ; } } | |