Download static/style.css from HuggingFaceSwarms/pybot-explorer: direct link, hf CLI and curl.
- Browser
- Download file 15.7 kB
-
https://huggingface.co/spaces/HuggingFaceSwarms/pybot-explorer/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/HuggingFaceSwarms/pybot-explorer/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/HuggingFaceSwarms/pybot-explorer/resolve/main/static/style.css
15.7 kB
| @font-face { font-family: "PB Lead"; font-weight: 400; src: url(/static/fonts/lead.woff2) format("woff2"); font-display: swap; } | |
| @font-face { font-family: "PB Mono"; font-weight: 400; src: url(/static/fonts/mono.woff2) format("woff2"); font-display: swap; } | |
| @font-face { font-family: "PB Mono"; font-weight: 700; src: url(/static/fonts/mono-bold.woff2) format("woff2"); font-display: swap; } | |
| :root { | |
| --page-bg: #ffffff; | |
| --surface-bg: #f9f9f9; | |
| --text-color: rgba(0, 0, 0, .85); | |
| --muted-color: rgba(0, 0, 0, .6); | |
| --faint-color: rgba(0, 0, 0, .1); | |
| --primary-color: oklch(0.75 0.12 47); | |
| --primary-tint: color-mix(in oklab, var(--primary-color) 18%, transparent); | |
| --ramp0: #ececec; --ramp1: #e8935f; --ramp2: #8f3f12; | |
| color-scheme: light; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root:not([data-theme="light"]) { | |
| --page-bg: #0f1115; --surface-bg: #07080a; | |
| --text-color: rgba(255, 255, 255, .9); --muted-color: rgba(255, 255, 255, .65); --faint-color: rgba(255, 255, 255, .15); | |
| --primary-color: oklch(0.72 0.12 47); | |
| --ramp0: #262a31; --ramp1: #9a5631; --ramp2: #f6a774; | |
| color-scheme: dark; | |
| } | |
| } | |
| :root[data-theme="dark"] { | |
| --page-bg: #0f1115; --surface-bg: #07080a; | |
| --text-color: rgba(255, 255, 255, .9); --muted-color: rgba(255, 255, 255, .65); --faint-color: rgba(255, 255, 255, .15); | |
| --primary-color: oklch(0.72 0.12 47); | |
| --ramp0: #262a31; --ramp1: #9a5631; --ramp2: #f6a774; | |
| color-scheme: dark; | |
| } | |
| * { box-sizing: border-box; } | |
| html { -webkit-text-size-adjust: 100%; } | |
| body { margin: 0; background: var(--page-bg); color: var(--text-color); font: 13px/1.5 "PB Mono", ui-monospace, Menlo, monospace; } | |
| a { color: inherit; text-decoration-color: var(--primary-color); text-underline-offset: 2px; } | |
| a:hover { color: var(--primary-color); } | |
| .lead, h1, h2, h3 { font-family: "PB Lead", Helvetica, Arial, sans-serif; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; } | |
| h1 { font-size: 20px; margin: 0 0 8px; line-height: 1.3; letter-spacing: .1em; } | |
| h2 { font-size: 14px; margin: 28px 0 10px; } | |
| h3 { font-size: 12px; margin: 0; } | |
| .muted { color: var(--muted-color); } | |
| .label { font: 10px "PB Lead", Helvetica, Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-color); margin: 0 0 2px; } | |
| button, input, select { font: inherit; color: inherit; background: var(--page-bg); border: 1px solid var(--text-color); border-radius: 0; padding: 5px 9px; } | |
| button { cursor: pointer; } | |
| button:hover { border-color: var(--primary-color); color: var(--primary-color); } | |
| :focus-visible { outline: 2px solid var(--primary-color); outline-offset: 1px; } | |
| .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; border-bottom: 1px solid var(--text-color); } | |
| .brand { text-decoration: none; font-size: 15px; } | |
| .top nav { display: flex; gap: 16px; align-items: center; } | |
| main { max-width: 1180px; margin: 0 auto; padding: 20px 24px 60px; } | |
| .tip { position: absolute; pointer-events: none; background: var(--surface-bg); border: 1px solid var(--text-color); padding: 6px 9px; font-size: 12px; line-height: 1.45; max-width: 320px; opacity: 0; transition: opacity .1s; } | |
| .meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border: 1px solid var(--text-color); margin: 14px 0; } | |
| .meta div { padding: 8px 10px; border-right: 1px solid var(--faint-color); border-bottom: 1px solid var(--faint-color); min-width: 0; overflow-wrap: anywhere; } | |
| .meta b { display: block; font: 10px "PB Lead", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-color); margin-bottom: 2px; } | |
| .score { color: var(--primary-color); font-weight: 700; } | |
| .nav-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; } | |
| .tabs { display: flex; border-bottom: 1px solid var(--text-color); margin-top: 18px; overflow-x: auto; } | |
| .tabs a { padding: 8px 14px; text-decoration: none; font: 12px "PB Lead", sans-serif; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; border: 1px solid transparent; border-bottom: none; margin-bottom: -1px; } | |
| .tabs a[aria-selected="true"] { border-color: var(--text-color); background: var(--page-bg); border-bottom: 1px solid var(--page-bg); } | |
| .tabs a[aria-selected="true"]::after { content: ""; display: block; height: 2px; background: var(--primary-color); margin-top: 4px; } | |
| .card { border: 1px solid var(--text-color); margin: 0 0 12px; } | |
| .card > header { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 6px 10px; border-bottom: 1px solid var(--faint-color); background: var(--surface-bg); } | |
| .card .body { padding: 8px 10px; white-space: pre-wrap; overflow-wrap: anywhere; } | |
| .card.hl { border-color: var(--primary-color); box-shadow: inset 3px 0 0 var(--primary-color); } | |
| .verdict { font: 11px "PB Lead", sans-serif; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--text-color); padding: 0 6px; } | |
| .verdict.approve { border-color: var(--primary-color); color: var(--primary-color); } | |
| code { font-family: "PB Mono", ui-monospace, monospace; background: var(--surface-bg); padding: 0 3px; } | |
| .card .body.md { white-space: normal; } | |
| .src .body pre { margin: 6px 0 0; } | |
| .md p, .md ul, .md ol, .md blockquote { margin: 0 0 8px; } | |
| .md ul, .md ol { padding-left: 22px; } | |
| .md h4 { font: 12px "PB Lead", sans-serif; letter-spacing: .16em; text-transform: uppercase; margin: 12px 0 6px; } | |
| .md pre { font-family: "PB Mono", ui-monospace, monospace; font-size: 12px; background: var(--surface-bg); border: 1px solid var(--faint-color); padding: 6px 8px; margin: 0 0 8px; overflow-x: auto; white-space: pre; } | |
| .md pre code { padding: 0; background: none; } | |
| .md blockquote { border-left: 2px solid var(--faint-color); padding-left: 8px; color: var(--muted-color); } | |
| .md > :last-child { margin-bottom: 0; } | |
| .diff-file { border: 1px solid var(--text-color); margin: 0 0 12px; } | |
| .diff-file > summary { padding: 6px 10px; cursor: pointer; background: var(--surface-bg); display: flex; gap: 10px; flex-wrap: wrap; } | |
| .diff-file pre { margin: 0; overflow-x: auto; font-size: 12px; line-height: 1.45; } | |
| .diff-file pre span { display: block; padding: 0 10px; white-space: pre; min-height: 1.45em; } | |
| .diff-file .add { background: var(--primary-tint); } | |
| .diff-file .del { color: var(--muted-color); background: var(--faint-color); } | |
| .diff-file .hunk { color: var(--muted-color); border-top: 1px solid var(--faint-color); } | |
| .window { border: 1px solid var(--text-color); margin: 0 0 16px; } | |
| .window > header { padding: 8px 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; border-bottom: 1px solid var(--text-color); } | |
| .turns { padding: 8px 10px; } | |
| .turn { margin: 0 0 10px; padding-left: 10px; border-left: 1px solid var(--faint-color); } | |
| .turn .who { font: 10px "PB Lead", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-color); } | |
| .turn.assistant { border-left-color: var(--text-color); } | |
| .turn .text { white-space: pre-wrap; overflow-wrap: anywhere; } | |
| .turn .thinking { white-space: pre-wrap; color: var(--muted-color); font-style: italic; overflow-wrap: anywhere; } | |
| .turn .call { border: 1px solid var(--faint-color); padding: 4px 8px; margin: 4px 0; overflow-x: auto; } | |
| .turn .call b { color: var(--primary-color); } | |
| .turn pre { margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; } | |
| details > summary { cursor: pointer; } | |
| .turn details > summary { color: var(--muted-color); } | |
| .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; } | |
| .chips button[aria-pressed="true"] { border-color: var(--primary-color); color: var(--primary-color); } | |
| .more { display: block; margin: 10px auto; } | |
| .err { border: 1px solid var(--primary-color); padding: 8px 10px; } | |
| /* explorer home */ | |
| main.wide { max-width: 1640px; } | |
| .strip { position: relative; border: 1px solid var(--text-color); padding: 0 6px; margin-bottom: 14px; } | |
| .strip svg { display: block; width: 100%; overflow: visible; } | |
| .strip .series { fill: none; stroke: var(--text-color); stroke-width: 1.25; } | |
| .strip .base line { stroke: var(--muted-color); stroke-opacity: .5; stroke-dasharray: 3 4; } | |
| .strip .base text { fill: var(--muted-color); font-size: 10px; } | |
| .strip .cursor line { stroke: var(--primary-color); stroke-width: 2; } | |
| .strip .cursor circle { fill: var(--primary-color); stroke: var(--page-bg); stroke-width: 2; } | |
| .strip .tip { z-index: 5; } | |
| .explorer { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; } | |
| .clist { position: sticky; top: 8px; height: calc(100vh - 150px); min-height: 320px; border: 1px solid var(--text-color); display: flex; flex-direction: column; } | |
| .clist-body { display: flex; flex-direction: column; min-height: 0; flex: 1; } | |
| .clist-filters { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-bottom: 1px solid var(--text-color); } | |
| .clist-toggle { display: none; } | |
| #rows { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; } | |
| #rows a { display: block; padding: 6px 8px; text-decoration: none; border-bottom: 1px solid var(--faint-color); border-left: 3px solid transparent; } | |
| #rows a:hover { background: var(--surface-bg); color: inherit; } | |
| #rows a.on { border-left-color: var(--primary-color); background: var(--surface-bg); } | |
| #rows li.muted { padding: 8px; } | |
| .l1 { display: flex; justify-content: space-between; gap: 8px; } | |
| .l2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } | |
| .l3 { display: block; color: var(--muted-color); font-size: 11px; } | |
| .sel { min-width: 0; } | |
| .sel h1 { font-size: 16px; margin-bottom: 4px; } | |
| .meta-line { margin: 0 0 2px; } | |
| .keys { margin: 0; display: flex; gap: 12px; } | |
| .grid4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; } | |
| .sum { border: 1px solid var(--text-color); height: 210px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; } | |
| .sum > header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--faint-color); background: var(--surface-bg); } | |
| .sum h2 { margin: 0; font-size: 12px; } | |
| .sum h2 a { text-decoration: none; } | |
| .sum header button { padding: 2px 8px; font-size: 11px; } | |
| .sbody { padding: 8px 10px; overflow: hidden; flex: 1; min-height: 0; } | |
| .sumline { margin: 0 0 6px; font-weight: 700; } | |
| .one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.6; } | |
| .one .verdict { font-size: 10px; } | |
| .tc b { color: var(--primary-color); } | |
| .vtabs { margin-top: 12px; align-items: flex-end; } | |
| .vtabs .collapse { margin: 0 0 4px auto; padding: 3px 10px; font-size: 11px; } | |
| .full { padding-top: 12px; } | |
| .full .chips button { padding: 2px 8px; font-size: 11px; } | |
| .mturn { padding: 4px 0 6px; border-bottom: 1px solid var(--faint-color); cursor: pointer; } | |
| .mturn .thinking { color: var(--muted-color); font-style: italic; } | |
| .clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; overflow-wrap: anywhere; } | |
| .clamp1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .mturn.open .clamp, .mturn.open .clamp1 { display: block; -webkit-line-clamp: unset; white-space: pre-wrap; overflow: visible; overflow-wrap: anywhere; } | |
| @media (max-width: 760px) { | |
| .explorer { grid-template-columns: minmax(0, 1fr); gap: 12px; } | |
| .clist { position: static; height: auto; min-height: 0; } | |
| .clist-toggle { display: block; width: 100%; border: none; text-align: left; font: 12px "PB Lead", sans-serif; letter-spacing: .16em; text-transform: uppercase; } | |
| .clist-body { display: none; } | |
| .clist.open .clist-body { display: flex; border-top: 1px solid var(--text-color); } | |
| #rows { max-height: 60vh; } | |
| .grid4 { grid-template-columns: minmax(0, 1fr); } | |
| .maintabs { padding: 0 16px; } | |
| .hcard { padding: 8px; } | |
| .hcard .hv { font-size: 20px; } | |
| } | |
| /* main tabs and agents view */ | |
| .maintabs { padding: 0 24px; margin-top: 10px; } | |
| .intro { font-size: 15px; margin: 4px 0 16px; } | |
| .hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 8px; } | |
| .hcard { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--text-color); padding: 10px; text-decoration: none; min-width: 0; } | |
| .hcard:hover { border-color: var(--primary-color); color: inherit; } | |
| .hcard .hv { font: 24px "PB Lead", Helvetica, Arial, sans-serif; letter-spacing: .06em; } | |
| .hcard .go { color: var(--primary-color); font-size: 12px; } | |
| .spark { width: 100%; height: 30px; display: block; } | |
| .spark path { fill: none; stroke: var(--text-color); stroke-width: 1.25; } | |
| .spark line { stroke: var(--primary-color); stroke-width: 1.5; } | |
| .sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; } | |
| .sec-head .chips button { padding: 2px 8px; font-size: 11px; } | |
| .contrib { position: relative; } | |
| .contrib svg { display: block; width: 100%; } | |
| .contrib .lane { font: 10px "PB Lead", Helvetica, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; fill: var(--muted-color); } | |
| @media (max-width: 640px) { .contrib .lane { font-size: 8.5px; letter-spacing: .08em; } } | |
| .contrib rect { cursor: pointer; outline: none; } | |
| .contrib rect.on, .contrib rect:focus { stroke: var(--text-color); stroke-width: 1.5; } | |
| .legend { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 6px; } | |
| .legend text { fill: var(--muted-color); font: 10px "PB Mono", monospace; } | |
| .legend .nt { display: inline-flex; gap: 6px; align-items: center; color: var(--muted-color); font-size: 11px; } | |
| .moments { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--faint-color); } | |
| .moments li { padding: 6px 0; border-bottom: 1px solid var(--faint-color); display: flex; flex-wrap: wrap; gap: 4px 10px; } | |
| .astrip { position: relative; border: 1px solid var(--text-color); padding: 6px 8px 0; } | |
| .astrip svg { display: block; width: 100%; overflow: visible; } | |
| .astrip .bars rect { fill: var(--text-color); } | |
| .astrip .bars rect.sel { fill: var(--primary-color); } | |
| .astrip .base, .astrip .tick { stroke: var(--muted-color); } | |
| .astrip .gapbg { fill: var(--page-bg); } | |
| .brk { fill: none; stroke: var(--muted-color); stroke-width: 1.25; } | |
| .spark .brk { stroke-width: 1; vector-effect: non-scaling-stroke; } | |
| .astrip text { fill: var(--muted-color); font: 10px "PB Mono", monospace; } | |
| .tb { border: 1px solid var(--text-color); margin-top: 12px; } | |
| .tb > header { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-bottom: 1px solid var(--faint-color); background: var(--surface-bg); } | |
| .tb > header button { padding: 2px 8px; } | |
| .recon { display: inline-block; font-size: 11px; color: var(--primary-color); border: 1px solid var(--primary-color); padding: 0 6px; margin: 2px 0; } | |
| .tb > header button:disabled { opacity: .35; cursor: default; } | |
| .tb .turns { padding: 8px 10px; max-height: 70vh; overflow-y: auto; } | |
| .alists { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; } | |
| .alists section { min-width: 0; } | |
| @media (max-width: 640px) { | |
| .top { padding: 10px 16px; } | |
| .top { gap: 8px; } | |
| .top nav { gap: 8px; } | |
| .top nav button { padding: 3px 6px; } | |
| .brand { font-size: 12px; letter-spacing: .06em; white-space: nowrap; } | |
| main { padding: 14px 16px 40px; } | |
| .hide-sm { display: none; } | |
| h1 { font-size: 16px; } | |
| .tabs { flex-wrap: wrap; overflow-x: visible; } | |
| .tabs a { flex: 1 1 auto; text-align: center; padding: 8px 4px; font-size: 11px; letter-spacing: .06em; } | |
| } | |