Download style.css from adarsh108/defectgen: direct link, hf CLI and curl.
- Browser
- Download file 4.15 kB
-
https://huggingface.co/spaces/adarsh108/defectgen/resolve/main/style.css
- Command line
-
hf download hf://spaces/adarsh108/defectgen/style.css
-
curl -L -o style.css https://huggingface.co/spaces/adarsh108/defectgen/resolve/main/style.css
4.15 kB
| :root { | |
| --ink: #191919; | |
| --ink-2: #5c5c5c; | |
| --line: #e4e4e4; | |
| --surface: #ffffff; | |
| --surface-2: #f6f5f2; | |
| --accent: #00967a; | |
| --accent-ink: #005e49; | |
| font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; | |
| color: var(--ink); | |
| background: var(--surface); | |
| line-height: 1.55; | |
| } | |
| * { box-sizing: border-box; } | |
| body { margin: 0; } | |
| a { color: var(--accent-ink); } | |
| .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; } | |
| .hero { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 28px 0 20px; } | |
| .eyebrow { margin: 0; color: var(--ink-2); font-size: 0.85rem; letter-spacing: 0.02em; } | |
| h1 { margin: 4px 0 8px; font-size: 2.4rem; letter-spacing: -0.02em; } | |
| .lede { max-width: 760px; margin: 0 0 16px; font-size: 1.05rem; } | |
| .headline { | |
| max-width: 860px; margin: 0 0 16px; padding: 12px 16px; | |
| border-left: 3px solid var(--accent); background: var(--surface); font-size: 0.98rem; | |
| } | |
| .links { display: flex; gap: 20px; flex-wrap: wrap; margin: 0; font-weight: 600; } | |
| .tabs { display: flex; gap: 4px; margin-top: 20px; border-bottom: 1px solid var(--line); } | |
| .tabs button { | |
| font: inherit; font-weight: 600; color: var(--ink-2); background: none; border: 0; | |
| padding: 10px 16px; border-bottom: 2px solid transparent; cursor: pointer; | |
| } | |
| .tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); } | |
| .tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } | |
| main { padding-top: 20px; padding-bottom: 40px; } | |
| h3 { margin: 32px 0 8px; font-size: 1.05rem; } | |
| .note { color: var(--ink-2); max-width: 860px; margin: 0 0 14px; } | |
| .examples { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 8px; } | |
| .examples-list { display: flex; gap: 10px; flex-wrap: wrap; } | |
| .examples button { | |
| padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; | |
| cursor: pointer; text-align: center; font: inherit; font-size: 0.8rem; color: var(--ink-2); | |
| } | |
| .examples button[aria-pressed="true"] { border-color: var(--accent); } | |
| .examples img { display: block; width: 76px; height: 76px; object-fit: cover; border-radius: 6px; } | |
| .drop { | |
| display: flex; align-items: center; justify-content: center; width: 180px; height: 80px; | |
| border: 1.5px dashed #c9c9c9; border-radius: 8px; padding: 8px; font-size: 0.85rem; | |
| text-align: center; color: var(--ink-2); cursor: pointer; | |
| } | |
| .drop.over { border-color: var(--accent); background: #effaf6; } | |
| .drop input { display: none; } | |
| .status { font-size: 0.9rem; color: var(--ink-2); min-height: 1.4em; } | |
| .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } | |
| .pair figure { margin: 0; } | |
| .pair figcaption { font-weight: 600; margin-bottom: 6px; } | |
| .pair canvas { | |
| width: 100%; max-width: 440px; height: auto; display: block; border-radius: 8px; | |
| background: var(--surface-2); | |
| } | |
| .found { margin: 6px 0 0; font-size: 0.92rem; } | |
| .table { overflow-x: auto; } | |
| table { border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; } | |
| th, td { padding: 7px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; } | |
| th { color: var(--ink-2); font-weight: 600; } | |
| .plots { display: grid; gap: 16px; margin-top: 20px; } | |
| .plots img { max-width: 100%; border: 1px solid var(--line); border-radius: 8px; } | |
| .gallery-k h3 { margin-top: 20px; } | |
| .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; } | |
| .gallery-grid figure { margin: 0; } | |
| .gallery-grid img { width: 100%; border-radius: 6px; display: block; } | |
| .gallery-grid figcaption { font-size: 0.85rem; color: var(--ink-2); margin-top: 4px; } | |
| .grids { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; } | |
| .grids a { color: var(--ink-2); text-decoration: none; font-size: 0.85rem; } | |
| .grids img { width: 100%; border-radius: 6px; display: block; } | |
| footer { border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.85rem; padding-top: 12px; padding-bottom: 32px; } | |
| @media (max-width: 760px) { | |
| .pair { grid-template-columns: 1fr; } | |
| h1 { font-size: 2rem; } | |
| } | |