Spaces:
Running
Running
Download style.css from Saidwire/stt-speed-test: direct link, hf CLI and curl.
- Browser
- Download file 5.2 kB
-
https://huggingface.co/spaces/Saidwire/stt-speed-test/resolve/main/style.css
- Command line
-
hf download hf://spaces/Saidwire/stt-speed-test/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Saidwire/stt-speed-test/resolve/main/style.css
5.2 kB
| @import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Mono&family=Inter:wght@400;700&display=swap"); | |
| /* Saidwire speed test: static Hugging Face Space. Dark brand look, always (matches saidwire.com). */ | |
| :root { | |
| color-scheme: dark; | |
| --bg: #0e1117; --surface: #151a23; --raise: #1b212c; --line: #262d3a; | |
| --ink: #e8ebf0; --body: #c3c9d4; --muted: #8b93a1; | |
| --sig: #f8c93a; --sig-ink: #0e1117; --bad: #ff6b6b; | |
| --sans: "Inter", "Helvetica Neue", Arial, sans-serif; | |
| --display: "Archivo Black", "Arial Black", "Helvetica Neue", sans-serif; | |
| --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { overflow-x: hidden; } | |
| body { margin: 0; background: var(--bg); color: var(--body); font: 16px/1.55 var(--sans); } | |
| h1, h2 { color: var(--ink); margin: 0; letter-spacing: -0.01em; text-wrap: balance; } | |
| a { color: var(--sig); } | |
| .wrap { max-width: 860px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)) 40px; } | |
| .hero { padding-block: 36px 18px; display: grid; gap: 12px; } | |
| .hero h1 { font: 400 clamp(30px, 6vw, 54px)/1.04 var(--display); text-transform: uppercase; } | |
| .hero .lead { font-size: 18px; margin: 0; max-width: 42em; } | |
| .kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } | |
| .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--sig); color: var(--sig-ink); font: 700 16px var(--sans); text-decoration: none; padding: 13px 20px; border-radius: 10px; border: 0; cursor: pointer; } | |
| .btn:hover { filter: brightness(1.08); } | |
| .btn:disabled { opacity: .5; cursor: default; } | |
| .btn:focus-visible, a:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; } | |
| .sp-claim { margin: 0; text-align: center; color: var(--ink); font-size: 15px; } | |
| .sp-cta a { overflow-wrap: anywhere; } | |
| code { font-family: var(--mono); font-size: .92em; } | |
| .sp-card { background: var(--surface, #151a22); border: 1px solid var(--line, #262d38); border-radius: 16px; padding: 22px 18px; display: grid; gap: 14px; margin-bottom: 22px; } | |
| .sp-watch { text-align: center; display: grid; gap: 4px; padding: 6px 0 4px; } | |
| .sp-num { font: 400 clamp(64px, 16vw, 132px)/1 var(--display); color: var(--sig, #f8c93a); letter-spacing: -.01em; font-variant-numeric: tabular-nums; } | |
| .sp-num.wait { color: var(--muted, #9aa3b2); } | |
| .sp-num.flash { animation: sp-flash .45s ease-out; } | |
| @keyframes sp-flash { from { transform: scale(1.06); } to { transform: scale(1); } } | |
| .sp-unit { font-size: .32em; margin-left: .18em; color: var(--ink, #e8ebf0); } | |
| .sp-cap { margin: 0; font-size: 16px; } | |
| .sp-break { margin: 0; min-height: 1.4em; } | |
| .sp-controls { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; } | |
| #sp-btn { min-width: 170px; font-size: 18px; } | |
| #sp-btn.live { background: var(--bad, #ff6b6b); border-color: var(--bad, #ff6b6b); color: #111; } | |
| .sp-meter { width: 120px; height: 10px; border-radius: 6px; background: var(--raise, #1d2430); overflow: hidden; } | |
| .sp-meter i { display: block; height: 100%; width: 0; background: var(--sig, #f8c93a); transition: width .06s linear; } | |
| .sp-bar { height: 4px; border-radius: 3px; background: var(--raise, #1d2430); overflow: hidden; } | |
| .sp-bar i { display: block; height: 100%; width: 0; background: var(--muted, #9aa3b2); } | |
| .sp-status { margin: 0; text-align: center; font-size: 15px; min-height: 1.4em; } | |
| .sp-status.err { color: var(--bad, #ff6b6b); } | |
| .sp-log { display: grid; gap: 8px; min-height: 60px; max-height: 340px; overflow-y: auto; align-content: start; } | |
| .sp-line { background: var(--raise, #1d2430); border-radius: 12px; padding: 10px 13px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; } | |
| .sp-line .t { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; } | |
| .sp-line .ms { font: 400 20px var(--display); color: var(--sig, #f8c93a); white-space: nowrap; } | |
| .sp-line .sub { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted, #9aa3b2); } | |
| .sp-line.interim .t { opacity: .6; font-style: italic; } | |
| .sp-sum { margin: 0; text-align: center; } | |
| .sp-others { margin: 0; text-align: center; color: var(--muted, #9aa3b2); } | |
| .sp-how { margin-bottom: 22px; } | |
| .sp-how h2 { font-size: 20px; } | |
| .sp-how ol { padding-left: 1.2em; display: grid; gap: 6px; line-height: 1.5; } | |
| .sp-how code { font-family: var(--mono); font-size: .92em; } | |
| .sp-cta { background: var(--surface, #151a22); border: 1px solid var(--line, #262d38); border-radius: 16px; padding: 18px; margin-bottom: 18px; } | |
| .sp-cta p { margin: 0 0 12px; line-height: 1.5; } | |
| .sp-cta p:last-child { margin: 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; } | |
| .sp-link { color: var(--ink, #e8ebf0); } | |
| .sp-foot { padding-block: 10px 40px; } | |
| .muted { color: var(--muted, #9aa3b2); } | |
| .small { font-size: 13.5px; } | |
| @media (max-width: 560px) { .sp-card { padding: 18px 14px; } .sp-meter { width: 90px; } } | |
| .sp-break { display: grid; gap: 2px; justify-items: center; } | |
| .sp-row { display: block; } | |
| .sp-row b { color: var(--ink, #e8ebf0); font-weight: 600; font-variant-numeric: tabular-nums; } | |
| .sp-eq { margin-top: 2px; } | |