Spaces:
Running
Running
thalismind
Claude Opus 5.5
feat: Solstice 80M and Nyx 36M in the browser with prompt sweeps, embedding arithmetic and runtime LoRAs
48441eb Download style.css from ThalisAI/solstice-80m-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 10.3 kB
-
https://huggingface.co/spaces/ThalisAI/solstice-80m-webgpu/resolve/main/style.css
- Command line
-
hf download hf://spaces/ThalisAI/solstice-80m-webgpu/style.css
-
curl -L -o style.css https://huggingface.co/spaces/ThalisAI/solstice-80m-webgpu/resolve/main/style.css
10.3 kB
| :root { | |
| --bg: #f7f5f0; | |
| --card: #ffffff; | |
| --sunk: #f1eee7; | |
| --border: #e6e2d8; | |
| --border-strong: #cfc9bb; | |
| --text: #1c1b19; | |
| --muted: #6f6c64; | |
| --accent: #d9761c; | |
| --accent-hover: #c0650f; | |
| --accent-soft: #fbeedd; | |
| --ok: #2f9e5b; | |
| --wasm: #3a74d8; | |
| --warn: #c99a12; | |
| --err: #c2412d; | |
| --check-a: #e9e6de; | |
| --check-b: #f7f5f0; | |
| --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
| --mono: 'JetBrains Mono', ui-monospace, monospace; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root:not([data-theme="light"]) { | |
| --bg: #15151a; | |
| --card: #1d1d24; | |
| --sunk: #25252e; | |
| --border: #2f2f3a; | |
| --border-strong: #464656; | |
| --text: #ecebe6; | |
| --muted: #a09d95; | |
| --accent: #f0913a; | |
| --accent-hover: #ffa452; | |
| --accent-soft: #3a2a1b; | |
| --check-a: #2a2a33; | |
| --check-b: #22222a; | |
| } | |
| } | |
| :root[data-theme="dark"] { | |
| --bg: #15151a; | |
| --card: #1d1d24; | |
| --sunk: #25252e; | |
| --border: #2f2f3a; | |
| --border-strong: #464656; | |
| --text: #ecebe6; | |
| --muted: #a09d95; | |
| --accent: #f0913a; | |
| --accent-hover: #ffa452; | |
| --accent-soft: #3a2a1b; | |
| --check-a: #2a2a33; | |
| --check-b: #22222a; | |
| } | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { | |
| background: var(--bg); | |
| color: var(--text); | |
| font-family: var(--sans); | |
| line-height: 1.5; | |
| padding: 28px 16px 64px; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| .container { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; } | |
| header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; } | |
| .brand { display: flex; align-items: center; gap: 14px; } | |
| .brand-mark { | |
| width: 44px; height: 44px; border-radius: 10px; image-rendering: pixelated; | |
| background: | |
| radial-gradient(circle at 50% 50%, #ffd36b 0 30%, transparent 31%), | |
| conic-gradient(from 0deg, #f0913a 0 10%, transparent 10% 20%, #f0913a 20% 30%, transparent 30% 40%, #f0913a 40% 50%, | |
| transparent 50% 60%, #f0913a 60% 70%, transparent 70% 80%, #f0913a 80% 90%, transparent 90%), | |
| #2b2540; | |
| } | |
| h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; } | |
| h2 { font-size: 15px; font-weight: 600; } | |
| .brand-title p, .muted { color: var(--muted); } | |
| .small { font-size: 12px; } | |
| .badge { | |
| display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; | |
| background: var(--card); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--muted); | |
| } | |
| .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); } | |
| .dot.ok { background: var(--ok); } | |
| .dot.wasm { background: var(--wasm); } | |
| .dot.err { background: var(--err); } | |
| .dot.loading { background: var(--warn); animation: pulse 1.1s infinite; } | |
| @keyframes pulse { 50% { opacity: 0.3; } } | |
| .card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; } | |
| .card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } | |
| .row { display: flex; gap: 10px; align-items: flex-end; } | |
| .row.wrap { flex-wrap: wrap; } | |
| .row.between { justify-content: space-between; align-items: center; } | |
| .row.tight { gap: 6px; align-items: center; } | |
| .grow { flex: 1 1 180px; min-width: 0; } | |
| .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; } | |
| .field-inline { display: flex; align-items: center; gap: 10px; } | |
| .field-label { font-size: 12px; font-weight: 500; color: var(--muted); } | |
| input[type="text"], input[type="number"], select { | |
| width: 100%; height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border); | |
| background: var(--sunk); color: var(--text); font: inherit; font-size: 14px; outline: none; | |
| } | |
| input[type="number"] { font-family: var(--mono); } | |
| input:focus, select:focus { border-color: var(--accent); } | |
| #prompt-input { height: 46px; font-size: 15px; flex: 1; } | |
| input[type="range"] { width: 100%; accent-color: var(--accent); } | |
| .btn { | |
| height: 40px; padding: 0 18px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--card); | |
| color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; | |
| display: inline-flex; align-items: center; justify-content: center; gap: 6px; | |
| } | |
| .btn:hover:not(:disabled) { border-color: var(--accent); } | |
| .btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); } | |
| .btn.primary:hover:not(:disabled) { background: var(--accent-hover); } | |
| #btn-generate { height: 46px; } | |
| .btn:disabled { opacity: 0.55; cursor: not-allowed; } | |
| .btn.ghost { background: transparent; } | |
| .small-btn { height: 32px; padding: 0 12px; font-size: 12px; } | |
| .file-btn { align-self: flex-start; font-size: 13px; } | |
| .link { background: none; border: none; color: var(--accent); font: inherit; font-size: 12px; cursor: pointer; } | |
| .settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; } | |
| .setting { display: flex; flex-direction: column; gap: 6px; } | |
| .setting-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 500; } | |
| .val { font-family: var(--mono); font-weight: 600; color: var(--text); } | |
| .check { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); cursor: pointer; } | |
| .check input { accent-color: var(--accent); } | |
| .pills { display: inline-flex; background: var(--sunk); border: 1px solid var(--border); border-radius: 8px; padding: 2px; } | |
| .pill { padding: 4px 12px; border: none; background: transparent; border-radius: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; } | |
| .pill.active { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,0.08); } | |
| .chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; } | |
| .chip { | |
| padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--sunk); color: var(--text); | |
| font: inherit; font-size: 12px; font-weight: 500; white-space: nowrap; cursor: pointer; | |
| } | |
| .chip:hover { border-color: var(--accent); } | |
| .hint { min-height: 18px; color: var(--muted); } | |
| .hint.err { color: var(--err); } | |
| .progress { display: flex; flex-direction: column; gap: 6px; } | |
| .progress-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); gap: 12px; } | |
| #progress-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .track { height: 6px; border-radius: 3px; background: var(--sunk); overflow: hidden; } | |
| .fill { height: 100%; width: 0; background: var(--accent); transition: width 0.12s; } | |
| .progress.error #progress-text { color: var(--err); } | |
| .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; } | |
| .tab { | |
| padding: 8px 14px; border: none; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); | |
| border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; | |
| } | |
| .tab.active { color: var(--text); border-bottom-color: var(--accent); } | |
| .panel { display: none; flex-direction: column; gap: 14px; } | |
| .panel.active { display: flex; } | |
| .lora-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; } | |
| .lora { | |
| display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 12px; | |
| border: 1px solid var(--border); border-radius: 10px; background: var(--sunk); | |
| } | |
| .lora.on { border-color: var(--accent); background: var(--accent-soft); } | |
| .lora .name { font-size: 13px; font-weight: 600; } | |
| .lora .trigger { grid-column: 2 / 4; font-family: var(--mono); font-size: 11px; color: var(--muted); cursor: pointer; } | |
| .lora .trigger:hover { color: var(--accent); } | |
| .lora input[type="range"] { grid-column: 1 / 3; } | |
| .lora .val { font-size: 12px; } | |
| .lora .remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; } | |
| .library { display: flex; flex-direction: column; gap: 12px; max-height: 420px; overflow-y: auto; } | |
| .library h3 { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; } | |
| .library .chips { flex-wrap: wrap; overflow: visible; } | |
| .output { display: flex; flex-direction: column; gap: 16px; } | |
| .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; } | |
| .sheet { overflow-x: auto; padding-bottom: 6px; } | |
| .sheet table { border-collapse: separate; border-spacing: 6px; } | |
| .sheet th { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; vertical-align: bottom; max-width: 96px; line-height: 1.25; } | |
| .sheet th.rowhead { text-align: right; max-width: 140px; vertical-align: middle; font-family: var(--mono); font-weight: 500; } | |
| .sheet h3 { font-size: 13px; font-weight: 600; margin: 4px 0 2px 6px; } | |
| .sprite { display: flex; flex-direction: column; align-items: center; gap: 6px; } | |
| .sprite canvas { | |
| width: 100%; max-width: 160px; aspect-ratio: 1; image-rendering: pixelated; border-radius: 8px; | |
| border: 1px solid var(--border); cursor: pointer; display: block; | |
| } | |
| .sheet .sprite canvas { width: 80px; } | |
| .checker .sprite canvas { | |
| background-color: var(--check-b); | |
| background-image: | |
| linear-gradient(45deg, var(--check-a) 25%, transparent 25%), linear-gradient(-45deg, var(--check-a) 25%, transparent 25%), | |
| linear-gradient(45deg, transparent 75%, var(--check-a) 75%), linear-gradient(-45deg, transparent 75%, var(--check-a) 75%); | |
| background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; | |
| } | |
| .sprite .cap { font-size: 11px; color: var(--muted); font-family: var(--mono); } | |
| footer { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 16px; color: var(--muted); font-size: 13px; text-align: center; } | |
| footer a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px dotted var(--border-strong); } | |
| footer a:hover { color: var(--accent); } | |
| @media (max-width: 560px) { | |
| body { padding: 18px 16px 48px; } | |
| .card { padding: 16px; } | |
| .row:not(.wrap):not(.tight) { flex-direction: column; align-items: stretch; } | |
| .sheet .sprite canvas { width: 56px; } | |
| } | |