Spaces:
Running
Running
Download shared/css/identity.css from Tonic/uas-eus-webhook: direct link, hf CLI and curl.
- Browser
- Download file 8.84 kB
-
https://huggingface.co/spaces/Tonic/uas-eus-webhook/resolve/main/shared/css/identity.css
- Command line
-
hf download hf://spaces/Tonic/uas-eus-webhook/shared/css/identity.css
-
curl -L -o identity.css https://huggingface.co/spaces/Tonic/uas-eus-webhook/resolve/main/shared/css/identity.css
8.84 kB
| /* SINGLE VISUAL IDENTITY for uas.eus + c.uas.eus — the c.uas.eus look: white + ikurrina red, | |
| Archivo/Consolas self-hosted, dark mode via html[data-theme="dark"]. Site css files only add | |
| page-specific layout on top of this. */ | |
| @font-face { font-family: 'Archivo'; src: url('../fonts/archivo-700.woff2') format('woff2'); font-weight: 700; font-display: swap; } | |
| @font-face { font-family: 'Archivo'; src: url('../fonts/archivo-800.woff2') format('woff2'); font-weight: 800; font-display: swap; } | |
| @font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; } | |
| @font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/ibm-plex-mono-600.woff2') format('woff2'); font-weight: 600; font-display: swap; } | |
| :root { | |
| --bg: #ffffff; --red: #D52B1E; --ink: #141414; --grey: #6b6b6b; --line: #e4e4e4; --panel: #fafafa; | |
| --glitch-a: #D52B1E; --glitch-b: #141414; | |
| --font-head: 'Archivo', system-ui, -apple-system, sans-serif; | |
| --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace; | |
| } | |
| html[data-theme="dark"] { | |
| --bg: #0e0e10; --ink: #f2f2f2; --grey: #a8a8a8; --line: #26262a; --panel: #161619; | |
| --glitch-a: #ff4b3e; --glitch-b: #f2f2f2; | |
| } | |
| * { box-sizing: border-box; } | |
| html { scroll-behavior: auto; } /* native smooth scrolling makes the scroll-scrubbed hero jittery; the scrub lerp in JS provides the smoothing */ | |
| body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, sans-serif; transition: background .3s, color .3s; } | |
| a { color: var(--red); } | |
| h1, h2, h3 { font-family: var(--font-head); } | |
| .wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; } | |
| .mono { font-family: var(--font-mono); } | |
| /* nav */ | |
| nav.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; | |
| padding: 12px 22px; background: color-mix(in srgb, var(--bg) 94%, transparent); | |
| border-bottom: 2px solid var(--red); font-family: var(--font-mono); font-size: 12px; backdrop-filter: blur(6px); } | |
| nav.top .logo { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--red); text-decoration: none; letter-spacing: .04em; } | |
| nav.top .links { display: flex; gap: 14px; flex-wrap: wrap; flex: 1; } | |
| nav.top .links a { color: var(--ink); text-decoration: none; text-transform: uppercase; } | |
| nav.top .links a:hover { color: var(--red); } | |
| .lang-switcher { display: flex; gap: 6px; } | |
| .lang-switcher button { background: transparent; border: 1px solid var(--line); padding: 2px 4px; cursor: pointer; line-height: 0; border-radius: 3px; } | |
| .lang-switcher button svg { width: 22px; height: 15px; display: block; border-radius: 2px; } | |
| .lang-switcher button.active { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); } | |
| #theme-btn { background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: 14px; padding: 3px 8px; border-radius: 3px; color: inherit; } | |
| #pro-badge { display: none; border: 1px solid var(--red); color: var(--red); padding: 2px 8px; font: 700 11px var(--font-mono); border-radius: 3px; } | |
| body.has-pro #pro-badge { display: inline-block; } | |
| /* buttons */ | |
| .btn { display: inline-block; border: 2px solid var(--red); background: var(--red); color: #fff; | |
| font: 700 13px var(--font-mono); padding: 10px 18px; cursor: pointer; text-decoration: none; text-transform: uppercase; border-radius: 3px; } | |
| .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); } | |
| .btn.ghost { background: transparent; color: var(--red); } | |
| .btn.ghost:hover { background: var(--red); color: #fff; } | |
| /* sections */ | |
| section { position: relative; padding: 88px 0; border-bottom: 1px solid var(--line); overflow: hidden; } | |
| section .deco { position: absolute; font: 800 clamp(90px, 18vw, 220px) var(--font-head); color: transparent; | |
| -webkit-text-stroke: 1px color-mix(in srgb, var(--red) 25%, transparent); pointer-events: none; user-select: none; white-space: nowrap; z-index: 0; } | |
| section .wrap { position: relative; z-index: 1; } | |
| section h2 { font-size: clamp(30px, 4.4vw, 48px); margin: 0 0 14px; } | |
| section h2 .dot { color: var(--red); } | |
| .kicker { font: 600 11px var(--font-mono); color: var(--red); text-transform: uppercase; letter-spacing: .2em; } | |
| .lead { max-width: 640px; font-size: 17px; } | |
| .grid { display: grid; gap: 16px; margin-top: 30px; } | |
| .grid.c2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } | |
| .grid.c4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } | |
| .card { border: 1px solid var(--line); background: var(--panel); padding: 20px; position: relative; transition: border-color .2s, transform .2s; } | |
| .card:hover { border-color: var(--red); } | |
| .card.red { border-top: 4px solid var(--red); } | |
| .card h3 { margin: 0 0 8px; font-size: 19px; } | |
| .card p { margin: 0; color: var(--grey); font-size: 14px; } | |
| .card .idx { font: 700 12px var(--font-mono); color: var(--red); } | |
| .stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 26px; } | |
| .stats .n { font: 800 40px var(--font-head); color: var(--red); } | |
| .stats .l { font: 600 11px var(--font-mono); color: var(--grey); text-transform: uppercase; letter-spacing: .14em; } | |
| .note { font: 12px var(--font-mono); color: var(--grey); margin-top: 10px; } | |
| /* footer + consent */ | |
| footer { padding: 36px 22px 64px; font: 12px var(--font-mono); color: var(--grey); } | |
| footer .row { display: flex; gap: 18px; flex-wrap: wrap; max-width: 1140px; margin: 0 auto; align-items: center; } | |
| footer a, footer button { color: var(--ink); background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; } | |
| footer a:hover, footer button:hover { color: var(--red); } | |
| #consent-banner { background: var(--bg); color: var(--ink); border-top: 2px solid var(--red); } | |
| #consent-banner .btn { padding: 6px 12px; font-size: 11px; } | |
| /* dark-mode specifics */ | |
| html[data-theme="dark"] body { background: var(--bg); color: var(--ink); } | |
| html[data-theme="dark"] nav.top .links a { color: var(--ink); } | |
| html[data-theme="dark"] .lang-switcher button, html[data-theme="dark"] #theme-btn { border-color: var(--line); color: var(--grey); } | |
| html[data-theme="dark"] footer a, html[data-theme="dark"] footer button { color: var(--ink); } | |
| html[data-theme="dark"] .card, html[data-theme="dark"] .calendar { background: var(--panel); border-color: var(--line); } | |
| html[data-theme="dark"] .card p { color: var(--grey); } | |
| html[data-theme="dark"] .cal-form input { background: #0e0e10; color: var(--ink); border-color: var(--line); } | |
| html[data-theme="dark"] .cal-day, html[data-theme="dark"] .cal-nav { border-color: var(--line); color: var(--ink); } | |
| html[data-theme="dark"] .share-btn, html[data-theme="dark"] .share a.share-btn { border-color: var(--line); color: var(--ink); } | |
| html[data-theme="dark"] .contact-btn { border-color: var(--line); color: var(--ink); } | |
| /* mobile: both sites */ | |
| @media (max-width: 760px) { | |
| .wrap { padding: 0 14px; } | |
| section { padding: 56px 0; } | |
| nav.top { flex-wrap: wrap; gap: 8px; padding: 10px 14px; position: sticky; } | |
| #nav-toggle { display: inline-block; background: transparent; border: 1px solid var(--line); color: var(--ink); | |
| font-size: 16px; padding: 3px 10px; border-radius: 3px; cursor: pointer; margin-left: auto; } | |
| nav.top .links { display: none; flex-basis: 100%; order: 3; } | |
| nav.top .links.open { display: flex; flex-direction: column; gap: 10px; position: absolute; top: 100%; left: 0; right: 0; | |
| background: var(--bg); border-bottom: 2px solid var(--red); padding: 12px 22px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.12); } | |
| nav.top .links.open a { padding: 4px 0; } | |
| nav.top .logo { font-size: 17px; } | |
| .hero .sub, .lead { font-size: 15px; } | |
| .grid.c2, .grid.c4 { grid-template-columns: 1fr; } | |
| .stats { gap: 20px; } | |
| .stats .n { font-size: 30px; } | |
| .calendar { max-width: 100%; } | |
| .cal-form { max-width: 100%; } | |
| #consent-banner { gap: 6px; font-size: 12px; } | |
| .btn { padding: 9px 14px; font-size: 12px; } | |
| footer .row { gap: 10px; } | |
| } | |
| @media (min-width: 761px) { #nav-toggle { display: none; } } /* desktop: full links, no hamburger */ | |
| /* scroll progress bar + reveal-in glitch for titles + glitching background deco titles */ | |
| #scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--red); width: 0; z-index: 100; } | |
| .reveal.in .glitch { animation: glitch-in .55s steps(3) both; } | |
| @keyframes glitch-in { | |
| 0% { clip-path: inset(0 0 100% 0); transform: translate(-5px, 2px); } | |
| 35% { clip-path: inset(25% 0 40% 0); transform: translate(4px, -2px); } | |
| 70% { clip-path: inset(60% 0 10% 0); transform: translate(-3px, 1px); } | |
| 100% { clip-path: inset(0 0 0 0); transform: none; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { .reveal.in .glitch { animation: none; } } | |
| .deco.glitch::before, .deco.glitch::after { font: inherit; -webkit-text-stroke: 0; } | |