Spaces:
Running
Running
GSPC Explorer: live static terminal (board hero, per-axis top-9 signed cards, in-browser Ed25519 verifier, model directory). Counts derived live; TIE shows no winner; portable gspc-data.js core.
7c11e31 verified Download style.css from csoai/gspc-explorer: direct link, hf CLI and curl.
- Browser
- Download file 17.3 kB
-
https://huggingface.co/spaces/csoai/gspc-explorer/resolve/main/style.css
- Command line
-
hf download hf://spaces/csoai/gspc-explorer/style.css
-
curl -L -o style.css https://huggingface.co/spaces/csoai/gspc-explorer/resolve/main/style.css
17.3 kB
| /* GSPC Explorer — the Bloomberg terminal / Moody's of AI governance. | |
| Dark, dense, fast. Professional, not gaudy. */ | |
| :root { | |
| --bg: #070b14; | |
| --bg-2: #0c1322; | |
| --panel: #0f1a2e; | |
| --panel-2: #12203a; | |
| --line: #1e2d48; | |
| --line-2: #26385a; | |
| --ink: #e8eefb; | |
| --ink-dim: #9fb0cc; | |
| --ink-faint: #64758f; | |
| --navy: #2f6bff; /* MEASURED */ | |
| --navy-soft: #1b2a4a; | |
| --amber: #f5a623; /* UNMEASURED / facts */ | |
| --amber-soft:#3a2c10; | |
| --green: #34d399; /* SEPARATED */ | |
| --green-soft:#0f3327; | |
| --grey: #7d8ca6; /* TIE */ | |
| --grey-soft: #1c2740; | |
| --red: #ff5c7a; | |
| --accent: #4f8cff; | |
| --mono: 'IBM Plex Mono', 'SF Mono', 'Roboto Mono', ui-monospace, Menlo, monospace; | |
| --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
| --shadow: 0 8px 30px rgba(0,0,0,.45); | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { margin: 0; padding: 0; } | |
| body { | |
| background: | |
| radial-gradient(1200px 600px at 78% -10%, #10203f 0%, transparent 60%), | |
| radial-gradient(900px 500px at 5% 0%, #131a2e 0%, transparent 55%), | |
| var(--bg); | |
| color: var(--ink); | |
| font-family: var(--sans); | |
| font-size: 14px; | |
| line-height: 1.5; | |
| -webkit-font-smoothing: antialiased; | |
| min-height: 100vh; | |
| } | |
| a { color: var(--accent); text-decoration: none; } | |
| a:hover { text-decoration: underline; } | |
| /* ---- ticker bar ---- */ | |
| .ticker { | |
| border-bottom: 1px solid var(--line); | |
| background: rgba(6,10,20,.85); | |
| backdrop-filter: blur(6px); | |
| font-family: var(--mono); | |
| font-size: 12px; | |
| overflow: hidden; | |
| white-space: nowrap; | |
| height: 30px; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .ticker-track { display: inline-flex; gap: 34px; padding-left: 100%; animation: scroll 46s linear infinite; } | |
| .ticker:hover .ticker-track { animation-play-state: paused; } | |
| @keyframes scroll { to { transform: translateX(-100%); } } | |
| .tk { color: var(--ink-dim); } | |
| .tk b { color: var(--ink); font-weight: 600; } | |
| .tk .up { color: var(--green); } | |
| .tk .tie { color: var(--grey); } | |
| /* ---- header ---- */ | |
| header.top { | |
| display: flex; align-items: center; gap: 18px; | |
| padding: 18px 26px 14px; border-bottom: 1px solid var(--line); | |
| position: sticky; top: 0; z-index: 40; | |
| background: linear-gradient(180deg, rgba(9,14,26,.96), rgba(9,14,26,.86)); | |
| backdrop-filter: blur(10px); | |
| flex-wrap: wrap; | |
| } | |
| .brand { display: flex; align-items: baseline; gap: 12px; } | |
| .brand h1 { font-size: 19px; margin: 0; letter-spacing: .3px; font-weight: 700; } | |
| .brand h1 .g { color: var(--accent); } | |
| .brand .sub { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); } | |
| .badge-slot { margin-left: 4px; display: inline-flex; align-items: center; } | |
| .spacer { flex: 1; } | |
| nav.tabs { display: flex; gap: 4px; } | |
| nav.tabs button { | |
| background: transparent; border: 1px solid transparent; color: var(--ink-dim); | |
| font-family: var(--mono); font-size: 12px; letter-spacing: .4px; | |
| padding: 7px 14px; border-radius: 7px; cursor: pointer; text-transform: uppercase; | |
| } | |
| nav.tabs button:hover { color: var(--ink); background: var(--panel); } | |
| nav.tabs button.active { color: #fff; background: var(--navy-soft); border-color: var(--line-2); } | |
| .search-wrap { position: relative; } | |
| .search-wrap input { | |
| background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink); | |
| font-family: var(--mono); font-size: 12px; padding: 8px 12px 8px 30px; | |
| border-radius: 8px; width: 230px; outline: none; | |
| } | |
| .search-wrap input:focus { border-color: var(--accent); } | |
| .search-wrap .mag { position: absolute; left: 10px; top: 8px; color: var(--ink-faint); font-size: 12px; } | |
| .search-results { | |
| position: absolute; top: 40px; right: 0; width: 320px; max-height: 60vh; overflow-y: auto; | |
| background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; | |
| box-shadow: var(--shadow); z-index: 60; display: none; | |
| } | |
| .search-results.open { display: block; } | |
| .sr-group { padding: 6px 0; border-bottom: 1px solid var(--line); } | |
| .sr-group h4 { margin: 4px 12px; font-size: 10px; letter-spacing: 1px; color: var(--ink-faint); text-transform: uppercase; } | |
| .sr-item { padding: 7px 12px; cursor: pointer; font-family: var(--mono); font-size: 12px; display: flex; justify-content: space-between; gap: 8px; } | |
| .sr-item:hover { background: var(--panel-2); } | |
| .sr-item .meta { color: var(--ink-faint); } | |
| /* ---- layout ---- */ | |
| main { padding: 22px 26px 80px; max-width: 1520px; margin: 0 auto; } | |
| .view { display: none; } | |
| .view.active { display: block; animation: fade .25s ease; } | |
| @keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } } | |
| /* ---- hero stats ---- */ | |
| .hero { | |
| display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |
| gap: 12px; margin-bottom: 8px; | |
| } | |
| .stat { | |
| background: linear-gradient(180deg, var(--panel), var(--bg-2)); | |
| border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; | |
| } | |
| .stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--ink-faint); text-transform: uppercase; } | |
| .stat .v { font-size: 26px; font-weight: 700; margin-top: 4px; letter-spacing: .5px; } | |
| .stat .v small { font-size: 13px; color: var(--ink-dim); font-weight: 500; } | |
| .stat.navy .v { color: #8ab4ff; } | |
| .stat.green .v { color: var(--green); } | |
| .stat.grey .v { color: var(--grey); } | |
| .stat.amber .v { color: var(--amber); } | |
| .grammar { | |
| margin: 14px 0 22px; padding: 12px 16px; border-left: 3px solid var(--navy); | |
| background: var(--navy-soft); border-radius: 0 10px 10px 0; color: var(--ink-dim); | |
| font-size: 13px; | |
| } | |
| .grammar b { color: var(--ink); } | |
| /* ---- section headings ---- */ | |
| .sec-head { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; } | |
| .sec-head h2 { font-size: 15px; margin: 0; letter-spacing: .3px; } | |
| .sec-head .pill { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); background: var(--panel); border: 1px solid var(--line); padding: 3px 9px; border-radius: 20px; } | |
| .sec-head .rule { flex: 1; height: 1px; background: var(--line); } | |
| /* ---- axis grid ---- */ | |
| .axis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; } | |
| .axis-card { | |
| background: linear-gradient(180deg, var(--panel), var(--bg-2)); | |
| border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px 13px; | |
| cursor: pointer; position: relative; overflow: hidden; transition: border-color .15s, transform .1s; | |
| } | |
| .axis-card:hover { border-color: var(--line-2); transform: translateY(-2px); } | |
| .axis-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--hue, #2f6bff); } | |
| .axis-card .row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; } | |
| .axis-card .name { font-weight: 700; font-size: 14.5px; letter-spacing: .2px; } | |
| .axis-card .bench { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); margin-top: 1px; } | |
| .axis-card .task { font-size: 12px; color: var(--ink-dim); margin: 8px 0 10px; min-height: 30px; } | |
| .axis-card .metrics { display: flex; gap: 16px; align-items: flex-end; } | |
| .axis-card .metric .ml { font-family: var(--mono); font-size: 9.5px; color: var(--ink-faint); letter-spacing: .5px; text-transform: uppercase; } | |
| .axis-card .metric .mv { font-size: 17px; font-weight: 700; font-family: var(--mono); } | |
| .axis-card .metric .mv.empty { color: var(--ink-faint); font-weight: 400; font-size: 13px; } | |
| .axis-card .leader { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); margin-top: 9px; display: flex; align-items: center; gap: 6px; } | |
| .axis-card .leader .who { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| /* ---- chips ---- */ | |
| .chip { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .6px; padding: 3px 7px; border-radius: 5px; text-transform: uppercase; white-space: nowrap; } | |
| .chip.measured { background: var(--navy-soft); color: #8ab4ff; border: 1px solid #294a86; } | |
| .chip.unmeasured { background: var(--amber-soft); color: var(--amber); border: 1px solid #6a4d13; } | |
| .chip.sep { background: var(--green-soft); color: var(--green); border: 1px solid #1c6b52; } | |
| .chip.tie { background: var(--grey-soft); color: #b9c6df; border: 1px solid #34456a; } | |
| .chip.facts { background: var(--amber-soft); color: var(--amber); border: 1px solid #6a4d13; } | |
| .chip.valid { background: var(--green-soft); color: var(--green); border: 1px solid #1c6b52; } | |
| .chip.invalid { background: #3a1420; color: var(--red); border: 1px solid #6a2436; } | |
| .chip.uncheckable { background: var(--grey-soft); color: #b9c6df; border: 1px solid #34456a; } | |
| /* ---- drawer (axis drill-down) ---- */ | |
| .scrim { position: fixed; inset: 0; background: rgba(3,6,12,.66); backdrop-filter: blur(3px); z-index: 90; display: none; } | |
| .scrim.open { display: block; } | |
| .drawer { | |
| position: fixed; top: 0; right: 0; height: 100vh; width: min(760px, 96vw); | |
| background: var(--bg-2); border-left: 1px solid var(--line-2); box-shadow: var(--shadow); | |
| z-index: 100; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); | |
| display: flex; flex-direction: column; | |
| } | |
| .drawer.open { transform: none; } | |
| .drawer .dh { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 12px; } | |
| .drawer .dh .x { margin-left: auto; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink-dim); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 15px; } | |
| .drawer .dh .x:hover { color: #fff; } | |
| .drawer .dbody { overflow-y: auto; padding: 18px 22px 60px; } | |
| .drawer h3.axis-title { margin: 0; font-size: 20px; } | |
| .drawer .axis-sub { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); margin-top: 3px; } | |
| .kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 16px 0; } | |
| .kv .cell { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; } | |
| .kv .cell .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .6px; color: var(--ink-faint); text-transform: uppercase; } | |
| .kv .cell .v { font-size: 16px; font-weight: 700; font-family: var(--mono); margin-top: 3px; } | |
| .kv .cell .v.empty { color: var(--ink-faint); font-weight: 400; font-size: 12px; } | |
| .note-box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: var(--ink-dim); margin: 14px 0; } | |
| .note-box b { color: var(--ink); } | |
| .subhead { font-family: var(--mono); font-size: 11px; letter-spacing: .8px; color: var(--ink-faint); text-transform: uppercase; margin: 22px 0 10px; display: flex; align-items: center; gap: 8px; } | |
| .subhead .rule { flex: 1; height: 1px; background: var(--line); } | |
| /* ---- model rows table ---- */ | |
| .mtable { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; } | |
| .mrow { display: grid; grid-template-columns: 26px 1fr 78px 130px; align-items: center; gap: 10px; padding: 9px 13px; border-bottom: 1px solid var(--line); background: var(--panel); } | |
| .mrow:last-child { border-bottom: none; } | |
| .mrow:hover { background: var(--panel-2); } | |
| .mrow .rank { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); text-align: right; } | |
| .mrow .model { font-family: var(--mono); font-size: 12.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .mrow .acc { font-family: var(--mono); font-size: 14px; font-weight: 700; text-align: right; } | |
| .mrow .acc.empty { color: var(--ink-faint); font-weight: 400; font-size: 12px; } | |
| .mrow .verify { display: flex; align-items: center; gap: 7px; justify-content: flex-end; } | |
| .mrow .verify a { font-family: var(--mono); font-size: 10.5px; } | |
| .acc-bar { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: -3px; } | |
| .acc-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #2f6bff, #4f8cff); } | |
| .empty-state { padding: 26px; text-align: center; color: var(--ink-faint); font-size: 13px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--bg); } | |
| .empty-state b { color: var(--ink-dim); } | |
| /* ---- loaders / states ---- */ | |
| .loading, .state { padding: 40px; text-align: center; color: var(--ink-dim); font-family: var(--mono); font-size: 13px; } | |
| .state.err { color: var(--red); } | |
| .skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; } | |
| .skeleton .sk { height: 132px; border-radius: 12px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; } | |
| @keyframes shimmer { to { background-position: -200% 0; } } | |
| .spin { display: inline-block; width: 13px; height: 13px; border: 2px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: rot .7s linear infinite; vertical-align: -2px; margin-right: 7px; } | |
| @keyframes rot { to { transform: rotate(360deg); } } | |
| /* ---- models directory ---- */ | |
| .model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; } | |
| .model-card { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, transform .1s; } | |
| .model-card:hover { border-color: var(--line-2); transform: translateY(-2px); } | |
| .model-card .mn { font-family: var(--mono); font-size: 12.5px; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .model-card .mm { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); margin-top: 6px; display: flex; justify-content: space-between; } | |
| .model-card .mm .up { color: var(--green); } | |
| /* ---- verify view ---- */ | |
| .verify-panel { max-width: 900px; } | |
| .vform { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; } | |
| .vform input { flex: 1; min-width: 260px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink); font-family: var(--mono); font-size: 12px; padding: 10px 12px; border-radius: 9px; outline: none; } | |
| .vform input:focus { border-color: var(--accent); } | |
| .vform button, .btn { background: var(--navy); border: none; color: #fff; font-family: var(--mono); font-size: 12px; padding: 10px 18px; border-radius: 9px; cursor: pointer; font-weight: 600; letter-spacing: .3px; } | |
| .vform button:hover, .btn:hover { background: #3f78ff; } | |
| .btn.ghost { background: var(--panel); border: 1px solid var(--line-2); color: var(--ink-dim); } | |
| .verify-out { margin-top: 16px; } | |
| .card-json { background: #060a12; border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-family: var(--mono); font-size: 11.5px; color: #b9c6df; overflow-x: auto; white-space: pre; line-height: 1.55; } | |
| .verdict { display: flex; gap: 12px; align-items: center; margin: 14px 0; flex-wrap: wrap; } | |
| .verdict .big { font-family: var(--mono); font-size: 15px; font-weight: 700; padding: 8px 16px; border-radius: 9px; } | |
| .verdict .big.valid { background: var(--green-soft); color: var(--green); border: 1px solid #1c6b52; } | |
| .verdict .big.invalid { background: #3a1420; color: var(--red); border: 1px solid #6a2436; } | |
| .verdict .big.uncheckable { background: var(--grey-soft); color: #b9c6df; border: 1px solid #34456a; } | |
| /* ---- share / install ---- */ | |
| .share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; } | |
| .share-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; } | |
| .share-card h3 { margin: 0 0 8px; font-size: 14px; } | |
| .share-card p { color: var(--ink-dim); font-size: 12.5px; margin: 6px 0; } | |
| .codeline { background: #060a12; border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; font-family: var(--mono); font-size: 12px; color: #9ecbff; display: flex; justify-content: space-between; align-items: center; gap: 10px; } | |
| .codeline button { background: var(--panel-2); border: 1px solid var(--line-2); color: var(--ink-dim); border-radius: 6px; font-family: var(--mono); font-size: 10px; padding: 4px 8px; cursor: pointer; } | |
| .codeline button:hover { color: #fff; } | |
| /* ---- persistent honesty footer ---- */ | |
| .honesty-bar { | |
| position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; | |
| background: rgba(6,10,20,.92); backdrop-filter: blur(8px); border-top: 1px solid var(--line); | |
| font-family: var(--mono); font-size: 11px; color: var(--ink-dim); | |
| padding: 8px 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; | |
| } | |
| .honesty-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); } | |
| .honesty-bar b { color: var(--ink); } | |
| .honesty-bar .sep { color: var(--ink-faint); } | |
| /* ---- misc ---- */ | |
| .hidden { display: none ; } | |
| .muted { color: var(--ink-faint); } | |
| ::-webkit-scrollbar { width: 10px; height: 10px; } | |
| ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; } | |
| ::-webkit-scrollbar-track { background: transparent; } | |
| @media (max-width: 720px) { | |
| header.top { gap: 10px; padding: 14px; } | |
| .search-wrap input { width: 150px; } | |
| nav.tabs button { padding: 6px 9px; } | |
| main { padding: 16px 14px 90px; } | |
| .mrow { grid-template-columns: 22px 1fr 60px; } | |
| .mrow .verify { display: none; } | |
| } | |