Spaces:
Running
Running
Download styles.css from cloud0day3/antalia: direct link, hf CLI and curl.
- Browser
- Download file 17.6 kB
-
https://huggingface.co/spaces/cloud0day3/antalia/resolve/main/styles.css
- Command line
-
hf download hf://spaces/cloud0day3/antalia/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/cloud0day3/antalia/resolve/main/styles.css
17.6 kB
| /* Antalia 1 showcase — static, no build step. Tokens re-expressed from the product palette. */ | |
| *, *::before, *::after { box-sizing: border-box; } | |
| * { margin: 0; } | |
| :root { | |
| --bg: oklch(0.972 0.008 85); | |
| --bg-deep: oklch(0.945 0.014 82); | |
| --surface: oklch(0.995 0.003 85); | |
| --ink: oklch(0.235 0.014 55); | |
| --ink-soft: oklch(0.4 0.02 52); | |
| --muted: oklch(0.47 0.022 52); | |
| --line: oklch(0.885 0.014 78); | |
| --line-strong: oklch(0.82 0.018 74); | |
| --accent: oklch(0.585 0.14 38); | |
| --accent-dark: oklch(0.455 0.115 35); | |
| --accent-soft: oklch(0.91 0.045 48); | |
| --sage: oklch(0.82 0.07 143); | |
| --sage-soft: oklch(0.93 0.035 143); | |
| --sage-dark: oklch(0.34 0.055 143); | |
| --danger: oklch(0.46 0.16 27); | |
| --danger-soft: oklch(0.93 0.035 27); | |
| --white: oklch(0.995 0.003 85); | |
| --focus: var(--accent-dark); | |
| --radius-sm: 0.5rem; | |
| --radius-md: 0.9rem; | |
| --radius-lg: 1.4rem; | |
| --shadow-card: 0 1px 2px oklch(0.25 0.02 50 / 0.06), 0 12px 32px oklch(0.25 0.02 50 / 0.08); | |
| --shell: 72rem; | |
| --measure: 66ch; | |
| --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; | |
| --font-head: "Iowan Old Style", Baskerville, "Times New Roman", serif; | |
| --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; | |
| --text-xs: 0.75rem; | |
| --text-sm: 0.875rem; | |
| --text-md: 1rem; | |
| --text-lg: 1.125rem; | |
| --text-xl: 1.375rem; | |
| } | |
| html { scroll-behavior: auto; } | |
| @media (prefers-reduced-motion: no-preference) { | |
| html { scroll-behavior: smooth; } | |
| } | |
| body { | |
| min-height: 100vh; | |
| background: var(--bg); | |
| color: var(--ink); | |
| font-family: var(--font-body); | |
| font-size: var(--text-md); | |
| line-height: 1.55; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| overflow-x: clip; | |
| } | |
| button, input, select { font: inherit; } | |
| img, svg { display: block; max-width: 100%; } | |
| a { color: inherit; } | |
| button { color: inherit; } | |
| button, a { -webkit-tap-highlight-color: transparent; } | |
| ::selection { background: var(--sage); color: var(--ink); } | |
| :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; } | |
| [id] { scroll-margin-top: 1.5rem; } | |
| h1, h2, h3 { font-family: var(--font-head); font-weight: 500; } | |
| h1, h2 { letter-spacing: -0.02em; text-wrap: balance; } | |
| h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.02; } | |
| h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; } | |
| h3 { font-size: var(--text-xl); line-height: 1.2; } | |
| p, li, dd { text-wrap: pretty; } | |
| p { max-width: var(--measure); } | |
| strong { font-weight: 650; } | |
| code, kbd, pre { font-family: var(--font-mono); font-size: 0.9em; } | |
| code { background: var(--bg-deep); border-radius: 0.3em; padding: 0.1em 0.35em; } | |
| pre code { background: none; padding: 0; font-size: 1em; } | |
| .visually-hidden { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| margin: -1px; | |
| padding: 0; | |
| overflow: hidden; | |
| clip-path: inset(50%); | |
| white-space: nowrap; | |
| border: 0; | |
| } | |
| .skip-link { | |
| position: fixed; | |
| inset-block-start: 0.75rem; | |
| inset-inline-start: 0.75rem; | |
| z-index: 100; | |
| transform: translateY(-150%); | |
| border-radius: 999px; | |
| background: var(--ink); | |
| color: var(--white); | |
| padding: 0.75rem 1rem; | |
| font-weight: 650; | |
| text-decoration: none; | |
| } | |
| .skip-link:focus { transform: translateY(0); } | |
| .shell { | |
| width: min(100% - 2.5rem, var(--shell)); | |
| margin-inline: auto; | |
| } | |
| /* Header ------------------------------------------------------------------ */ | |
| .site-header { padding-block: 1.25rem; border-block-end: 1px solid var(--line); } | |
| .header-inner { | |
| display: flex; | |
| flex-wrap: wrap; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 0.75rem 1.5rem; | |
| } | |
| .brand { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.55rem; | |
| font-weight: 700; | |
| letter-spacing: -0.02em; | |
| text-decoration: none; | |
| white-space: nowrap; | |
| font-size: var(--text-lg); | |
| } | |
| .brand svg { width: 1.5rem; height: 1.5rem; color: var(--accent); } | |
| .brand-status { | |
| font-size: var(--text-xs); | |
| font-weight: 650; | |
| letter-spacing: 0.08em; | |
| text-transform: uppercase; | |
| color: var(--muted); | |
| border: 1px solid var(--line-strong); | |
| border-radius: 999px; | |
| padding: 0.2rem 0.6rem; | |
| margin-inline-start: 0.5rem; | |
| } | |
| .site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; } | |
| .site-nav a { | |
| display: inline-flex; | |
| align-items: center; | |
| min-height: 2.5rem; | |
| padding: 0.4rem 0.7rem; | |
| border-radius: var(--radius-sm); | |
| font-size: var(--text-sm); | |
| font-weight: 550; | |
| text-decoration: none; | |
| color: var(--ink-soft); | |
| } | |
| .site-nav a:hover { color: var(--ink); background: var(--bg-deep); } | |
| .lang-switch { | |
| display: inline-flex; | |
| align-items: center; | |
| border: 1px solid var(--line-strong); | |
| border-radius: 999px; | |
| padding: 0.15rem; | |
| margin-inline-start: 0.5rem; | |
| background: var(--surface); | |
| } | |
| .lang-switch a, .lang-switch span { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-width: 2.4rem; | |
| min-height: 2.1rem; | |
| padding: 0.2rem 0.6rem; | |
| border-radius: 999px; | |
| font-size: var(--text-xs); | |
| font-weight: 650; | |
| letter-spacing: 0.05em; | |
| text-decoration: none; | |
| color: var(--ink-soft); | |
| } | |
| .lang-switch [aria-current="page"] { background: var(--ink); color: var(--white); } | |
| .lang-switch a:hover { color: var(--ink); } | |
| /* Hero ---------------------------------------------------------------------- */ | |
| .hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4rem); } | |
| .hero h1 { max-width: 20ch; } | |
| .hero h1 em { font-style: italic; color: var(--accent-dark); } | |
| .lede { | |
| margin-block-start: 1.25rem; | |
| font-size: clamp(1.05rem, 1.5vw, 1.25rem); | |
| color: var(--ink-soft); | |
| max-width: 58ch; | |
| } | |
| .eyebrow { | |
| color: var(--accent-dark); | |
| font-size: var(--text-xs); | |
| font-weight: 700; | |
| letter-spacing: 0.13em; | |
| line-height: 1.3; | |
| text-transform: uppercase; | |
| } | |
| .hero .eyebrow { margin-block-end: 1rem; } | |
| .button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 2rem; } | |
| .button { | |
| display: inline-flex; | |
| min-height: 2.9rem; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.5rem; | |
| border: 1px solid transparent; | |
| border-radius: var(--radius-sm); | |
| padding: 0.7rem 1.15rem; | |
| font-size: var(--text-sm); | |
| font-weight: 650; | |
| line-height: 1; | |
| text-decoration: none; | |
| cursor: pointer; | |
| transition-property: background-color, border-color, color, transform; | |
| transition-duration: 150ms; | |
| transition-timing-function: ease; | |
| } | |
| .button svg { width: 1.05rem; height: 1.05rem; } | |
| .button:active { transform: scale(0.96); } | |
| .button--dark { background: var(--ink); color: var(--white); } | |
| .button--dark:hover { background: var(--accent-dark); } | |
| .button--ghost { border-color: var(--line-strong); background: var(--surface); color: var(--ink); } | |
| .button--ghost:hover { border-color: var(--ink-soft); } | |
| .hero-facts { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0.5rem 2rem; | |
| margin-block-start: 2.5rem; | |
| padding: 0; | |
| list-style: none; | |
| color: var(--muted); | |
| font-size: var(--text-sm); | |
| } | |
| .hero-facts strong { color: var(--ink); font-variant-numeric: tabular-nums; } | |
| /* Sections ------------------------------------------------------------------- */ | |
| .section { padding-block: clamp(2.5rem, 6vw, 4.5rem); } | |
| .section + .section { border-block-start: 1px solid var(--line); } | |
| .section-head { margin-block-end: 2rem; } | |
| .section-head .eyebrow { margin-block-end: 0.6rem; } | |
| .section-head p { margin-block-start: 0.85rem; color: var(--ink-soft); } | |
| .section--tint { background: var(--bg-deep); } | |
| .section--tint .card { background: var(--surface); } | |
| .subsection { margin-block-start: 3rem; } | |
| .subsection h3 { margin-block-end: 0.5rem; } | |
| .subsection > p { color: var(--ink-soft); margin-block-end: 1.25rem; } | |
| /* Cards & players -------------------------------------------------------------- */ | |
| .card-grid { | |
| display: grid; | |
| gap: 1.25rem; | |
| grid-template-columns: repeat(auto-fill, minmax(min(100%, 32rem), 1fr)); | |
| } | |
| .card { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| background: var(--surface); | |
| border-radius: var(--radius-lg); | |
| padding: 1.25rem; | |
| box-shadow: var(--shadow-card); | |
| container-type: inline-size; | |
| } | |
| .card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; } | |
| .card-text { | |
| font-family: var(--font-head); | |
| font-size: var(--text-lg); | |
| line-height: 1.4; | |
| max-width: none; | |
| overflow-wrap: anywhere; | |
| } | |
| .card-text::before { content: "“"; color: var(--accent); } | |
| .card-text::after { content: "”"; color: var(--accent); } | |
| .card-note { | |
| font-size: var(--text-sm); | |
| color: var(--ink-soft); | |
| max-width: none; | |
| } | |
| .card-note strong { font-variant-numeric: tabular-nums; } | |
| .chip { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.35rem; | |
| min-height: 1.6rem; | |
| padding: 0.15rem 0.6rem; | |
| border-radius: 999px; | |
| background: var(--surface); | |
| color: var(--ink-soft); | |
| box-shadow: inset 0 0 0 1px var(--line); | |
| font-size: var(--text-xs); | |
| font-weight: 650; | |
| letter-spacing: 0.02em; | |
| white-space: nowrap; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .chip--category { background: var(--accent-soft); color: var(--accent-dark); box-shadow: none; } | |
| .chip--good { background: var(--sage-soft); color: var(--sage-dark); box-shadow: none; } | |
| .chip--bad { background: var(--danger-soft); color: var(--danger); box-shadow: none; } | |
| .chip--id { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; } | |
| .players { | |
| display: grid; | |
| gap: 1rem; | |
| grid-template-columns: 1fr; | |
| } | |
| @container (min-width: 29rem) { | |
| .players { grid-template-columns: 1fr 1fr; gap: 0.75rem; } | |
| } | |
| .player { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.6rem; | |
| border-radius: var(--radius-md); | |
| padding: 0.75rem; | |
| background: var(--bg); | |
| border: 1px solid var(--line); | |
| min-width: 0; | |
| } | |
| .section--tint .player { background: var(--bg-deep); } | |
| .player-label { | |
| display: flex; | |
| align-items: baseline; | |
| justify-content: space-between; | |
| gap: 0.5rem; | |
| font-size: var(--text-sm); | |
| font-weight: 650; | |
| } | |
| .player-label small { font-weight: 500; color: var(--muted); font-size: var(--text-xs); white-space: nowrap; } | |
| .player audio { width: 100%; min-width: 0; display: block; border-radius: var(--radius-sm); } | |
| .player-stats { display: flex; flex-wrap: wrap; gap: 0.4rem; } | |
| .player-download { | |
| align-self: flex-start; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.35rem; | |
| min-height: 2rem; | |
| font-size: var(--text-xs); | |
| font-weight: 650; | |
| color: var(--ink-soft); | |
| text-decoration-color: var(--line-strong); | |
| text-decoration-thickness: 1px; | |
| text-underline-offset: 0.25em; | |
| } | |
| .player-download:hover { color: var(--ink); text-decoration-color: var(--accent); } | |
| .player-download svg { width: 0.9rem; height: 0.9rem; } | |
| .card--single .players { grid-template-columns: 1fr; } | |
| /* Two-column lists -------------------------------------------------------------- */ | |
| .columns { | |
| display: grid; | |
| gap: 2rem; | |
| grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); | |
| } | |
| .columns h3 { margin-block-end: 1rem; display: flex; align-items: center; gap: 0.5rem; } | |
| .columns h3 svg { width: 1.25rem; height: 1.25rem; flex: none; } | |
| .h3-good svg { color: var(--sage-dark); } | |
| .h3-bad svg { color: var(--danger); } | |
| .fact-list { list-style: none; padding: 0; display: grid; gap: 0.85rem; } | |
| .fact-list li { | |
| padding-inline-start: 1.25rem; | |
| position: relative; | |
| color: var(--ink-soft); | |
| } | |
| .fact-list li::before { | |
| content: ""; | |
| position: absolute; | |
| inset-inline-start: 0; | |
| top: 0.65em; | |
| width: 0.45rem; | |
| height: 0.45rem; | |
| border-radius: 50%; | |
| background: var(--line-strong); | |
| } | |
| .fact-list--good li::before { background: var(--sage); } | |
| .fact-list--bad li::before { background: var(--accent); } | |
| .fact-list strong { color: var(--ink); } | |
| /* Callout ------------------------------------------------------------------------ */ | |
| .callout { | |
| display: grid; | |
| gap: 1.5rem; | |
| grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); | |
| background: var(--surface); | |
| border-radius: var(--radius-lg); | |
| padding: clamp(1.25rem, 3vw, 2rem); | |
| box-shadow: var(--shadow-card); | |
| border-inline-start: 4px solid var(--accent); | |
| } | |
| .callout p { max-width: none; color: var(--ink-soft); } | |
| .callout p + p { margin-block-start: 0.85rem; } | |
| .stat-grid { | |
| display: grid; | |
| gap: 1rem; | |
| grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); | |
| align-content: start; | |
| } | |
| .stat { display: grid; gap: 0.15rem; } | |
| .stat dt { font-size: var(--text-xs); color: var(--muted); font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; } | |
| .stat dd { | |
| font-family: var(--font-head); | |
| font-size: 1.75rem; | |
| line-height: 1.1; | |
| font-variant-numeric: tabular-nums; | |
| color: var(--ink); | |
| } | |
| .stat dd small { display: block; font-family: var(--font-body); font-size: var(--text-xs); color: var(--muted); margin-block-start: 0.2rem; } | |
| /* Architecture -------------------------------------------------------------------- */ | |
| .diagram { | |
| width: 100%; | |
| overflow-x: auto; | |
| padding-block: 0.5rem; | |
| } | |
| .diagram svg { | |
| width: 100%; | |
| min-width: 40rem; | |
| height: auto; | |
| font-family: var(--font-body); | |
| } | |
| .diagram .box { fill: var(--surface); stroke: var(--line-strong); } | |
| .diagram .box--accent { fill: var(--accent-soft); stroke: var(--accent); } | |
| .diagram .box--sage { fill: var(--sage-soft); stroke: var(--sage); } | |
| .diagram .box--ink { fill: var(--ink); stroke: var(--ink); } | |
| .diagram text { fill: var(--ink); font-size: 12px; } | |
| .diagram text.small { fill: var(--muted); font-size: 10.5px; } | |
| .diagram text.on-ink { fill: var(--white); } | |
| .diagram text.on-ink.small { fill: oklch(0.85 0.01 80); } | |
| .diagram .arrow { stroke: var(--ink-soft); stroke-width: 1.5; fill: none; marker-end: url(#arrowhead); } | |
| .diagram .arrow--dashed { stroke-dasharray: 4 3; stroke: var(--muted); } | |
| .diagram-caption { margin-block-start: 0.75rem; font-size: var(--text-sm); color: var(--muted); } | |
| .table-wrap { overflow-x: auto; margin-block-start: 2.5rem; } | |
| table { border-collapse: collapse; width: 100%; font-size: var(--text-sm); } | |
| caption { text-align: start; font-weight: 650; padding-block-end: 0.75rem; color: var(--ink); } | |
| th, td { padding: 0.65rem 0.75rem; text-align: start; border-block-end: 1px solid var(--line); vertical-align: top; } | |
| th { font-weight: 650; color: var(--ink-soft); font-size: var(--text-xs); letter-spacing: 0.04em; text-transform: uppercase; } | |
| td.num, th.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; } | |
| tr.is-release td { font-weight: 650; background: var(--accent-soft); } | |
| tr.is-release td:first-child { border-start-start-radius: var(--radius-sm); border-end-start-radius: var(--radius-sm); } | |
| tr.is-release td:last-child { border-start-end-radius: var(--radius-sm); border-end-end-radius: var(--radius-sm); } | |
| .table-note { margin-block-start: 0.75rem; font-size: var(--text-sm); color: var(--muted); } | |
| /* Run it locally -------------------------------------------------------------------- */ | |
| pre { | |
| background: var(--ink); | |
| color: var(--white); | |
| border-radius: var(--radius-md); | |
| padding: 1.25rem 1.5rem; | |
| overflow-x: auto; | |
| line-height: 1.6; | |
| font-size: var(--text-sm); | |
| tab-size: 2; | |
| } | |
| pre .cm { color: oklch(0.75 0.03 80); } | |
| .run-steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.5rem; max-width: var(--shell); } | |
| .run-steps > li { display: grid; gap: 0.6rem; } | |
| .run-steps > li > p { color: var(--ink-soft); max-width: none; } | |
| .run-steps > li > p::before { | |
| counter-increment: step; | |
| content: counter(step); | |
| display: inline-grid; | |
| place-items: center; | |
| width: 1.5rem; | |
| height: 1.5rem; | |
| margin-inline-end: 0.6rem; | |
| border-radius: 50%; | |
| background: var(--accent-soft); | |
| color: var(--accent-dark); | |
| font-size: var(--text-xs); | |
| font-weight: 700; | |
| vertical-align: 0.1em; | |
| } | |
| /* Footer ------------------------------------------------------------------------------ */ | |
| .site-footer { | |
| border-block-start: 1px solid var(--line); | |
| padding-block: 3rem 4rem; | |
| color: var(--ink-soft); | |
| font-size: var(--text-sm); | |
| } | |
| .footer-grid { | |
| display: grid; | |
| gap: 2rem; | |
| grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); | |
| } | |
| .footer-grid h2 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-block-end: 0.75rem; } | |
| .footer-grid p { max-width: none; } | |
| .footer-grid p + p { margin-block-start: 0.6rem; } | |
| .footer-grid a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--line-strong); } | |
| .footer-grid a:hover { color: var(--ink); text-decoration-color: var(--accent); } | |
| .disclosure { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 0.75rem; | |
| margin-block-start: 2.5rem; | |
| padding: 1rem 1.25rem; | |
| border-radius: var(--radius-md); | |
| background: var(--accent-soft); | |
| color: var(--accent-dark); | |
| font-weight: 550; | |
| } | |
| .disclosure svg { width: 1.25rem; height: 1.25rem; flex: none; margin-block-start: 0.15rem; } | |
| .disclosure p { max-width: none; } | |
| /* Empty / error state for the gallery ------------------------------------------------- */ | |
| .gallery-status { color: var(--muted); font-size: var(--text-sm); } | |
| /* Motion ------------------------------------------------------------------------------ */ | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { transition-duration: 0.01ms ; animation-duration: 0.01ms ; } | |
| .button:active { transform: none; } | |
| } | |
| @media (forced-colors: active) { | |
| .chip, .player, .card, .callout { border: 1px solid CanvasText; } | |
| .lang-switch [aria-current="page"] { outline: 2px solid CanvasText; } | |
| } | |
| @media (max-width: 30rem) { | |
| .card { padding: 1rem; border-radius: var(--radius-md); } | |
| .player { padding: 0.7rem; } | |
| .brand-status { display: none; } | |
| } | |