Download style.css from Ningzzz/chapter1-tweet-classifier: direct link, hf CLI and curl.
- Browser
- Download file 2.32 kB
-
https://huggingface.co/spaces/Ningzzz/chapter1-tweet-classifier/resolve/main/style.css
- Command line
-
hf download hf://spaces/Ningzzz/chapter1-tweet-classifier/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Ningzzz/chapter1-tweet-classifier/resolve/main/style.css
2.32 kB
| :root { | |
| color-scheme: light; | |
| font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif; | |
| color: #172554; | |
| background: #f3f6fb; | |
| } | |
| * { box-sizing: border-box; } | |
| body { | |
| margin: 0; | |
| min-height: 100vh; | |
| background: radial-gradient(circle at 12% 8%, #dbeafe 0, transparent 34rem), #f3f6fb; | |
| } | |
| .shell { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 40px; } | |
| .hero { margin-bottom: 28px; } | |
| .eyebrow { color: #2563eb; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } | |
| h1 { margin: 12px 0; font-size: clamp(30px, 5vw, 46px); line-height: 1.12; } | |
| .lead { margin: 0; max-width: 600px; color: #52627d; font-size: 17px; line-height: 1.7; } | |
| .panel, .result { padding: 24px; border: 1px solid #dbe4f0; border-radius: 18px; background: #fff; box-shadow: 0 14px 40px #20365e12; } | |
| label, .result-label { display: block; margin-bottom: 10px; color: #1e3a8a; font-weight: 700; } | |
| textarea { width: 100%; resize: vertical; padding: 14px; border: 1px solid #cbd5e1; border-radius: 12px; font: inherit; line-height: 1.6; color: #172554; } | |
| textarea:focus { outline: 3px solid #bfdbfe; border-color: #3b82f6; } | |
| .actions { display: flex; gap: 10px; margin-top: 14px; } | |
| button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: #2563eb; color: white; font: inherit; font-weight: 700; cursor: pointer; } | |
| button:disabled { cursor: wait; opacity: .55; } | |
| button.secondary { border: 1px solid #cbd5e1; background: white; color: #1e3a8a; } | |
| .status { min-height: 24px; margin: 14px 0 0; color: #64748b; font-size: 14px; } | |
| .status.error { color: #b91c1c; } | |
| .result { margin-top: 18px; } | |
| .result h2 { margin: 0 0 16px; font-size: 25px; } | |
| .confidence-row { display: flex; justify-content: space-between; color: #52627d; } | |
| .confidence-row strong { color: #172554; } | |
| .meter { height: 8px; margin-top: 9px; overflow: hidden; border-radius: 999px; background: #e2e8f0; } | |
| .meter div { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #38bdf8, #2563eb); transition: width .25s ease; } | |
| footer { margin-top: 26px; color: #64748b; font-size: 13px; line-height: 1.7; } | |
| footer p { margin: 7px 0; } | |
| @media (max-width: 520px) { .shell { padding-top: 42px; } .panel, .result { padding: 18px; } .actions { flex-direction: column; } } | |