Spaces:
Running
Running
Download style.css from model-guard/web-check: direct link, hf CLI and curl.
- Browser
- Download file 7.51 kB
-
https://huggingface.co/spaces/model-guard/web-check/resolve/main/style.css
- Command line
-
hf download hf://spaces/model-guard/web-check/style.css
-
curl -L -o style.css https://huggingface.co/spaces/model-guard/web-check/resolve/main/style.css
7.51 kB
| :root { | |
| --bg:#ffffff; --fg:#1b1f24; --muted:#555f6b; --card:#f6f8fa; --line:#d0d7de; --accent:#0a5cc2; --accent-fg:#fff; --focus:#0a5cc2; | |
| --low:#1a7f37; --med:#8a5a00; --high:#b3470b; --crit:#c21f1f; --fp:#0a5cc2; --tr:#1a7f37; --pv:#8a5a00; --uv:#c21f1f; --info:#555f6b; | |
| --warnbg:#fff8e6; --warnline:#d4a72c; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { --bg:#0f1115; --fg:#e6e6e6; --muted:#a8b1bb; --card:#171a21; --line:#2f3542; --accent:#6cb0ff; --accent-fg:#0b1220; --focus:#9ccaff; | |
| --low:#4cc26a; --med:#e0b341; --high:#f08a4b; --crit:#ff6b6b; --fp:#6cb0ff; --tr:#4cc26a; --pv:#e0b341; --uv:#ff6b6b; --info:#a8b1bb; | |
| --warnbg:#231f12; --warnline:#8a6d1f; } | |
| } | |
| * { box-sizing:border-box; } | |
| html { -webkit-text-size-adjust:100%; } | |
| body { margin:0; background:var(--bg); color:var(--fg); font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; } | |
| header, main, footer { max-width:1040px; margin:0 auto; padding:0 16px; } | |
| header { padding-top:20px; } | |
| h1 { margin:0 0 4px; font-size:28px; line-height:1.2; } | |
| h2 { font-size:20px; margin:24px 0 10px; line-height:1.3; overflow-wrap:anywhere; } | |
| h3 { font-size:16px; margin:0 0 6px; } | |
| a { color:var(--accent); text-underline-offset:2px; } | |
| code { font:0.9em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; } | |
| :focus-visible { outline:3px solid var(--focus); outline-offset:2px; border-radius:4px; } | |
| .skip { position:absolute; left:-9999px; top:0; background:var(--accent); color:var(--accent-fg); padding:8px 12px; z-index:10; } | |
| .skip:focus { left:8px; top:8px; } | |
| .tag { margin:0 0 12px; color:var(--muted); } | |
| .muted { color:var(--muted); } .small { font-size:14px; } | |
| .disclaimer { background:var(--warnbg); border:1px solid var(--warnline); border-left-width:4px; padding:10px 14px; border-radius:8px; margin:0 0 18px; font-size:15px; } | |
| .disclaimer p { margin:0; } | |
| .fields { display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; } | |
| .field { display:flex; flex-direction:column; gap:4px; } | |
| .field.grow { flex:1 1 320px; } .field.rev { flex:0 1 190px; } | |
| label { font-weight:600; font-size:15px; } .opt { font-weight:400; color:var(--muted); } | |
| input { width:100%; min-height:44px; padding:9px 11px; border-radius:8px; border:1px solid var(--line); background:var(--bg); color:var(--fg); font:inherit; } | |
| input::placeholder { color:var(--muted); opacity:.85; } | |
| button { min-height:44px; padding:9px 18px; border-radius:8px; border:1px solid var(--accent); background:var(--accent); color:var(--accent-fg); font:inherit; font-weight:600; cursor:pointer; } | |
| button.secondary { background:transparent; color:var(--accent); min-height:38px; padding:6px 12px; font-size:14px; } | |
| button:disabled { opacity:.6; cursor:progress; } | |
| .hint { font-size:14px; color:var(--muted); margin:8px 0 4px; } | |
| .examples { font-size:14px; color:var(--muted); display:flex; flex-wrap:wrap; gap:6px 14px; align-items:baseline; margin:4px 0 0; } | |
| .examples a { overflow-wrap:anywhere; } | |
| .statusline { min-height:2.2em; margin-top:10px; } | |
| progress { width:100%; height:6px; accent-color:var(--accent); display:block; } | |
| progress[hidden] { display:none; } | |
| #status { color:var(--muted); margin:6px 0; overflow-wrap:anywhere; } | |
| #status[data-kind="error"] { color:var(--crit); font-weight:600; } | |
| .card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:12px 14px; } | |
| .result-head { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; justify-content:space-between; } | |
| .result-head h2 { margin:16px 0 8px; } | |
| .revsha { font:14px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color:var(--muted); font-weight:400; } | |
| .share { display:flex; flex-wrap:wrap; gap:6px; align-items:center; } | |
| .linkbox { position:absolute; left:-9999px; width:1px; min-height:0; } | |
| .copymsg { font-size:14px; color:var(--muted); } | |
| .signals { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:10px; margin:8px 0 14px; } | |
| .signal { background:var(--card); border:1px solid var(--line); border-top:6px solid var(--info); border-radius:10px; padding:10px 12px; display:flex; flex-direction:column; gap:2px; } | |
| .signal .label { font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:600; } | |
| .signal .value { font-size:22px; font-weight:700; line-height:1.2; } | |
| .signal .score { font-size:14px; color:var(--muted); } | |
| .signal .sigtext { font-size:14px; margin-top:4px; } | |
| .lvl-low { border-top-color:var(--low); } .lvl-medium { border-top-color:var(--med); } .lvl-high { border-top-color:var(--high); } .lvl-critical { border-top-color:var(--crit); } | |
| .lvl-first-party { border-top-color:var(--fp); } .lvl-traceable { border-top-color:var(--tr); } .lvl-partly-verifiable { border-top-color:var(--pv); } .lvl-unverifiable { border-top-color:var(--uv); } | |
| .lvl-low .value { color:var(--low); } .lvl-medium .value { color:var(--med); } .lvl-high .value { color:var(--high); } .lvl-critical .value { color:var(--crit); } | |
| .signal.review { border-top-color:var(--accent); } | |
| .factsbox summary, details.raw summary { cursor:pointer; font-weight:600; color:var(--accent); min-height:32px; } | |
| dl.facts { display:grid; grid-template-columns:max-content 1fr; gap:4px 14px; margin:8px 0 0; font-size:14px; } | |
| dl.facts dt { font-weight:600; color:var(--muted); } | |
| dl.facts dd { margin:0; overflow-wrap:anywhere; } | |
| section.findings { margin-top:18px; } | |
| section.findings h3 { font-size:17px; margin:0; } .count { color:var(--muted); font-weight:400; } | |
| section.findings > p.small { margin:2px 0 8px; } | |
| .none { margin:4px 0; color:var(--muted); } | |
| .flist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; } | |
| .finding { background:var(--card); border:1px solid var(--line); border-left:5px solid var(--info); border-radius:8px; padding:9px 12px; } | |
| .cat-risk .finding { border-left-color:var(--crit); } .cat-provenance .finding { border-left-color:var(--pv); } .cat-review .finding { border-left-color:var(--accent); } | |
| .ftitle { display:flex; gap:8px; align-items:baseline; flex-wrap:wrap; } | |
| .pts { font-weight:700; font-size:13px; padding:1px 7px; border-radius:999px; border:1px solid currentColor; } | |
| .cat-risk .pts { color:var(--crit); } .cat-provenance .pts { color:var(--pv); } | |
| .why { margin:4px 0 0; font-size:15px; } | |
| .detail { margin:4px 0 0; font-size:13.5px; color:var(--muted); overflow-wrap:anywhere; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; } | |
| .notscanned { margin-top:12px; } .notscanned h2 { margin-top:0; } | |
| pre.json { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:10px; overflow:auto; max-height:480px; font:12.5px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; } | |
| .advice, .meta { color:var(--muted); font-size:14px; } | |
| .advice strong { color:var(--fg); } | |
| .cards3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:10px; } | |
| .cards3 p { margin:0; font-size:15px; } | |
| .empty[hidden] { display:none; } | |
| .about { border-top:1px solid var(--line); margin-top:30px; } | |
| .about li { margin-bottom:6px; } | |
| .privacy { font-size:14px; color:var(--muted); } | |
| footer { color:var(--muted); font-size:14px; padding:24px 16px 32px; } | |
| @media (max-width:520px) { | |
| h1 { font-size:24px; } | |
| .field.rev { flex:1 1 100%; } | |
| button[type=submit] { width:100%; } | |
| dl.facts { grid-template-columns:1fr; } dl.facts dt { margin-top:6px; } | |
| .signal .value { font-size:20px; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto ; } } | |
| [tabindex="-1"]:focus { outline:none; } | |