Spaces:
Running
Running
Download style.css from calfa-ai/heritage-annotator: direct link, hf CLI and curl.
- Browser
- Download file 4.76 kB
-
https://huggingface.co/spaces/calfa-ai/heritage-annotator/resolve/main/style.css
- Command line
-
hf download hf://spaces/calfa-ai/heritage-annotator/style.css
-
curl -L -o style.css https://huggingface.co/spaces/calfa-ai/heritage-annotator/resolve/main/style.css
4.76 kB
| /* Heritage Annotator — presentation page. White, quiet, legible (same tokens as the app). */ | |
| :root { | |
| --bg: #ffffff; | |
| --soft: #f4f4f3; | |
| --line: #ececea; | |
| --line-2: #dededb; | |
| --ink: #171717; | |
| --ink-2: #3f3f3f; | |
| --muted: #74746f; | |
| --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | |
| --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; | |
| } | |
| * { box-sizing: border-box; } | |
| html { scroll-behavior: smooth; } | |
| body { | |
| margin: 0; background: var(--bg); color: var(--ink); | |
| font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; | |
| } | |
| img { max-width: 100%; height: auto; display: block; } | |
| a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; } | |
| a:hover { text-decoration-color: var(--ink); } | |
| code { font: 0.88em var(--mono); background: var(--soft); padding: 1px 5px; border-radius: 4px; } | |
| .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; } | |
| /* header */ | |
| .top { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px); } | |
| .top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; flex-wrap: wrap; } | |
| .logos { display: flex; align-items: center; gap: 22px; } | |
| .logo-enc { height: 22px; width: auto; } | |
| .logo-calfa { height: 28px; width: auto; } | |
| .logo-distam { height: 34px; width: auto; } | |
| .nav { display: flex; gap: 22px; font-size: 14px; } | |
| .nav a { text-decoration: none; color: var(--muted); } | |
| .nav a:hover { color: var(--ink); } | |
| /* hero */ | |
| .hero { padding-top: 72px; padding-bottom: 28px; } | |
| .eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); } | |
| .eyebrow span { white-space: nowrap; } | |
| h1 { margin: 0; font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -1px; font-weight: 650; } | |
| .lead { margin: 18px 0 0; max-width: 46em; font-size: 19px; color: var(--ink-2); } | |
| .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; margin-bottom: 12px; } | |
| .btn { | |
| display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 10px; | |
| border: 1px solid var(--line-2); text-decoration: none; font-weight: 500; font-size: 15px; | |
| } | |
| .btn:hover { background: var(--soft); } | |
| .btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); } | |
| .btn.primary:hover { background: #000; } | |
| /* screenshots */ | |
| .shot { margin: 0; } | |
| .shot img { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .08); } | |
| .shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); } | |
| .shot figcaption b { color: var(--ink); font-weight: 600; } | |
| .hero-shot { margin: 0 auto; padding-top: 8px; padding-bottom: 24px; } | |
| /* features */ | |
| .features { padding-top: 56px; } | |
| h2 { margin: 0 0 22px; font-size: 28px; letter-spacing: -.4px; font-weight: 650; } | |
| .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; } | |
| .grid article { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; } | |
| .grid h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; } | |
| .grid h3 span { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 6px; } | |
| .grid p { margin: 0; color: var(--ink-2); font-size: 15px; } | |
| .also { margin: 18px 0 0; color: var(--ink-2); font-size: 15px; max-width: 60em; } | |
| /* gallery */ | |
| .gallery { padding-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } | |
| /* run */ | |
| .run { padding-top: 64px; } | |
| .run > p { max-width: 46em; color: var(--ink-2); } | |
| pre { | |
| margin: 18px 0; padding: 18px 20px; background: var(--soft); border: 1px solid var(--line); | |
| border-radius: 10px; overflow-x: auto; font: 14px/1.7 var(--mono); | |
| } | |
| pre code { background: none; padding: 0; font-size: inherit; } | |
| .notes { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; } | |
| .notes li { margin: 6px 0; } | |
| /* footer */ | |
| .foot { margin-top: 72px; padding-top: 28px; padding-bottom: 56px; border-top: 1px solid var(--line); } | |
| .foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; } | |
| .foot h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); } | |
| .foot p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); } | |
| .foot .small { font-size: 13px; color: var(--muted); } | |
| @media (max-width: 760px) { | |
| .wrap { padding: 0 16px; } | |
| .hero { padding-top: 44px; } | |
| .lead { font-size: 17px; } | |
| .grid, .gallery, .foot-grid { grid-template-columns: 1fr; } | |
| .nav { gap: 16px; } | |
| .logos { gap: 16px; } | |
| .logo-enc { height: 18px; } .logo-calfa { height: 22px; } .logo-distam { height: 28px; } | |
| } | |