Download style.css from wattness/inverter-interface-reports: direct link, hf CLI and curl.
- Browser
- Download file 11.9 kB
-
https://huggingface.co/spaces/wattness/inverter-interface-reports/resolve/main/style.css
- Command line
-
hf download hf://spaces/wattness/inverter-interface-reports/style.css
-
curl -L -o style.css https://huggingface.co/spaces/wattness/inverter-interface-reports/resolve/main/style.css
11.9 kB
| :root { | |
| color-scheme: light dark; | |
| --bg: #fff; | |
| --fg: #202a30; | |
| --muted: #59676f; | |
| --surface: #f5f8f7; | |
| --border: #d7e0dd; | |
| --accent: #13795d; | |
| --accent-bg: #edf7f3; | |
| --bad: #a6293a; | |
| --bad-bg: #fff0f1; | |
| --button-fg: #fff; | |
| --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| --bg: #101719; | |
| --fg: #e1e9e7; | |
| --muted: #9baaa6; | |
| --surface: #182224; | |
| --border: #31413d; | |
| --accent: #2ec7a6; | |
| --accent-bg: #142d28; | |
| --bad: #ffa1ad; | |
| --bad-bg: #362026; | |
| --button-fg: #10231d; | |
| } | |
| } | |
| * { box-sizing: border-box; } | |
| body { margin: 0; color: var(--fg); background: var(--bg); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; } | |
| [hidden] { display: none ; } | |
| .wrap { max-width: 1160px; margin: 0 auto; padding: 30px 30px 24px; } | |
| a { color: var(--accent); text-underline-offset: 3px; } | |
| button, select, textarea { font: inherit; } | |
| button, select { cursor: pointer; } | |
| button, select, textarea { color: var(--fg); } | |
| button:disabled { opacity: .5; cursor: default; } | |
| :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; } | |
| button, a { -webkit-tap-highlight-color: transparent; } | |
| h1, h2, h3, h4, p { margin: 0; } | |
| h1 { margin-top: 35px; font-size: clamp(28px, 3.7vw, 42px); line-height: 1.2; font-weight: 620; letter-spacing: -.035em; } | |
| h2 { font-size: 20px; line-height: 1.4; font-weight: 620; letter-spacing: -.015em; } | |
| h3 { font-size: 17px; font-weight: 620; } | |
| h4 { font-size: 14px; font-weight: 650; } | |
| p + p { margin-top: 7px; } | |
| .intro { margin-top: 14px; max-width: 720px; font-size: 16px; color: var(--muted); } | |
| .masthead { display: flex; align-items: center; gap: 20px; min-height: 30px; } | |
| .brand { color: var(--fg); font-weight: 750; font-size: 20px; letter-spacing: -.04em; text-decoration: none; } | |
| .brand::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--accent); margin-right: 9px; border-radius: 2px; } | |
| .edition { color: var(--muted); font-size: 12px; } | |
| .source-link { margin-left: auto; font-size: 13px; } | |
| .tabs { display: flex; gap: 4px; margin: 32px 0 26px; border-bottom: 1px solid var(--border); } | |
| .tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; padding: 12px 17px; color: var(--muted); font-size: 14px; white-space: nowrap; } | |
| .tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 650; } | |
| .tabs button:first-child { padding-left: 0; padding-right: 20px; } | |
| .toolbar, .table-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; } | |
| .toolbar { margin-bottom: 20px; } | |
| .table-toolbar { margin: 23px 0 12px; } | |
| .select-label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); } | |
| select { border: 1px solid var(--border); background: var(--bg); padding: 6px 30px 6px 9px; border-radius: 5px; min-height: 36px; font-size: 13px; } | |
| .inline-label { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); } | |
| .muted { color: var(--muted); } | |
| .small { font-size: 12px; } | |
| .eyebrow { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .035em; text-transform: uppercase; } | |
| .metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; margin-bottom: 20px; } | |
| .metrics > div { display: grid; gap: 2px; padding: 17px 22px; } | |
| .metrics > div + div { border-left: 1px solid var(--border); } | |
| .metrics strong { font-size: 29px; line-height: 1.25; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.03em; } | |
| .metrics span { color: var(--muted); font-size: 12px; } | |
| .finding { background: var(--surface); border-left: 3px solid var(--accent); padding: 14px 18px; } | |
| .finding > p:first-of-type { margin-top: 4px; max-width: 850px; } | |
| .table-wrap { border: 1px solid var(--border); border-radius: 7px; overflow: hidden; } | |
| table { width: 100%; border-collapse: collapse; text-align: left; } | |
| th { padding: 10px 16px; color: var(--muted); font-size: 11px; font-weight: 650; background: var(--surface); } | |
| td { padding: 13px 16px; border-top: 1px solid var(--border); vertical-align: middle; font-size: 13px; } | |
| td:first-child { width: 38%; } | |
| td .secondary { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; } | |
| tr.selected { background: var(--accent-bg); } | |
| .case-button { background: transparent; border: 0; color: var(--fg); text-align: left; padding: 0; font-weight: 600; font-size: 13px; } | |
| .case-button:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; } | |
| .status { display: inline-block; border-radius: 4px; padding: 3px 7px; line-height: 1.4; font-size: 11px; white-space: nowrap; background: var(--surface); color: var(--muted); } | |
| .status.good { color: var(--accent); background: var(--accent-bg); } | |
| .status.bad { color: var(--bad); background: var(--bad-bg); } | |
| .observation { font-size: 11px; color: var(--muted); } | |
| .observation.changed { color: var(--accent); font-weight: 600; } | |
| .detail { margin-top: 16px; padding: 17px 18px; border: 1px solid var(--border); border-radius: 7px; } | |
| .detail .toolbar { margin-bottom: 10px; } | |
| .detail-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 16px; } | |
| .detail-column h4 { margin-bottom: 9px; } | |
| .call { border-top: 1px solid var(--border); padding: 10px 0; } | |
| .call-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; } | |
| .call p, .call li { font-size: 12px; } | |
| .check-list { padding-left: 17px; margin: 7px 0; } | |
| .check-list li { margin: 3px 0; color: var(--bad); } | |
| .diagnostic { margin-top: 8px; padding: 8px 10px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface); border-radius: 4px; font: 11px/1.6 var(--mono); } | |
| .provenance { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 22px 0 9px; } | |
| .provenance p { font-size: 12px; margin-top: 4px; } | |
| .separator { padding: 0 8px; color: var(--muted); } | |
| .download-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; } | |
| .button { display: inline-block; padding: 7px 11px; border: 1px solid var(--border); border-radius: 5px; background: var(--bg); color: var(--fg); text-decoration: none; font-size: 12px; line-height: 1.5; font-weight: 550; } | |
| .button:hover { background: var(--surface); } | |
| .button.primary { background: var(--accent); color: var(--button-fg); border-color: var(--accent); padding: 9px 16px; } | |
| .button.primary:hover { filter: brightness(.94); } | |
| .text-button { border: 0; padding: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 3px; } | |
| .notice, .error-box { margin: 14px 0; padding: 12px 15px; border-radius: 5px; background: var(--surface); color: var(--muted); font-size: 13px; overflow-wrap: anywhere; } | |
| .error-box { color: var(--bad); background: var(--bad-bg); border: 1px solid var(--bad); } | |
| details { margin-top: 20px; } | |
| summary { cursor: pointer; font-size: 13px; color: var(--muted); padding: 7px 0; } | |
| details[open] summary { color: var(--fg); } | |
| .metadata-block { padding-top: 8px; } | |
| .metadata-block > div { margin-top: 10px; } | |
| .metadata-block h4 { margin: 17px 0 8px; } | |
| .metadata-block table { border: 1px solid var(--border); } | |
| .metadata-block td:first-child { width: auto; } | |
| .identity-grid { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 6px 12px; margin: 12px 0; font-size: 12px; } | |
| .identity-grid dt { color: var(--muted); } | |
| .identity-grid dd { margin: 0; overflow-wrap: anywhere; } | |
| code { font-family: var(--mono); font-size: .93em; overflow-wrap: anywhere; } | |
| .hash-line { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 12px; font-size: 11px; color: var(--muted); margin-top: 12px; } | |
| .hash-line code { overflow-wrap: anywhere; } | |
| .drop-zone { text-align: center; padding: 25px 18px; margin: 22px 0 16px; border: 1px dashed var(--border); border-radius: 7px; background: var(--surface); } | |
| .drop-zone.over { border-color: var(--accent); background: var(--accent-bg); } | |
| .drop-zone > p:first-child { font-size: 15px; margin-bottom: 12px; } | |
| .drop-zone > p:last-child { margin-top: 10px; } | |
| .file-input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; } | |
| .drop-zone:focus-within .file-label { outline: 2px solid var(--accent); outline-offset: 3px; } | |
| textarea { display: block; width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 5px; padding: 10px; margin: 8px 0 10px; resize: vertical; font: 12px/1.5 var(--mono); } | |
| .report-heading { margin-top: 24px; } | |
| .report-heading h3 { margin: 4px 0; overflow-wrap: anywhere; } | |
| .report-heading .status { margin-top: 4px; } | |
| .local-download { margin: 23px 0 30px; padding: 20px; border: 1px solid var(--border); border-radius: 7px; } | |
| .local-download p { margin-top: 8px; } | |
| pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.75 var(--mono); background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 16px; margin: 16px 0 10px; } | |
| #copy-status { min-height: 20px; margin: 8px 0; } | |
| .method { border-top: 1px solid var(--border); margin-top: 27px; padding-top: 20px; } | |
| .method ul { padding-left: 20px; font-size: 13px; } | |
| .method li { margin: 5px 0; } | |
| footer { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding-top: 20px; margin-top: 34px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; } | |
| footer p + p { margin: 0; } | |
| .skip, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } | |
| .skip:focus { clip-path: none; width: auto; height: auto; margin: 0; padding: 8px 12px; background: var(--bg); z-index: 10; } | |
| @media (max-width: 650px) { | |
| .wrap { padding: 20px 16px; } | |
| .edition { display: none; } | |
| h1 { margin-top: 27px; } | |
| .intro { font-size: 14px; } | |
| .tabs { margin-top: 24px; gap: 0; justify-content: space-between; } | |
| .tabs button { font-size: 12px; padding: 10px 8px; } | |
| .tabs button:first-child { padding-right: 8px; } | |
| .toolbar { align-items: flex-start; flex-wrap: wrap; gap: 12px; } | |
| .toolbar .select-label { width: 100%; } | |
| .toolbar select { width: 100%; } | |
| h2 { font-size: 18px; } | |
| .metrics > div { padding: 13px 11px; } | |
| .metrics strong { font-size: 25px; } | |
| .metrics span { font-size: 10px; line-height: 1.4; max-width: 92px; } | |
| .finding { padding: 13px 14px; font-size: 13px; } | |
| .table-toolbar { flex-wrap: wrap; gap: 8px; } | |
| .table-toolbar > p { width: 100%; } | |
| #comparison-table thead, #report-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } | |
| #comparison-table tr, #report-table tr { display: block; padding: 12px 13px; border-top: 1px solid var(--border); } | |
| #comparison-table tr:first-child, #report-table tr:first-child { border-top: 0; } | |
| #comparison-table td, #report-table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 4px 0; border: 0; } | |
| #comparison-table td:first-child, #report-table td:first-child { display: block; padding-bottom: 9px; } | |
| #comparison-table td:not(:first-child)::before, #report-table td:not(:first-child)::before { content: attr(data-label); color: var(--muted); font-size: 11px; } | |
| .detail-columns { grid-template-columns: minmax(0, 1fr); gap: 10px; } | |
| .provenance { flex-wrap: wrap; gap: 12px; } | |
| .metadata-block .table-wrap { overflow: auto; } | |
| .metadata-block table { min-width: 470px; } | |
| .identity-grid { grid-template-columns: 110px minmax(0, 1fr); } | |
| footer { flex-direction: column; gap: 8px; margin-top: 26px; } | |
| } | |
| @media (prefers-reduced-motion: no-preference) { | |
| a, button { transition: color 100ms, background-color 100ms; } | |
| } | |