Download style.css from Amadou98/crossner-extractor-comparison: direct link, hf CLI and curl.
- Browser
- Download file 11.7 kB
-
https://huggingface.co/spaces/Amadou98/crossner-extractor-comparison/resolve/main/style.css
- Command line
-
hf download hf://spaces/Amadou98/crossner-extractor-comparison/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Amadou98/crossner-extractor-comparison/resolve/main/style.css
11.7 kB
| /* Consistent interface typography. Shared colors retain accessible text contrast. */ | |
| :root { | |
| color-scheme: light; | |
| --ink: #111827; | |
| --muted: #4b5563; | |
| --link: #0369a1; | |
| --line: #e5e7eb; | |
| --paper: #ffffff; | |
| --canvas: #f9fafb; | |
| --stripe: #f5f5f5; | |
| --hover: #eef2f7; | |
| --badge-ink: #724206; | |
| --badge-bg: #fff0cd; | |
| --badge-line: #e6d4aa; | |
| } | |
| * { box-sizing: border-box; } | |
| [hidden] { display: none ; } | |
| html { scroll-behavior: auto; } | |
| body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; } | |
| main { max-width: 1184px; margin: auto; padding: 48px 36px 32px; } | |
| a { color: var(--link); text-underline-offset: 4px; text-decoration-thickness: 1px; } | |
| a:hover { text-decoration-thickness: 2px; } | |
| a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; } | |
| .skip { position: absolute; left: 16px; top: -100px; background: var(--paper); padding: 12px; z-index: 2; } | |
| .skip:focus { top: 10px; } | |
| main > header { padding-bottom: 8px; } | |
| .eyebrow { margin: 0; color: var(--muted); font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; } | |
| h1 { margin: 16px 0 12px; font: 600 clamp(1.95rem, 3.6vw, 3.1rem)/1.16 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.035em; } | |
| h2 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; } | |
| h3 { margin: 0; } | |
| .intro { margin: 0 0 18px; color: var(--muted); font-size: 1.02rem; } | |
| .scope { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 500; } | |
| .muted, .sub, .scroll-note { color: var(--muted); } | |
| .muted { font-size: .85rem; } | |
| .sub { display: block; margin-top: 6px; font-size: .74rem; font-weight: 400; line-height: 1.55; } | |
| .tabs { display: flex; gap: 28px; max-width: 100%; margin: 24px 0 28px; padding: 0; border-bottom: 1px solid var(--line); } | |
| .tabs a { padding: 10px 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: none; } | |
| .tabs a:hover { color: var(--ink); } | |
| .tabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--link); } | |
| section { margin-bottom: 34px; } | |
| .section-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; } | |
| .result-unit { margin-left: auto; color: var(--muted); font-size: .8rem; } | |
| #results > p:not(.scroll-note), #evidence > p { margin: 0 0 20px; color: var(--muted); font-size: .85rem; } | |
| .status { display: inline-block; padding: 3px 8px; border: 1px solid var(--badge-line); border-radius: 4px; color: var(--badge-ink); background: var(--badge-bg); font-size: .68rem; font-weight: 650; white-space: nowrap; } | |
| .table-scroll { overflow-x: auto; max-width: 100%; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); } | |
| table { width: 100%; min-width: 1010px; border-collapse: collapse; table-layout: fixed; text-align: right; font-variant-numeric: tabular-nums; } | |
| .system-col { width: 260px; } | |
| .mean-col { width: 90px; } | |
| .domain-col { width: 105px; } | |
| .status-col { width: 135px; } | |
| th, td { padding: 8px 16px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); white-space: nowrap; } | |
| thead th { padding-top: 14px; padding-bottom: 14px; border-top: 0; background: var(--paper); color: var(--muted); font-size: .82rem; font-weight: 600; } | |
| th:first-child { padding-left: 22px; text-align: left; } | |
| tbody th { overflow-wrap: anywhere; white-space: normal; font-size: .875rem; font-weight: 600; } | |
| tbody th a { text-decoration: none; } | |
| tbody th a:hover { text-decoration: underline; } | |
| td { font-size: .88rem; } | |
| .mean { font-weight: 700; } | |
| tbody tr:hover th, tbody tr:hover td { background: var(--hover); } | |
| .scroll-note { margin: -16px 0 24px; font-size: .75rem; } | |
| .interpretation { padding: 22px 0 0; border-top: 1px solid var(--line); } | |
| .interpretation .eyebrow { margin-bottom: 5px; } | |
| .interpretation h3 { margin-bottom: 22px; font: 600 1.3rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.015em; } | |
| dl { margin: 0; } | |
| dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); } | |
| dt { font-size: .8rem; font-weight: 650; } | |
| dd { margin: 0; overflow-wrap: anywhere; font-size: .82rem; } | |
| .methodology { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } | |
| .methodology > div { display: block; padding-top: 14px; } | |
| .methodology dt { margin-bottom: 9px; } | |
| .methodology dd { color: var(--muted); font-size: .82rem; line-height: 1.8; } | |
| .contender { margin: 18px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); } | |
| .contender-header { padding: 20px 24px 16px; } | |
| .contender h3 { font: 600 1.5rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.025em; } | |
| .contender-header > p { max-width: 880px; margin: 10px 0; font-size: .9rem; } | |
| .contender .reference { margin-bottom: 12px; padding-left: 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: .79rem; line-height: 1.8; } | |
| .contender .reference a { text-decoration: none; } | |
| .contender .reference a:hover { text-decoration: underline; } | |
| .contender .release { margin-bottom: 0; color: var(--muted); font-size: .76rem; } | |
| .contender .release a { color: var(--muted); text-decoration-color: var(--line); } | |
| details { scroll-margin-top: 20px; } | |
| .contender details { border-top: 1px solid var(--line); } | |
| summary { padding: 10px 20px; color: var(--link); background: var(--paper); cursor: pointer; font-size: .8rem; font-weight: 600; } | |
| summary:hover { text-decoration: underline; text-underline-offset: 3px; } | |
| summary span { float: right; color: var(--muted); font-size: .75rem; font-weight: 400; } | |
| .detail-body { padding: 0 24px 20px; } | |
| .detail-body > p { margin: 18px 0; font-size: .85rem; } | |
| #reproduce > p { max-width: 880px; font-size: .9rem; } | |
| #reproduce > section { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); } | |
| #reproduce > section p { max-width: 880px; font-size: .85rem; } | |
| .downloads { display: grid; gap: 9px; margin: 20px 0; padding: 0; list-style: none; } | |
| .downloads a { display: inline-flex; align-items: center; gap: 9px; padding: 2px 0; font-size: .85rem; text-decoration: none; } | |
| .download-icon { width: 16px; height: 16px; flex: 0 0 16px; } | |
| .downloads a:hover { text-decoration: underline; } | |
| code { overflow-wrap: anywhere; font-size: .85em; } | |
| footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; } | |
| footer p { margin: 6px 0; } | |
| @media (min-width: 1100px) { .scroll-note { display: none; } } | |
| @media (max-width: 800px) { .methodology { grid-template-columns: 1fr; gap: 16px; } } | |
| @media (max-width: 600px) { | |
| main { padding: 26px 18px; } | |
| h1 { margin-top: 14px; } | |
| .scope { font-size: .72rem; } | |
| .tabs { width: 100%; gap: 22px; margin: 22px 0 24px; } | |
| .tabs a { padding: 9px 0; font-size: .78rem; } | |
| table { width: 920px; min-width: 920px; } | |
| .system-col { width: 170px; } | |
| th:first-child { padding-left: 16px; } | |
| th, td { padding-top: 9px; padding-bottom: 9px; } | |
| .interpretation { padding-top: 18px; } | |
| .interpretation h3 { font-size: 1.15rem; } | |
| .section-heading { gap: 8px; margin-bottom: 8px; } | |
| .contender-header { padding: 18px 16px 14px; } | |
| .contender h3 { font-size: 1.35rem; } | |
| summary { padding: 9px 16px; } | |
| summary span { float: none; display: block; margin: 4px 0 0 15px; } | |
| .detail-body { padding: 0 16px 16px; } | |
| dl > div { grid-template-columns: 1fr; gap: 4px; } | |
| .downloads { grid-template-columns: 1fr; } | |
| } | |
| /* Host query compatibility and native OS preference, without parent-page access. */ | |
| :root[data-theme="dark"] { | |
| color-scheme: dark; | |
| --ink: #f3f4f6; | |
| --muted: #c2c9d3; | |
| --link: #7dd3fc; | |
| --line: #374151; | |
| --paper: #111827; | |
| --canvas: #0b111c; | |
| --stripe: #192230; | |
| --hover: #253449; | |
| --badge-ink: #fde68a; | |
| --badge-bg: #382b16; | |
| --badge-line: #765b23; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root:not([data-theme="light"]) { | |
| color-scheme: dark; | |
| --ink: #f3f4f6; | |
| --muted: #c2c9d3; | |
| --link: #7dd3fc; | |
| --line: #374151; | |
| --paper: #111827; | |
| --canvas: #0b111c; | |
| --stripe: #192230; | |
| --hover: #253449; | |
| --badge-ink: #fde68a; | |
| --badge-bg: #382b16; | |
| --badge-line: #765b23; | |
| } | |
| } | |
| tbody tr:nth-child(odd) { background: var(--stripe); } | |
| th:last-child, td:last-child { border-right: 0; } | |
| .header-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; } | |
| .theme-control { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .75rem; } | |
| .theme-control select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--paper); font: inherit; } | |
| select:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; } | |
| /* Compact provisional ranks and decorative reference-style score fills. */ | |
| .rank-col { width: 80px; } | |
| table { min-width: 1090px; } | |
| .rank { text-align: center; color: var(--muted); font-size: .8rem; } | |
| tbody th { text-align: left; padding-left: 16px; } | |
| .column-label { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; } | |
| .column-info { display: inline-grid; place-items: center; width: 14px; height: 14px; padding: 0; border: 1px solid currentColor; border-radius: 50%; color: var(--muted); background: transparent; font: 600 9px/1 system-ui; cursor: pointer; } | |
| .column-info:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; } | |
| .column-info:hover, .column-info[aria-expanded="true"] { color: var(--link); } | |
| .column-help { margin: 0 0 14px; padding: 10px 0; color: var(--ink); font-size: .82rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } | |
| .metric { position: relative; font-weight: 400; } | |
| .metric-bar { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .19; pointer-events: none; } | |
| .score-value { position: relative; z-index: 1; } | |
| .percent { margin-left: 2px; color: var(--muted); font-size: .8em; font-weight: 400; } | |
| .metric strong { font-weight: 750; } | |
| @media (max-width: 600px) { | |
| table { width: 940px; min-width: 940px; } | |
| .rank-col { width: 56px; } | |
| .system-col { width: 128px; } | |
| .mean-col { width: 90px; } | |
| .rank { padding-left: 6px; padding-right: 6px; } | |
| .column-label { gap: 3px; } | |
| } | |
| @media(max-width:600px){thead th:first-child{padding-left:6px;padding-right:6px}.column-label{white-space:normal}thead th{font-size:.72rem}} | |
| thead th:nth-child(2) { text-align: left; } | |
| /* Keep row identity and provenance separate; metadata no longer adds a second line. */ | |
| table { min-width: 1260px; } | |
| .system-col { width: 180px; } | |
| .configuration-col { width: 260px; } | |
| tbody th { white-space: nowrap; font-size: .82rem; padding-left: 12px; padding-right: 12px; } | |
| .configuration { white-space: nowrap; color: var(--muted); font-size: .75rem; text-align: left; } | |
| thead th:nth-child(3) { text-align: left; } | |
| @media (max-width: 600px) { | |
| table { width: 1200px; min-width: 1200px; } | |
| .system-col { width: 128px; } | |
| } | |
| @media(min-width:1280px){main{max-width:1344px}} | |
| /* Align metric labels, percentages and values to the same leading edge. */ | |
| thead th:nth-child(n+4):nth-child(-n+9), td.metric { text-align: left; } | |
| thead th:nth-child(n+4):nth-child(-n+9) .column-label { justify-content: flex-start; } | |