Spaces:
Running
Running
Download style.css from matematicsolutions/repertorium: direct link, hf CLI and curl.
- Browser
- Download file 4.74 kB
-
https://huggingface.co/spaces/matematicsolutions/repertorium/resolve/main/style.css
- Command line
-
hf download hf://spaces/matematicsolutions/repertorium/style.css
-
curl -L -o style.css https://huggingface.co/spaces/matematicsolutions/repertorium/resolve/main/style.css
4.74 kB
| /* MateMatic tokens (matematicsolutions.com). No external fonts: the pages work offline. */ | |
| :root { | |
| --surface: #030b17; --surface-low: #0a1420; --surface-mid: #131c29; --surface-high: #212b38; | |
| --text: #dae3f5; --text-muted: #8794a8; --text-faint: #7a869b; | |
| --gold: #e3c373; --gold-soft: #f0d080; --gold-muted: rgba(227, 195, 115, 0.08); | |
| --line: rgba(255, 255, 255, 0.08); --ok: #7dd3a3; --ok-bg: rgba(125, 211, 163, 0.08); | |
| --bad: #ffb4ab; --bad-bg: rgba(255, 180, 171, 0.08); | |
| --on-gold: #3e2e00; --navy: #1f3a5f; --silver: #9aa0a6; --grey: #6c6f76; --mark-gold: #d4a73a; | |
| /* golden section: columns share the width left after the gutter */ | |
| --phi: 1.618; --rail-major: 0.618; --rail-minor: 0.382; --rail-gap: 48px; | |
| --serif: Charter, "Iowan Old Style", Georgia, serif; | |
| --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; | |
| --mono: "JetBrains Mono", ui-monospace, Consolas, monospace; | |
| } | |
| @media (prefers-color-scheme: light) { | |
| :root { | |
| --surface: #fbfaf7; --surface-low: #f3f1ea; --surface-mid: #ebe7dc; --surface-high: #dfd9ca; | |
| --text: #13161c; --text-muted: #555c68; --text-faint: #6b7280; | |
| --gold: #8a6a12; --gold-soft: #7a5c0c; --gold-muted: rgba(138, 106, 18, 0.08); | |
| --on-gold: #ffffff; --line: rgba(0, 0, 0, 0.1); --ok: #1a6b32; --ok-bg: #e8f4ec; --bad: #a11020; --bad-bg: #fbeaec; | |
| } | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { margin: 0; background: var(--surface); color: var(--text); } | |
| body { font: 16px/1.6 var(--sans); } | |
| a { color: var(--gold); overflow-wrap: anywhere; } | |
| code, pre { font-family: var(--mono); font-size: .85em; } | |
| .wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; } | |
| header.hero { padding: clamp(40px, 9vh, 96px) 0 clamp(24px, 5vh, 56px); border-bottom: 1px solid var(--line); } | |
| .eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; } | |
| h1 { font: 400 clamp(30px, 4.2vw, 49px)/1.12 var(--serif); margin: 0 0 14px; letter-spacing: -.01em; } | |
| h1 em { color: var(--gold-soft); } | |
| .lede { color: var(--text-muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 38em; margin: 0; } | |
| h2 { font: 400 clamp(21px, 2.1vw, 26px)/1.25 var(--serif); margin: 0 0 12px; } | |
| h3 { font: 600 13px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 8px; } | |
| .split { display: grid; gap: var(--rail-gap); padding: 40px 0 56px; | |
| grid-template-columns: calc((100% - var(--rail-gap)) * var(--rail-major)) calc((100% - var(--rail-gap)) * var(--rail-minor)); } | |
| .split > * { min-width: 0; } | |
| @media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } } | |
| .card { background: var(--surface-low); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 20px; } | |
| .rail .card { padding: 18px 20px; } | |
| .rail p, .rail li { font-size: 15px; color: var(--text-muted); } | |
| .rail ul { padding-left: 18px; margin: 6px 0 0; } | |
| .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 0; } | |
| .stat b { display: block; font: 400 clamp(22px, 2.7vw, 34px)/1.1 var(--serif); color: var(--text); } | |
| .stat span { font-size: 13px; color: var(--text-muted); } | |
| @media (max-width: 520px) { .stats { grid-template-columns: 1fr; } } | |
| pre.json { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-x: auto; margin: 12px 0; line-height: 1.5; } | |
| .k { color: var(--gold); } .s { color: var(--text-muted); } | |
| .btn { display: inline-block; font: 600 15px/1 var(--sans); text-decoration: none; padding: 12px 18px; border-radius: 10px; margin: 6px 8px 0 0; } | |
| .btn.primary { background: var(--gold); color: var(--on-gold); } | |
| .btn.ghost { border: 1px solid var(--line); color: var(--text); } | |
| table.states { width: 100%; border-collapse: collapse; font-size: 14px; } | |
| table.states td { border-top: 1px solid var(--line); padding: 8px 6px; vertical-align: top; } | |
| table.states td:first-child { white-space: nowrap; font-family: var(--mono); color: var(--gold); } | |
| .layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; padding: 28px 0 40px; border-top: 1px solid var(--line); } | |
| .layers a, .layers div { display: block; border-radius: 10px; padding: 12px 14px; text-decoration: none; font-size: 14px; } | |
| .layers b { display: block; font: 400 18px/1.2 var(--serif); } | |
| .l1 { background: var(--navy); color: #dae3f5; } .l2 { background: var(--silver); color: #030b17; } | |
| .l3 { background: var(--grey); color: #f5f5f4; } .l4 { background: var(--mark-gold); color: #3e2e00; } | |
| @media (max-width: 720px) { .layers { grid-template-columns: 1fr 1fr; } } | |
| footer.small { color: var(--text-faint); font-size: 13px; padding: 0 0 40px; } | |