Download assets/styles.css from ai-router/openai-compatible-api-quickstart: direct link, hf CLI and curl.
- Browser
- Download file 6.44 kB
-
https://huggingface.co/spaces/ai-router/openai-compatible-api-quickstart/resolve/main/assets/styles.css
- Command line
-
hf download hf://spaces/ai-router/openai-compatible-api-quickstart/assets/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/ai-router/openai-compatible-api-quickstart/resolve/main/assets/styles.css
6.44 kB
| :root { | |
| color-scheme: dark; | |
| --canvas: #070b18; | |
| --panel: rgba(15, 25, 53, 0.88); | |
| --border: rgba(149, 173, 255, 0.22); | |
| --text: #eef3ff; | |
| --muted: #aebcdd; | |
| --blue: #77a7ff; | |
| --cyan: #56e2dc; | |
| --violet: #a986ff; | |
| font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| } | |
| * { box-sizing: border-box; } | |
| body { | |
| min-width: 320px; | |
| margin: 0; | |
| color: var(--text); | |
| background: | |
| radial-gradient(circle at 10% 0%, rgba(90, 110, 255, 0.25), transparent 36rem), | |
| radial-gradient(circle at 100% 20%, rgba(63, 220, 208, 0.14), transparent 28rem), | |
| var(--canvas); | |
| } | |
| button, input, select, textarea { font: inherit; } | |
| button { cursor: pointer; } | |
| .page-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 2.25rem 0 4rem; } | |
| .hero { | |
| padding: clamp(1.5rem, 4vw, 3rem); | |
| border: 1px solid var(--border); | |
| border-radius: 1.5rem; | |
| background: linear-gradient(135deg, rgba(26, 47, 99, 0.88), rgba(15, 25, 53, 0.86)); | |
| box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32); | |
| } | |
| .brand-row { display: flex; align-items: center; gap: .55rem; color: #dce7ff; font-weight: 750; letter-spacing: .03em; } | |
| .brand-mark { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; color: #05101f; border-radius: .5rem; background: linear-gradient(135deg, var(--cyan), var(--blue)); } | |
| .brand-name { font-size: .9rem; } | |
| .tag { padding: .25rem .55rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: normal; } | |
| .hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(17rem, .8fr); gap: 2rem; align-items: end; margin-top: 2.5rem; } | |
| .eyebrow { margin: 0 0 .55rem; color: var(--cyan); font-size: .75rem; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; } | |
| h1, h2, p { margin-top: 0; } | |
| h1 { max-width: 13ch; margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.055em; } | |
| h2 { margin-bottom: .65rem; font-size: 1.2rem; letter-spacing: -.02em; } | |
| .hero-copy { max-width: 61ch; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; } | |
| .privacy-card { display: flex; gap: .9rem; padding: 1.2rem; border: 1px solid rgba(86, 226, 220, .32); border-radius: 1rem; background: rgba(2, 15, 35, .48); color: var(--muted); } | |
| .privacy-card strong { color: var(--text); font-size: .95rem; } | |
| .privacy-card p { margin: .35rem 0 0; font-size: .875rem; line-height: 1.5; } | |
| .privacy-icon { display: grid; flex: 0 0 auto; place-items: center; width: 2rem; height: 2rem; color: var(--cyan); border: 1px solid rgba(86, 226, 220, .4); border-radius: .5rem; font-weight: 800; } | |
| .workspace { display: grid; grid-template-columns: minmax(17rem, .78fr) minmax(0, 1.22fr); gap: 1.25rem; margin-top: 1.25rem; } | |
| .panel, .locale-card, .guidance-grid article { border: 1px solid var(--border); border-radius: 1rem; background: var(--panel); box-shadow: 0 15px 40px rgba(0, 0, 0, .18); } | |
| .panel { padding: clamp(1.25rem, 3vw, 2rem); } | |
| .section-heading { margin-bottom: 1.25rem; } | |
| label { display: block; margin: 1.1rem 0 .45rem; color: #dae4ff; font-size: .88rem; font-weight: 700; } | |
| input, select, textarea { width: 100%; border: 1px solid rgba(159, 184, 255, .3); border-radius: .65rem; padding: .75rem .82rem; color: var(--text); background: #0a1530; outline: none; } | |
| input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(86, 226, 220, .12); } | |
| textarea { resize: vertical; min-height: 7rem; line-height: 1.5; } | |
| .field-note, .output-note { color: var(--muted); font-size: .8rem; line-height: 1.55; } | |
| .field-note { margin: .45rem 0 0; } | |
| code { color: #cddcff; } | |
| .primary-button, .secondary-button { border-radius: .65rem; font-weight: 760; transition: transform .15s ease, background .15s ease; } | |
| .primary-button { width: 100%; margin-top: 1.35rem; padding: .82rem 1rem; color: #041328; border: 0; background: linear-gradient(135deg, var(--cyan), var(--blue)); } | |
| .primary-button:hover, .secondary-button:hover, .tab:hover { transform: translateY(-1px); } | |
| .secondary-button { padding: .58rem .75rem; color: #dbe6ff; border: 1px solid var(--border); background: #122047; } | |
| .output-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; } | |
| .tabs { display: flex; gap: .35rem; margin: 1rem 0; padding-bottom: .85rem; border-bottom: 1px solid var(--border); } | |
| .tab { padding: .45rem .65rem; color: var(--muted); border: 0; border-radius: .45rem; background: transparent; font-size: .85rem; font-weight: 700; } | |
| .tab.active { color: #071327; background: var(--cyan); } | |
| .code-block { min-height: 25rem; max-height: 34rem; margin: 0; overflow: auto; border: 1px solid rgba(127, 163, 255, .2); border-radius: .75rem; padding: 1rem; background: #050a18; color: #dce8ff; font: .81rem/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace; white-space: pre-wrap; } | |
| .language-section { margin-top: 1.25rem; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: 1rem; background: rgba(10, 19, 44, .7); } | |
| .locale-card { padding: 1.4rem; } | |
| .locale-card h3 { margin: 0 0 .7rem; font-size: 1.25rem; } | |
| .locale-card p { color: var(--muted); line-height: 1.65; } | |
| .locale-card .offer { padding: .9rem 1rem; color: #d9e8ff; border-left: 3px solid var(--violet); border-radius: .45rem; background: rgba(169, 134, 255, .09); } | |
| .locale-card a { display: inline-flex; margin-top: .25rem; padding: .68rem .85rem; color: #06142b; border-radius: .6rem; background: var(--blue); font-weight: 760; text-decoration: none; } | |
| .locale-card .disclaimer { margin: 1rem 0 0; font-size: .82rem; } | |
| .guidance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; } | |
| .guidance-grid article { padding: 1.35rem; } | |
| .guidance-grid p, .guidance-grid li { color: var(--muted); font-size: .9rem; line-height: 1.6; } | |
| .guidance-grid ol { padding-left: 1.2rem; margin-bottom: 0; } | |
| @media (max-width: 820px) { | |
| .hero-grid, .workspace, .guidance-grid { grid-template-columns: 1fr; } | |
| .code-block { min-height: 20rem; } | |
| } | |
| @media (max-width: 500px) { | |
| .page-shell { width: min(100% - 1rem, 1180px); padding-top: .5rem; } | |
| .hero, .panel, .language-section { border-radius: .9rem; } | |
| .output-heading { align-items: stretch; flex-direction: column; } | |
| .secondary-button { align-self: flex-start; } | |
| } | |