Download style.css from My-Weird-Prompts/Script-Leaderboard: direct link, hf CLI and curl.
- Browser
- Download file 5.34 kB
-
https://huggingface.co/spaces/My-Weird-Prompts/Script-Leaderboard/resolve/main/style.css
- Command line
-
hf download hf://spaces/My-Weird-Prompts/Script-Leaderboard/style.css
-
curl -L -o style.css https://huggingface.co/spaces/My-Weird-Prompts/Script-Leaderboard/resolve/main/style.css
5.34 kB
| :root { | |
| --bg: #fbfbfc; --fg: #16181d; --muted: #61656e; --line: #e2e4e9; | |
| --card: #fff; --accent: #4f46e5; --warn: #b45309; --bad: #b91c1c; --good: #047857; | |
| --hover: #f3f3fb; --chip: #eef0f4; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { --bg:#0e1015; --fg:#e8eaee; --muted:#9aa0ab; --line:#262a33; | |
| --card:#161a21; --accent:#8b87f5; --warn:#f0b45f; --bad:#f87171; --good:#34d399; | |
| --hover:#1d2130; --chip:#202530; } | |
| } | |
| * { box-sizing: border-box; } | |
| body { | |
| margin: 0; background: var(--bg); color: var(--fg); | |
| font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | |
| } | |
| header, main, footer { max-width: 1100px; margin: 0 auto; padding: 0 1rem; } | |
| header { padding-top: 2.25rem; } | |
| h1 { font-size: 1.8rem; margin: 0 0 .5rem; letter-spacing: -.02em; } | |
| h2 { font-size: 1.25rem; margin: 2.25rem 0 .6rem; letter-spacing: -.01em; } | |
| h3 { font-size: 1.02rem; margin: 1.2rem 0 .4rem; } | |
| .lede { color: var(--muted); max-width: 70ch; margin: 0 0 1rem; } | |
| a { color: var(--accent); } | |
| .disclaimer { max-width: 72ch; margin: 0 0 1rem; padding: .6rem .85rem; border-left: 3px solid var(--warn); | |
| background: var(--card); border-radius: 0 8px 8px 0; font-size: .92rem; } | |
| .related { max-width: 72ch; margin: -.8rem 0 1.5rem; } | |
| .links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; } | |
| .links a { display: inline-block; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px; | |
| background: var(--card); text-decoration: none; font-size: .88rem; color: var(--fg); } | |
| .links a:hover { border-color: var(--accent); } | |
| .card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; } | |
| .current { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: baseline; } | |
| .current .writer { font-size: 1.35rem; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; } | |
| .current .meta { color: var(--muted); font-size: .92rem; } | |
| .kv { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; margin-top: .5rem; width: 100%; } | |
| .kv span b { font-variant-numeric: tabular-nums; } | |
| .controls { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; margin-bottom: .8rem; } | |
| .field { display: flex; flex-direction: column; gap: .2rem; font-size: .75rem; font-weight: 600; | |
| color: var(--muted); text-transform: uppercase; letter-spacing: .04em; } | |
| .field.grow { flex: 1 1 260px; min-width: 0; } | |
| .field select { width: 100%; min-width: 0; } | |
| input, select { | |
| font: inherit; font-size: .95rem; color: var(--fg); background: var(--card); | |
| border: 1px solid var(--line); border-radius: 8px; padding: .45rem .7rem; max-width: 100%; | |
| } | |
| input:focus, select:focus, th button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; } | |
| input[type=search] { width: 100%; } | |
| .run-head { margin: 0 0 .8rem; } | |
| .run-head p { margin: .2rem 0; } | |
| .caveat { max-width: 72ch; padding: .45rem .8rem; border-left: 3px solid var(--warn); background: var(--card); | |
| border-radius: 0 8px 8px 0; font-size: .92rem; } | |
| .chip-warn { color: var(--warn); font-weight: 600; } | |
| tr.offline td.model { font-style: italic; } | |
| td.nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; } | |
| .muted { color: var(--muted); } | |
| .small { font-size: .86rem; } | |
| .chip { display: inline-block; background: var(--chip); border-radius: 6px; padding: 0 .45rem; font-size: .8rem; | |
| margin-right: .3rem; white-space: nowrap; } | |
| .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--card); } | |
| table { width: 100%; border-collapse: collapse; font-size: .9rem; } | |
| th, td { text-align: left; padding: .5rem .65rem; border-bottom: 1px solid var(--line); vertical-align: top; } | |
| tbody tr:last-child td { border-bottom: 0; } | |
| tbody tr:hover { background: var(--hover); } | |
| th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; | |
| white-space: nowrap; } | |
| th button { all: unset; cursor: pointer; } | |
| th button:hover { color: var(--fg); } | |
| th[aria-sort=ascending] button::after { content: " \25B2"; } | |
| th[aria-sort=descending] button::after { content: " \25BC"; } | |
| td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } | |
| td.model { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; white-space: nowrap; } | |
| td.notes { min-width: 14rem; color: var(--muted); font-size: .84rem; } | |
| tr.fail td { color: var(--muted); } | |
| .fail-tag { color: var(--bad); font-weight: 700; } | |
| .pass-tag { color: var(--good); } | |
| .is-current { color: var(--accent); font-weight: 700; } | |
| .entry { margin-bottom: 1rem; } | |
| .entry h3 { margin-top: 0; } | |
| .entry ul { padding-left: 1.2rem; margin: .3rem 0; } | |
| .entry li { margin: .25rem 0; } | |
| blockquote { margin: .5rem 0; padding: .3rem .9rem; border-left: 3px solid var(--accent); color: var(--fg); } | |
| .verdict { background: var(--hover); border-radius: 8px; padding: .6rem .8rem; margin-top: .6rem; } | |
| details summary { cursor: pointer; font-weight: 600; } | |
| .error { color: var(--bad); } | |
| footer { color: var(--muted); font-size: .85rem; padding: 2.5rem 1rem 2rem; } | |
| @media (max-width: 600px) { | |
| h1 { font-size: 1.45rem; } | |
| th, td { padding: .45rem .5rem; } | |
| td.notes { min-width: 11rem; } | |
| } | |