Spaces:
Running
Running
Download src/index.css from orchestrel-ai/README: direct link, hf CLI and curl.
- Browser
- Download file 6.21 kB
-
https://huggingface.co/spaces/orchestrel-ai/README/resolve/main/src/index.css
- Command line
-
hf download hf://spaces/orchestrel-ai/README/src/index.css
-
curl -L -o index.css https://huggingface.co/spaces/orchestrel-ai/README/resolve/main/src/index.css
6.21 kB
| /* | |
| * Sanitizer constraints (hf.co inlines a scoped, minified copy of this | |
| * file into the org page): | |
| * - :root and @media do not survive -> no CSS custom properties, | |
| * no media queries (see scripts/render-card.mjs, which also expands | |
| * any var() usage into literals) | |
| * - quotes are stripped from font-family names -> single-token family | |
| * names only (OrchGrotesk / OrchSans / OrchMono are @font-face | |
| * declarations embedded at build time) | |
| */ | |
| :root { | |
| --purple: #6f1f77; | |
| --ink: #1a1e21; | |
| --muted: rgba(0, 0, 0, 0.55); | |
| --surface: #f7f5fa; | |
| --border: #e8e2ef; | |
| --sweep: linear-gradient( | |
| 90deg, | |
| #f4910a 0%, | |
| #c87556 42%, | |
| #9b4da3 72%, | |
| #4a1550 100% | |
| ); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| html, | |
| body, | |
| #root { | |
| min-height: 100%; | |
| } | |
| body { | |
| background: #ffffff; | |
| color: var(--ink); | |
| font-family: OrchSans, system-ui, sans-serif; | |
| font-size: 16px; | |
| line-height: 1.6; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| .card { | |
| position: relative; | |
| display: flex; | |
| } | |
| .inner { | |
| width: 100%; | |
| max-width: 1040px; | |
| margin: 0 auto; | |
| padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 48px) 28px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 30px; | |
| } | |
| /* Header */ | |
| .top { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 16px; | |
| } | |
| .logo { | |
| width: clamp(170px, 24vw, 210px); | |
| height: auto; | |
| } | |
| /* Theme toggle, docked in the footer meta row so the header stays | |
| logo-only. Only rendered by the interactive build. */ | |
| .toggle { | |
| font-family: OrchMono, ui-monospace, monospace; | |
| font-size: 11px; | |
| font-weight: 500; | |
| letter-spacing: 1.5px; | |
| text-transform: uppercase; | |
| color: var(--muted); | |
| background: transparent; | |
| border: 1px solid #d9d0e4; | |
| border-radius: 999px; | |
| padding: 6px 14px; | |
| cursor: pointer; | |
| white-space: nowrap; | |
| margin-left: auto; | |
| } | |
| /* Hero (the wordmark already says the name, so the message leads) */ | |
| main { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 14px; | |
| } | |
| .hero { | |
| font-family: OrchGrotesk, system-ui, sans-serif; | |
| font-size: clamp(22px, 3vw, 28px); | |
| font-weight: 600; | |
| letter-spacing: -0.3px; | |
| line-height: 1.3; | |
| max-width: 720px; | |
| color: var(--ink); | |
| } | |
| /* Services */ | |
| .grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); | |
| gap: 14px; | |
| } | |
| .svc { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: 12px; | |
| padding: 18px 20px; | |
| } | |
| .svc h2 { | |
| font-family: OrchGrotesk, system-ui, sans-serif; | |
| font-size: 16.5px; | |
| font-weight: 600; | |
| line-height: 1.3; | |
| margin-bottom: 6px; | |
| color: var(--ink); | |
| } | |
| .svc p { | |
| font-size: 14px; | |
| color: var(--muted); | |
| } | |
| /* Hybrid line */ | |
| .hybrid { | |
| font-size: 15.5px; | |
| } | |
| .hl { | |
| color: var(--purple); | |
| font-weight: 500; | |
| } | |
| /* Product */ | |
| .product { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-left: 3px solid var(--purple); | |
| border-radius: 12px; | |
| padding: 16px 20px; | |
| } | |
| .product-eyebrow { | |
| font-family: OrchMono, ui-monospace, monospace; | |
| font-size: 12px; | |
| font-weight: 500; | |
| text-transform: uppercase; | |
| letter-spacing: 2.5px; | |
| color: var(--purple); | |
| margin-bottom: 8px; | |
| } | |
| .product-line { | |
| font-size: 15px; | |
| color: var(--muted); | |
| max-width: 720px; | |
| } | |
| .product-line strong { | |
| color: var(--ink); | |
| font-family: OrchGrotesk, system-ui, sans-serif; | |
| font-weight: 600; | |
| } | |
| /* Footer */ | |
| .bottom { | |
| margin-top: auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| } | |
| .bar { | |
| position: relative; | |
| height: 2px; | |
| width: 100%; | |
| background: var(--sweep); | |
| opacity: 0.8; | |
| border-radius: 1px; | |
| overflow: hidden; | |
| } | |
| /* Signal pulses: positioned by React (SignalBar.jsx), nothing here | |
| animates them. The static org card simply never contains them. */ | |
| .pulse { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| height: 100%; | |
| width: 72px; | |
| transform: translateX(-50%); | |
| background: linear-gradient( | |
| 90deg, | |
| transparent, | |
| rgba(255, 255, 255, 0.95), | |
| transparent | |
| ); | |
| opacity: 0; | |
| } | |
| .meta { | |
| display: flex; | |
| align-items: center; | |
| gap: 14px; | |
| flex-wrap: wrap; | |
| font-family: OrchMono, ui-monospace, monospace; | |
| font-size: 12.5px; | |
| color: var(--muted); | |
| } | |
| .meta a { | |
| color: var(--muted); | |
| text-decoration: none; | |
| } | |
| .meta a:hover { | |
| color: var(--purple); | |
| } | |
| .dot { | |
| width: 3px; | |
| height: 3px; | |
| border-radius: 50%; | |
| background: var(--muted); | |
| } | |
| /* --------------------------------------------------------------------------- | |
| Dark theme (interactive Space only). The brand "signature look": dark | |
| surface, purple glow, cyan accents. .dark is added by React state, so | |
| none of this can ever activate on the sanitized org card. | |
| --------------------------------------------------------------------------- */ | |
| .card.dark { | |
| position: relative; | |
| background: #0d0d12; | |
| color: rgba(255, 255, 255, 0.92); | |
| min-height: 100vh; | |
| } | |
| .card.dark .glow { | |
| position: absolute; | |
| top: -220px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 720px; | |
| height: 420px; | |
| background: radial-gradient( | |
| ellipse at center, | |
| rgba(111, 31, 119, 0.4) 0%, | |
| rgba(111, 31, 119, 0.12) 45%, | |
| transparent 70% | |
| ); | |
| pointer-events: none; | |
| } | |
| .card.dark .inner { | |
| position: relative; | |
| } | |
| .card.dark .hero { | |
| color: rgba(255, 255, 255, 0.95); | |
| } | |
| .card.dark .svc p, | |
| .card.dark .product-line, | |
| .card.dark .meta, | |
| .card.dark .meta a, | |
| .card.dark .dot { | |
| color: rgba(255, 255, 255, 0.6); | |
| background: none; | |
| } | |
| .card.dark .dot { | |
| background: rgba(255, 255, 255, 0.6); | |
| } | |
| .card.dark .meta a:hover { | |
| color: #00e5ff; | |
| } | |
| .card.dark .meta a:hover { | |
| color: #00e5ff; | |
| } | |
| .card.dark .svc, | |
| .card.dark .product { | |
| background: #151520; | |
| border-color: rgba(255, 255, 255, 0.08); | |
| } | |
| .card.dark .svc h2, | |
| .card.dark .product-line strong { | |
| color: rgba(255, 255, 255, 0.92); | |
| } | |
| .card.dark .hl { | |
| color: #00e5ff; | |
| } | |
| .card.dark .product { | |
| border-left-color: #9b4da3; | |
| } | |
| .card.dark .product-eyebrow { | |
| color: #eea600; | |
| } | |
| .card.dark .toggle { | |
| color: rgba(255, 255, 255, 0.7); | |
| border-color: rgba(255, 255, 255, 0.25); | |
| } | |
| .card.dark .toggle:hover { | |
| color: #00e5ff; | |
| border-color: #00e5ff; | |
| } | |
| .card.dark .pulse { | |
| background: linear-gradient( | |
| 90deg, | |
| transparent, | |
| rgba(0, 229, 255, 0.9), | |
| transparent | |
| ); | |
| } | |