Spaces:
Running on Zero
Running on Zero
Download frontend/src/theme.css from fffiloni/idol-commons: direct link, hf CLI and curl.
- Browser
- Download file 6.28 kB
-
https://huggingface.co/spaces/fffiloni/idol-commons/resolve/main/frontend/src/theme.css
- Command line
-
hf download hf://spaces/fffiloni/idol-commons/frontend/src/theme.css
-
curl -L -o theme.css https://huggingface.co/spaces/fffiloni/idol-commons/resolve/main/frontend/src/theme.css
6.28 kB
| /* One palette for the application and the unmodified Scenario stylesheet. */ | |
| @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap'); | |
| html:root[data-theme="light"],html:root:not([data-theme]) { | |
| color-scheme:light; | |
| --ink:#20242d;--muted:#5f6b7d;--secondary:#475467;--line:#e2e6ed; | |
| --page:#f8f9fc;--canvas:#f5f7fb;--dots:#d8dee9;--surface:#fff;--panel:#fbfcfe; | |
| --glass:#ffffffed;--quiet:#fbfcfedc;--hover:#edf2fa;--selected:#eaf1ff; | |
| --active:#1d4ed8;--purple:#3b6fd7;--placeholder:#667085;--focus:#2563eb;--focus-border:#7ca5f4; | |
| --primary:#1d4ed8;--primary-hover:#1e40af;--on-primary:#fff; | |
| --topbar-start:#f5f7fbfa;--topbar-end:#f5f7fb00;--label:#fbfcfeed;--status:#fbfcfeed; | |
| --switch:#dbe2ef;--spinner-track:#dce6f7;--spinner:#2563eb;--scrim:#0b102066;--basket-status:#475467; | |
| --warning-bg:#fff8e7;--warning-ink:#805b10;--warning-line:#efdda9;--danger:#b34236; | |
| --faint:#a4b1c7;--wash:#eef2f9;--stage-glow:#fbfcff;--shadow:#10182812; | |
| --community-accent:#ffcf40;--community-wash:#fff4c7;--community-ink:#855b00; | |
| } | |
| html:root[data-theme="dark"] { | |
| color-scheme:dark; | |
| --ink:#eef0f5;--muted:#a4adbe;--secondary:#c1cada;--line:#303746; | |
| --page:#0c1018;--canvas:#10151f;--dots:#293344;--surface:#171c27;--panel:#141a25; | |
| --glass:#171c27f2;--quiet:#1a2230dc;--hover:#242e40;--selected:#213452; | |
| --active:#a9ccff;--purple:#8eb8fa;--placeholder:#8996ad;--focus:#9cc5ff;--focus-border:#567fbb; | |
| --primary:#a9ccff;--primary-hover:#c2dcff;--on-primary:#11233c; | |
| --topbar-start:#10151ffa;--topbar-end:#10151f00;--label:#1a2230f2;--status:#1a2230f2; | |
| --switch:#39465c;--spinner-track:#33425b;--spinner:#a9ccff;--scrim:#05091480;--basket-status:#c1cada; | |
| --warning-bg:#30291b;--warning-ink:#f0cf85;--warning-line:#55452a;--danger:#f6aaa2; | |
| --faint:#64738d;--wash:#1a2537;--stage-glow:#1c2a42;--shadow:#00000030; | |
| --community-accent:#ffd34c;--community-wash:#392f16;--community-ink:#ffdc78; | |
| } | |
| :root {font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--page);--green:var(--primary)} | |
| body {background:var(--page)} | |
| .workspace-controls{display:flex;align-items:center;gap:12px;position:absolute;left:50%;transform:translateX(-50%)} | |
| .app-header .workspace-controls nav{position:static;transform:none} | |
| .theme-control{display:flex;flex-shrink:0;padding:0;margin-left:8px} | |
| .theme-control button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--muted)} | |
| .theme-control button:hover{color:var(--ink);background:var(--hover)} | |
| .sign-in-short{display:none}.user-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} | |
| .error-help{display:inline-flex;align-items:center;gap:4px;margin-top:8px;text-decoration:underline} | |
| @media(max-width:480px){.sign-in-full{display:none}.sign-in-short{display:inline}.theme-control{margin-left:2px}.theme-control button{width:36px;height:36px}.user-name{max-width:70px}} | |
| .primary,.basket-primary{color:var(--on-primary)} | |
| @media(max-width:1100px){.workspace-controls{position:static;transform:none;gap:8px}} | |
| @media(max-width:760px){ | |
| .workspace-controls{position:absolute;left:20px;right:20px;bottom:10px;transform:none;gap:10px} | |
| .app-header .workspace-controls nav{position:static;inset:auto;flex:1;min-width:0} | |
| } | |
| .brand-icon{background:var(--community-wash);color:var(--community-ink)} | |
| /* A compact community welcome, with the spatial explorer immediately below. */ | |
| .commons-hero{position:relative;isolation:isolate;padding:28px 5%;gap:24px;overflow:hidden;background:linear-gradient(115deg,var(--surface) 30%,var(--page) 70%,var(--selected));align-items:center} | |
| .commons-hero .hero-content{position:relative;z-index:1;min-width:0}.commons-hero .hero-eyebrow{display:flex;align-items:center;gap:7px;color:var(--community-ink);font-size:10px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;margin:0 0 12px}.commons-hero h1{font-size:clamp(25px,2.35vw,38px);font-weight:550;letter-spacing:-1.2px;line-height:1.12}.commons-hero h1 span{font-weight:450;color:var(--secondary)}.commons-hero .hero-copy{display:block;max-width:450px;font-size:12px;line-height:1.65;margin:14px 0 18px;color:var(--muted)}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.hero-actions>.primary{min-height:42px;font-size:12px}.hero-dataset-link{background:transparent;border-color:transparent;font-size:12px;padding:10px;color:var(--secondary)}.hero-dataset-link:hover{color:var(--active);background:var(--hover)}.hero-mark{position:relative;flex:0 0 156px;width:156px;height:156px;display:grid;place-items:center;color:var(--active);border-radius:36px;background:var(--selected);transform:rotate(-8deg);margin-right:20px}.hero-mark>svg{transform:rotate(8deg)}.hero-piece{position:absolute;display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--line);background:var(--surface);border-radius:14px;transform:rotate(8deg)}.hero-piece-one{top:-16px;left:-20px}.hero-piece-two{bottom:-16px;right:-20px;background:var(--community-wash);color:var(--community-ink)}.hero-mark i{position:absolute;width:5px;height:5px;background:var(--community-accent);border-radius:50%}.hero-mark i:nth-last-child(3){top:-18px;right:20px}.hero-mark i:nth-last-child(2){bottom:5px;left:-20px}.hero-mark i:last-child{right:-27px;top:40px} | |
| @media(min-width:1440px) and (max-width:1740px){.commons-hero .hero-mark{flex-basis:110px;width:110px;height:110px;margin-right:12px}.hero-mark>svg{width:52px;height:52px}.commons-hero{padding:24px 5%}.commons-hero h1{font-size:29px}} | |
| @media(max-width:760px){.commons-hero{padding:22px 20px;align-items:start}.commons-hero h1{font-size:26px;letter-spacing:-.8px}.commons-hero .hero-eyebrow{font-size:9px;margin-bottom:10px}.commons-hero .hero-copy{font-size:11px;margin:10px 0 14px;max-width:340px}.hero-mark{display:none}.hero-desktop-break{display:none}.hero-actions{gap:4px}.hero-actions>.primary,.hero-dataset-link{font-size:11px;min-height:40px}.hero-dataset-link{padding-inline:8px}} | |
| @media(max-height:650px) and (orientation:landscape){.commons-hero{padding-block:14px}.commons-hero h1{font-size:24px}.commons-hero .hero-copy{margin:8px 0 10px}.hero-mark{display:none}} | |