Spaces:
Running
Running
Download styles.css from Accio-Lab/Occamy-Explorer: direct link, hf CLI and curl.
- Browser
- Download file 13.5 kB
-
https://huggingface.co/spaces/Accio-Lab/Occamy-Explorer/resolve/main/styles.css
- Command line
-
hf download hf://spaces/Accio-Lab/Occamy-Explorer/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/Accio-Lab/Occamy-Explorer/resolve/main/styles.css
13.5 kB
| @font-face { | |
| font-family: "Occamy Sans"; | |
| src: url("https://accio-lab.github.io/occamy/assets/Inter-latin-var-8kRkwJBP.woff2") format("woff2"); | |
| font-style: normal; | |
| font-weight: 100 900; | |
| font-display: swap; | |
| } | |
| @font-face { | |
| font-family: "Occamy Wordmark"; | |
| src: url("https://accio-lab.github.io/occamy/assets/Newsreader-latin-var-T5L87s1n.woff2") format("woff2"); | |
| font-style: normal; | |
| font-weight: 200 800; | |
| font-display: swap; | |
| } | |
| :root { | |
| color-scheme: light; | |
| --ink: #202521; | |
| --muted: #626862; | |
| --paper: #fff; | |
| --green: #247252; | |
| --line: #e3e6e2; | |
| --surface: #f7f8f6; | |
| font-family: "Occamy Sans", Arial, Helvetica, sans-serif; | |
| color: var(--ink); | |
| background: var(--paper); | |
| font-synthesis: none; | |
| } | |
| * { box-sizing: border-box; } | |
| html { scroll-behavior: smooth; scroll-padding-top: 32px; } | |
| body { margin: 0; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; } | |
| button, input { font: inherit; } | |
| button, a, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; } | |
| button { cursor: pointer; } | |
| button:disabled { cursor: default; } | |
| a { color: inherit; text-underline-offset: 5px; } | |
| a:hover { color: var(--green); } | |
| button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; } | |
| ::selection { background: #dcece1; } | |
| main, .site-header, footer { max-width: 1200px; margin: auto; padding-left: 40px; padding-right: 40px; } | |
| .site-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 24px; } | |
| .brand { font-size: 14px; font-weight: 550; text-decoration: none; } | |
| .brand span { color: #858b85; margin: 0 8px; } | |
| .site-header nav { display: flex; gap: 24px; font-size: 13px; } | |
| .site-header nav a { text-decoration: none; } | |
| .site-header nav a:hover { text-decoration: underline; } | |
| .hero { text-align: center; padding: 48px 0 56px; } | |
| .hero-copy { max-width: 800px; margin-inline: auto; } | |
| .hero-accio-logo { margin-bottom: 28px; } | |
| .hero-accio-logo img { width: 88px; height: auto; display: block; margin-inline: auto; } | |
| .hero h1 { font-family: "Occamy Wordmark", Georgia, serif; font-size: clamp(54px, 7vw, 84px); font-weight: 500; line-height: 1.05; letter-spacing: -.05em; margin: 0; } | |
| .hero-occamy-wordmark { display: inline-flex; align-items: baseline; white-space: nowrap; } | |
| .hero-occamy-wordmark img { width: 1.02em; height: .78em; object-fit: contain; margin-right: -.025em; transform: translateY(.055em); } | |
| .hero-occamy-wordmark > span { margin-left: -.025em; transform: translateY(.035em); } | |
| .hero-subtitle { max-width: 680px; margin: 20px auto 0; font-size: clamp(24px, 3vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -.035em; text-wrap: balance; } | |
| .hero-deck { max-width: 665px; color: var(--muted); margin: 20px auto 0; font-size: 17px; line-height: 1.65; text-wrap: pretty; } | |
| .hero-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 25px; font-size: 12px; color: var(--muted); } | |
| .hero-facts b { color: var(--ink); font-size: 16px; font-weight: 550; margin-right: 4px; } | |
| .hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; } | |
| .button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; font-size: 14px; font-weight: 550; text-decoration: none; } | |
| .button-primary { background: var(--green); color: #fff; border-radius: 4px; padding: 10px 18px; } | |
| .button-primary:hover { background: #195a3f; color: #fff; } | |
| .button-secondary { text-decoration: underline; text-decoration-color: #b4bcb6; } | |
| .button-secondary:hover { text-decoration-color: currentColor; } | |
| .explorer { border-top: 1px solid var(--line); padding-top: 52px; } | |
| .section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; } | |
| .eyebrow { color: var(--muted); font-size: 11px; font-weight: 550; letter-spacing: .08em; margin: 0 0 10px; } | |
| h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 550; line-height: 1.2; letter-spacing: -.035em; margin: 0; } | |
| .live-label { font-size: 12px; color: var(--muted); } | |
| .live-label i { display: inline-block; width: 6px; height: 6px; background: var(--green); border-radius: 50%; margin-right: 7px; } | |
| .platform-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; } | |
| .platform-tabs button { border: 0; background: var(--surface); color: var(--ink); padding: 18px 20px; text-align: left; font-size: 14px; font-weight: 550; } | |
| .platform-tabs button span { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--muted); } | |
| .platform-tabs button[aria-selected="true"] { background: var(--green); color: #fff; } | |
| .platform-tabs button[aria-selected="true"] span { color: #e1eee7; } | |
| .filter-bar { display: flex; align-items: center; gap: 24px; padding: 22px 0 16px; font-size: 12px; } | |
| .budget-label { display: flex; align-items: center; gap: 12px; font-weight: 550; } | |
| .budget-field { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; } | |
| .budget-field input { width: 84px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; } | |
| .budget-field span { color: var(--muted); } | |
| .vision-toggle { display: flex; align-items: center; gap: 7px; cursor: pointer; } | |
| .vision-toggle input { accent-color: var(--green); } | |
| .vision-toggle span { color: var(--muted); } | |
| .vision-toggle:has(input:disabled) { opacity: .45; cursor: default; } | |
| .filter-bar p { margin: 0 0 0 auto; max-width: 240px; color: var(--muted); font-size: 11px; line-height: 1.6; } | |
| .platform-note { margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.7; } | |
| .workspace { display: grid; grid-template-columns: .78fr 1.22fr; gap: 24px; align-items: start; } | |
| .workspace > * { min-width: 0; } | |
| .checkpoint-list, .detail-card { border: 1px solid var(--line); background: #fff; border-radius: 4px; } | |
| .checkpoint-list { padding: 18px; } | |
| .list-heading { display: flex; justify-content: space-between; padding: 0 10px 14px; color: var(--muted); font-size: 10px; letter-spacing: .06em; } | |
| .model-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; background: transparent; color: var(--ink); border: 1px solid transparent; border-radius: 4px; padding: 12px 10px; } | |
| .model-row:hover { background: var(--surface); } | |
| .model-row[aria-pressed="true"] { background: #eef5f0; border-color: #b8d0c1; } | |
| .row-name { font-size: 13px; font-weight: 550; } | |
| .row-name small { display: block; margin-top: 4px; color: #876329; font-size: 10px; font-weight: 400; } | |
| .row-size { font-size: 12px; white-space: nowrap; text-align: right; } | |
| .row-size small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; } | |
| .result-count { margin: 14px 10px 0; color: var(--muted); font-size: 10px; } | |
| .detail-card { padding: 26px; } | |
| .detail-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; } | |
| .detail-title { margin: 0; font-size: 28px; font-weight: 550; line-height: 1.35; letter-spacing: -.025em; } | |
| .status { padding: 4px 8px; border: 1px solid #c7ded0; background: #eef5f0; border-radius: 4px; color: var(--green); white-space: nowrap; font-size: 10px; } | |
| .status.pending { color: #876329; border-color: #ead9ba; background: #fff8ea; } | |
| .detail-description { margin: 18px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; } | |
| .detail-stats { display: flex; gap: 36px; margin-bottom: 24px; } | |
| .detail-stats b { display: block; font-size: 20px; font-weight: 550; letter-spacing: -.025em; } | |
| .detail-stats span { display: block; color: var(--muted); font-size: 11px; } | |
| .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } | |
| .actions a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; font-weight: 550; text-decoration: none; } | |
| .actions .primary { background: var(--green); color: #fff; border-color: var(--green); } | |
| .actions .primary:hover { background: #195a3f; border-color: #195a3f; color: #fff; } | |
| .command-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 10px; } | |
| .command-header h4 { margin: 0; font-size: 11px; font-weight: 550; } | |
| .copy-button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--muted); font-size: 10px; white-space: nowrap; } | |
| .copy-button:hover { color: var(--green); border-color: #b8d0c1; } | |
| pre { margin: 0; background: var(--surface); color: #47564c; border: 1px solid var(--line); border-radius: 4px; padding: 18px; font-size: 11px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; } | |
| pre code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; } | |
| .recipe-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 16px; } | |
| .recipe-switch button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); font-size: 12px; } | |
| .recipe-switch button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); } | |
| .api-panel { margin-top: 24px; } | |
| .api-panel p { color: var(--muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; } | |
| .api-panel p code { font-size: 11px; } | |
| .validation { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; } | |
| .validation h4 { margin: 0 0 8px; color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: .06em; text-transform: uppercase; } | |
| .validation p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; } | |
| .source-link { display: inline-block; margin-top: 12px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; } | |
| .empty-state { padding: 22px 12px; color: var(--muted); font-size: 13px; line-height: 1.7; } | |
| .context-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; border-top: 1px solid var(--line); margin: 56px 0 48px; padding-top: 36px; } | |
| .small-index { color: #858b85; font-size: 11px; } | |
| .context-strip h3 { margin: 12px 0 10px; font-size: 17px; font-weight: 550; line-height: 1.4; letter-spacing: -.025em; } | |
| .context-strip p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; } | |
| .context-strip a { display: inline-block; margin-top: 10px; color: var(--green); font-size: 12px; } | |
| footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 28px; color: var(--muted); font-size: 11px; } | |
| footer a { color: var(--green); } | |
| #toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 10; background: var(--ink); color: #fff; border-radius: 4px; padding: 11px 20px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .15s; } | |
| #toast.visible { opacity: 1; } | |
| .noscript { padding: 25px; } | |
| .error-message { padding: 20px; color: #804329; font-size: 13px; } | |
| @media (max-width: 1000px) { | |
| main, .site-header, footer { padding-left: 30px; padding-right: 30px; } | |
| .filter-bar { flex-wrap: wrap; } | |
| .filter-bar p { margin: 0; max-width: none; width: 100%; } | |
| .workspace { grid-template-columns: .8fr 1.2fr; gap: 18px; } | |
| .detail-card { padding: 22px; } | |
| .detail-top { flex-wrap: wrap; } | |
| } | |
| @media (max-width: 650px) { | |
| main, .site-header, footer { padding-left: 20px; padding-right: 20px; } | |
| .site-header { min-height: 64px; gap: 12px; } | |
| .brand { font-size: 12px; } | |
| .brand span { margin: 0 4px; } | |
| .site-header nav { gap: 14px; font-size: 11px; } | |
| .site-header nav a:nth-child(2) { display: none; } | |
| .hero { padding: 36px 0 44px; } | |
| .hero-accio-logo { margin-bottom: 24px; } | |
| .hero-accio-logo img { width: 78px; } | |
| .hero h1 { font-size: clamp(44px, 12vw, 60px); } | |
| .hero-subtitle { font-size: 25px; margin-top: 18px; } | |
| .hero-deck { font-size: 14px; } | |
| .hero-facts { gap: 8px 18px; font-size: 11px; } | |
| .hero-facts b { font-size: 14px; } | |
| .hero-actions { gap: 12px 18px; } | |
| .button { font-size: 13px; } | |
| .explorer { padding-top: 36px; } | |
| .section-heading { align-items: start; gap: 16px; } | |
| .live-label { max-width: 104px; text-align: right; font-size: 10px; line-height: 1.6; } | |
| .platform-tabs { grid-template-columns: repeat(2, 1fr); } | |
| .platform-tabs button { padding: 15px; font-size: 13px; } | |
| .platform-tabs button span { font-size: 11px; } | |
| .filter-bar { gap: 14px; } | |
| .vision-toggle { font-size: 11px; } | |
| .workspace { grid-template-columns: 1fr; gap: 18px; } | |
| .checkpoint-list { max-height: 350px; overflow: auto; } | |
| .detail-top { flex-wrap: wrap; gap: 10px; } | |
| .detail-title { font-size: 25px; } | |
| .detail-stats { gap: 28px; } | |
| .detail-stats b { font-size: 19px; } | |
| pre { padding: 15px; font-size: 10px; } | |
| .command-header { gap: 10px; } | |
| .context-strip { grid-template-columns: 1fr; gap: 26px; margin: 36px 0; padding-top: 28px; } | |
| .context-strip > div { display: grid; grid-template-columns: 24px 1fr; gap: 0 12px; } | |
| .context-strip h3 { margin-top: 0; } | |
| .context-strip p, .context-strip a { grid-column: 2; } | |
| .small-index { padding-top: 3px; } | |
| footer { font-size: 10px; } | |
| footer span:nth-child(2) { width: 100%; order: 3; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| * { scroll-behavior: auto ; transition: none ; } | |
| } | |