Spaces:
Running
Running
Download style.css from Sculptor-AI/indra: direct link, hf CLI and curl.
- Browser
- Download file 7.69 kB
-
https://huggingface.co/spaces/Sculptor-AI/indra/resolve/main/style.css
- Command line
-
hf download hf://spaces/Sculptor-AI/indra/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Sculptor-AI/indra/resolve/main/style.css
7.69 kB
| :root { | |
| --bg: #ffffff; | |
| --past: #f3f4f6; | |
| --night: rgb(17 20 24 / .035); | |
| --ink: #111418; | |
| --ink-2: #3b424a; | |
| --dim: #6b737c; | |
| --rule: #e3e5e8; | |
| --ours: #2a78d6; | |
| --nws: #eb6834; | |
| --nbs: #1baf7a; | |
| --brand: #0a84c6; | |
| --w-ours: #1baf7a; | |
| --w-nws: #e87ba4; | |
| --r-ours: #6d4fd8; | |
| --r-nws: #c98500; | |
| --flag: #b42318; | |
| --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Cantarell, sans-serif; | |
| color-scheme: light; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root:not([data-theme="light"]) { | |
| --bg: #0f1115; --past: #171a20; --night: rgb(255 255 255 / .03); --ink: #e7e9ec; --ink-2: #c0c5cc; | |
| --dim: #8b939c; --rule: #262a31; --ours: #3987e5; --nws: #d95926; --nbs: #199e70; --brand: #5cc8ff; --w-ours: #199e70; --w-nws: #d55181; --r-ours: #8f78ee; --r-nws: #b8841a; --flag: #f97066; color-scheme: dark; | |
| } | |
| } | |
| :root[data-theme="dark"] { | |
| --bg: #0f1115; --past: #171a20; --night: rgb(255 255 255 / .03); --ink: #e7e9ec; --ink-2: #c0c5cc; | |
| --dim: #8b939c; --rule: #262a31; --ours: #3987e5; --nws: #d95926; --nbs: #199e70; --brand: #5cc8ff; --w-ours: #199e70; --w-nws: #d55181; --r-ours: #8f78ee; --r-nws: #b8841a; --flag: #f97066; color-scheme: dark; | |
| } | |
| * { box-sizing: border-box; } | |
| body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.45 var(--font); font-variant-numeric: tabular-nums; } | |
| button { font: inherit; color: var(--ink-2); background: none; border: 1px solid var(--rule); border-radius: 3px; padding: 2px 9px; cursor: pointer; } | |
| button:hover { color: var(--ink); border-color: var(--dim); } | |
| button[aria-busy="true"] { opacity: .6; cursor: progress; } | |
| a { color: var(--ink-2); } | |
| a:hover { color: var(--ink); } | |
| :focus-visible { outline: 2px solid var(--ours); outline-offset: 2px; } | |
| h1, h2 { margin: 0; } | |
| h2 { font-size: 15px; font-weight: 600; margin-bottom: 6px; } | |
| .dim { color: var(--dim); } | |
| .stale { color: var(--flag); } | |
| .note { color: var(--dim); font-size: 12.5px; max-width: 70ch; margin: 8px 0 0; } | |
| /* ---------- header */ | |
| .head, main > section, footer { padding-left: 24px; padding-right: 24px; } | |
| .head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 4px; } | |
| .brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; | |
| font: 600 30px/1 "Sora", var(--font); letter-spacing: -.015em; } | |
| .brand:hover { color: var(--ink); } | |
| .brand .mark { width: 34px; height: 34px; flex: none; } | |
| .ctl { display: flex; gap: 14px; align-items: center; font-size: 13.5px; } | |
| main > section { padding-top: 22px; padding-bottom: 6px; } | |
| /* ---------- choosing a place */ | |
| .place { position: relative; flex: 1 1 240px; max-width: 420px; } | |
| .place input { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-radius: 3px; padding: 5px 9px; } | |
| .place input:hover { border-color: var(--dim); } | |
| .place input::placeholder { color: var(--dim); } | |
| .place-list { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin: 2px 0 0; padding: 0; list-style: none; background: var(--bg); border: 1px solid var(--rule); border-radius: 3px; max-height: 340px; overflow-y: auto; } | |
| .place-list li { display: flex; flex-direction: column; padding: 6px 9px; cursor: pointer; } | |
| .place-list li .dim { font-size: 12.5px; } | |
| .place-list li[aria-selected="true"] { background: var(--past); } | |
| .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } | |
| .status { margin: 22px 24px 0; color: var(--ink-2); max-width: 560px; font-size: 15px; } | |
| .status p { margin: 0 0 10px; } | |
| .bar { height: 10px; background: var(--rule); border-radius: 5px; overflow: hidden; } | |
| .bar i { display: block; height: 100%; width: 0; background: var(--ours); border-radius: 5px; transition: width .2s linear; } | |
| [hidden] { display: none ; } | |
| /* ---------- strip */ | |
| .strip-wrap { padding: 4px 0 18px ; } | |
| .strip-head { padding: 0 24px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; } | |
| h2 .vs { font-weight: 400; font-size: 13px; color: var(--dim); margin-left: 10px; } | |
| h2 .vs b { color: var(--ink-2); font-weight: 600; } | |
| .yesterday { margin: 4px 24px 0; color: var(--dim); font-size: 13px; } | |
| .yesterday b { color: var(--ink-2); font-weight: 600; } | |
| .tog { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--ink-2); } | |
| .tog input { margin: 0; accent-color: var(--ours); } | |
| .strip { display: grid; grid-template-columns: 172px minmax(0, 1fr); margin-top: 8px; } | |
| .strip-labels { padding-left: 24px; border-right: 1px solid var(--rule); } | |
| .strip-labels div { display: flex; align-items: center; color: var(--dim); font-size: 12.5px; white-space: nowrap; } | |
| .strip-labels div.strong { color: var(--ink); font-weight: 600; } | |
| .strip-labels .k { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin: 0 4px 0 0; } | |
| .strip-labels .k.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 6px; vertical-align: 1px; } | |
| .strip-labels .tog { margin-top: 4px; } | |
| .strip-labels .k + .k, .strip-labels span .k:nth-of-type(2) { margin-left: 8px; } | |
| .strip-scroll { overflow-x: auto; overscroll-behavior-x: contain; cursor: grab; scrollbar-width: none; } | |
| .strip-scroll::-webkit-scrollbar { display: none; } | |
| .strip-scroll.dragging { cursor: grabbing; user-select: none; } | |
| #strip-svg { display: block; } | |
| #strip-svg text { font-family: var(--font); font-variant-numeric: tabular-nums; } | |
| .c-num { font-size: 12.5px; fill: var(--ink-2); } | |
| .c-strong { font-size: 13.5px; font-weight: 600; fill: var(--ink); } | |
| .c-dim { font-size: 11.5px; fill: var(--dim); } | |
| .c-flag { font-weight: 700; fill: var(--flag); } | |
| .c-day { font-size: 12.5px; font-weight: 600; fill: var(--ink); } | |
| .c-axis { font-size: 11px; fill: var(--dim); } | |
| .c-grid { stroke: var(--rule); } | |
| .c-now { stroke: var(--ink); stroke-width: 1; } | |
| .c-col:hover { fill: color-mix(in srgb, var(--ours) 9%, transparent); } | |
| footer { padding-top: 24px; padding-bottom: 32px; font-size: 12.5px; } | |
| footer p { margin: 3px 0; max-width: 110ch; } | |
| /* ---------- about page */ | |
| .prose { max-width: 70ch; } | |
| .prose h1 { font-size: 22px; margin: 8px 0 4px; } | |
| .prose h2 { font-size: 16px; margin: 28px 0 6px; } | |
| .prose p, .prose li { color: var(--ink-2); line-height: 1.6; } | |
| .prose ul { padding-left: 20px; } | |
| .record { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 12px; } | |
| .record figure { margin: 0; } | |
| .record figcaption { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; } | |
| .record svg text { font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 11.5px; fill: var(--dim); } | |
| .record svg .lab { font-size: 12px; fill: var(--ink-2); } | |
| .record svg .lab.ours { font-weight: 600; fill: var(--ink); } | |
| .record svg .grid { stroke: var(--rule); } | |
| .tbl { border-collapse: collapse; font-size: 13.5px; margin-top: 8px; } | |
| .tbl th, .tbl td { padding: 5px 16px 5px 0; text-align: right; border-bottom: 1px solid var(--rule); white-space: nowrap; } | |
| .tbl th:first-child, .tbl td:first-child { text-align: left; } | |
| .tbl thead th { color: var(--dim); font-weight: 500; font-size: 12.5px; } | |
| .tbl td.best { font-weight: 700; } | |
| @media (max-width: 640px) { | |
| .head, main > section, footer, .strip-head { padding-left: 16px; padding-right: 16px; } | |
| .strip { grid-template-columns: 128px minmax(0, 1fr); } | |
| .strip-labels { padding-left: 16px; } | |
| .yesterday { margin-left: 16px; margin-right: 16px; } | |
| .status { margin-left: 16px; margin-right: 16px; } | |
| .place { order: 3; flex-basis: 100%; max-width: none; } | |
| } | |