Spaces:
Running
Running
Download ctt/styles.css from SamJoshua/agent-security-bench: direct link, hf CLI and curl.
- Browser
- Download file 6.7 kB
-
https://huggingface.co/spaces/SamJoshua/agent-security-bench/resolve/main/ctt/styles.css
- Command line
-
hf download hf://spaces/SamJoshua/agent-security-bench/ctt/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/SamJoshua/agent-security-bench/resolve/main/ctt/styles.css
6.7 kB
| :root { | |
| --bg: #f4efe6; | |
| --ink: #1c1917; | |
| --muted: #57534e; | |
| --line: #d6d0c4; | |
| --card: #fffaf2; | |
| --pass: #0f6b57; | |
| --pass-bg: #d9efe8; | |
| --crash: #9f1239; | |
| --crash-bg: #fde4ea; | |
| --clear: #9a4a00; | |
| --clear-bg: #f8e6c8; | |
| --double: #7c2d12; | |
| --double-bg: #f6ddd4; | |
| --raw: #6b21a8; | |
| --raw-bg: #f0e4f8; | |
| --accent: #1d4e4a; | |
| --shadow: 0 1px 0 rgba(28, 25, 23, 0.06); | |
| font-size: 16px; | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { margin: 0; padding: 0; } | |
| body { | |
| font-family: "IBM Plex Sans", "Source Sans 3", system-ui, sans-serif; | |
| background: var(--bg); | |
| color: var(--ink); | |
| line-height: 1.5; | |
| padding: 2rem 1.25rem 4rem; | |
| max-width: 1280px; | |
| margin: 0 auto; | |
| } | |
| h1, h2 { font-weight: 600; letter-spacing: -0.02em; } | |
| h1 { font-size: 1.85rem; margin: 0.15rem 0 0.6rem; line-height: 1.2; } | |
| h2 { font-size: 1.15rem; margin: 0 0 0.75rem; } | |
| a { color: var(--accent); } | |
| code, pre, .mono, .pill, .hash, .npass { | |
| font-family: "IBM Plex Mono", ui-monospace, monospace; | |
| } | |
| .kicker { | |
| font-family: "IBM Plex Mono", ui-monospace, monospace; | |
| font-size: 0.78rem; | |
| letter-spacing: 0.08em; | |
| text-transform: uppercase; | |
| color: var(--muted); | |
| margin: 0; | |
| } | |
| .lede { margin: 0; max-width: 44rem; color: var(--ink); } | |
| .meta { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.9rem; } | |
| header.site { | |
| border-bottom: 1px solid var(--line); | |
| padding-bottom: 1.25rem; | |
| margin-bottom: 1.25rem; | |
| } | |
| .caveat { | |
| background: #f8e6c8; | |
| border-left: 4px solid #9a4a00; | |
| padding: 0.85rem 1rem; | |
| margin: 0 0 1.25rem; | |
| font-size: 0.95rem; | |
| } | |
| .caveat code { font-size: 0.86em; } | |
| .stats { | |
| display: grid; | |
| grid-template-columns: repeat(4, 1fr); | |
| gap: 0.75rem; | |
| margin: 0 0 1.25rem; | |
| } | |
| .stat { | |
| background: var(--card); | |
| border: 1px solid var(--line); | |
| padding: 0.85rem 1rem 0.95rem; | |
| box-shadow: var(--shadow); | |
| } | |
| .stat b { | |
| display: block; | |
| font-family: "IBM Plex Mono", ui-monospace, monospace; | |
| font-size: 1.45rem; | |
| font-weight: 500; | |
| letter-spacing: -0.03em; | |
| line-height: 1.15; | |
| } | |
| .stat span { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 0.2rem; } | |
| .legend { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0.65rem 1.1rem; | |
| font-size: 0.85rem; | |
| color: var(--muted); | |
| margin: 0 0 1rem; | |
| } | |
| .legend span { display: inline-flex; align-items: center; gap: 0.35rem; } | |
| .pill { | |
| display: inline-block; | |
| font-style: normal; | |
| font-size: 0.72rem; | |
| font-weight: 500; | |
| letter-spacing: 0.01em; | |
| line-height: 1; | |
| padding: 0.22rem 0.38rem; | |
| border-radius: 2px; | |
| white-space: nowrap; | |
| } | |
| .pill.pass { background: var(--pass-bg); color: var(--pass); } | |
| .pill.crash { background: var(--crash-bg); color: var(--crash); } | |
| .pill.clear { background: var(--clear-bg); color: var(--clear); } | |
| .pill.double { background: var(--double-bg); color: var(--double); } | |
| .pill.raw { background: var(--raw-bg); color: var(--raw); } | |
| .pill.dropped { background: var(--crash-bg); color: var(--crash); } | |
| .pill.na { background: #ece8e1; color: var(--muted); } | |
| .controls { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0.75rem 1.25rem; | |
| align-items: center; | |
| margin: 0 0 0.7rem; | |
| } | |
| .search input { | |
| font: inherit; | |
| padding: 0.4rem 0.6rem; | |
| border: 1px solid var(--line); | |
| background: var(--card); | |
| color: var(--ink); | |
| min-width: 16rem; | |
| } | |
| .search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; } | |
| .check { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; } | |
| .showing { margin: 0; margin-left: auto; font-size: 0.85rem; color: var(--muted); } | |
| .table-wrap { | |
| overflow-x: auto; | |
| border: 1px solid var(--line); | |
| background: var(--card); | |
| box-shadow: var(--shadow); | |
| } | |
| table { border-collapse: collapse; width: 100%; min-width: 980px; font-size: 0.86rem; } | |
| th, td { padding: 0.42rem 0.5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; } | |
| th { | |
| font-weight: 500; | |
| font-size: 0.72rem; | |
| letter-spacing: 0.02em; | |
| text-transform: uppercase; | |
| color: var(--muted); | |
| background: #efe9dd; | |
| position: sticky; | |
| top: 0; | |
| z-index: 1; | |
| cursor: pointer; | |
| user-select: none; | |
| white-space: nowrap; | |
| } | |
| th.sort-asc::after { content: " ↑"; } | |
| th.sort-desc::after { content: " ↓"; } | |
| th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; } | |
| td.repo { font-weight: 500; white-space: nowrap; } | |
| td.repo a { color: inherit; text-decoration: none; } | |
| td.repo a:hover { color: var(--accent); text-decoration: underline; } | |
| td.cell { text-align: center; } | |
| .hash { color: var(--muted); font-size: 0.78rem; } | |
| .npass { font-weight: 500; } | |
| tr.row { cursor: pointer; } | |
| tr.row:hover td { background: #f7f1e6; } | |
| tr.row.is-open td { background: #efe9dd; } | |
| tr.detail td { | |
| background: #fbf7ef; | |
| border-bottom: 1px solid var(--line); | |
| padding: 0.85rem 1rem 1rem; | |
| } | |
| tr.detail pre { | |
| margin: 0.35rem 0 0.8rem; | |
| padding: 0.6rem 0.7rem; | |
| background: #1c1917; | |
| color: #f5f0e8; | |
| overflow-x: auto; | |
| font-size: 0.78rem; | |
| line-height: 1.45; | |
| } | |
| .detail-grid { display: grid; gap: 0.85rem; } | |
| .detail-case h3 { margin: 0 0 0.2rem; font-size: 0.9rem; display: flex; gap: 0.5rem; align-items: center; } | |
| .detail-case p { margin: 0; color: var(--muted); font-size: 0.85rem; } | |
| .hint { color: var(--muted); font-size: 0.82rem; margin: 0.45rem 0 0; } | |
| .cases, .repro, .method { margin-top: 2.25rem; } | |
| .case-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 0.65rem; | |
| } | |
| .case-card { | |
| border: 1px solid var(--line); | |
| background: var(--card); | |
| padding: 0.75rem 0.85rem; | |
| } | |
| .case-card h3 { margin: 0 0 0.25rem; font-size: 0.92rem; } | |
| .case-card p { margin: 0; font-size: 0.85rem; color: var(--muted); } | |
| .case-id { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--accent); font-size: 0.78rem; margin-right: 0.35rem; } | |
| .repro pre, .pre-wrap pre { | |
| background: #1c1917; | |
| color: #f5f0e8; | |
| padding: 0.9rem 1rem; | |
| overflow-x: auto; | |
| font-size: 0.8rem; | |
| line-height: 1.45; | |
| margin: 0.5rem 0 1rem; | |
| } | |
| .pre-wrap { position: relative; } | |
| .copy { | |
| position: absolute; | |
| top: 0.45rem; | |
| right: 0.45rem; | |
| font: inherit; | |
| font-size: 0.75rem; | |
| font-family: "IBM Plex Mono", ui-monospace, monospace; | |
| background: #3f3a35; | |
| color: #f5f0e8; | |
| border: 0; | |
| padding: 0.25rem 0.5rem; | |
| cursor: pointer; | |
| } | |
| .copy:hover { background: #57534e; } | |
| footer { | |
| margin-top: 2.5rem; | |
| padding-top: 1rem; | |
| border-top: 1px solid var(--line); | |
| color: var(--muted); | |
| font-size: 0.88rem; | |
| } | |
| .sr { | |
| position: absolute; | |
| width: 1px; height: 1px; | |
| overflow: hidden; | |
| clip: rect(0 0 0 0); | |
| } | |
| @media (max-width: 800px) { | |
| .stats { grid-template-columns: 1fr 1fr; } | |
| .case-grid { grid-template-columns: 1fr; } | |
| .search input { min-width: 12rem; } | |
| .showing { margin-left: 0; } | |
| h1 { font-size: 1.5rem; } | |
| } | |