Spaces:
Running
Running
Download static/style.css from SharpMeow/paris4-ink-map: direct link, hf CLI and curl.
- Browser
- Download file 18 kB
-
https://huggingface.co/spaces/SharpMeow/paris4-ink-map/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/SharpMeow/paris4-ink-map/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/SharpMeow/paris4-ink-map/resolve/main/static/style.css
18 kB
| :root { | |
| --bg: #05070a; | |
| --panel: #0b0f14; | |
| --panel2: #10161d; | |
| --line: #1c2530; | |
| --text: #e6e9ee; | |
| --dim: #8b96a5; | |
| --amber: #f4b860; | |
| --amber2: #ffd89a; | |
| --cyan: #7fd6ff; | |
| --red: #ff7a6b; | |
| --radius: 12px; | |
| --wide: 1600px; | |
| --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; | |
| --serif: "Instrument Serif", Georgia, serif; | |
| --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; | |
| } | |
| * { box-sizing: border-box; } | |
| [hidden] { display: none ; } | |
| html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--sans); } | |
| a { color: var(--cyan); } | |
| .mono { font-family: var(--mono); font-size: 12.5px; } | |
| .dim { color: var(--dim); } | |
| .tiny { font-size: 12px; margin: 8px 0 0; } | |
| .grow { flex: 1; } | |
| h1, h2, h3 { font-weight: 400; margin: 0; } | |
| h1 { font-family: var(--serif); font-size: 30px; line-height: 1.1; letter-spacing: 0.2px; } | |
| h2 { font-family: var(--serif); font-size: 21px; } | |
| h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--dim); margin-bottom: 6px; } | |
| .top { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); | |
| background: rgba(5, 7, 10, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } | |
| .top-in { max-width: var(--wide); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 18px; } | |
| .brand { display: flex; gap: 10px; align-items: center; color: var(--text); text-decoration: none; font: 22px/1 var(--serif); white-space: nowrap; } | |
| .brand svg { width: 28px; height: 28px; color: var(--amber); flex: none; } | |
| .nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; } | |
| .nav a { color: var(--dim); text-decoration: none; font: 500 13.5px var(--sans); padding: 6px 11px; border-radius: 8px; } | |
| .nav a:hover { color: var(--text); background: var(--panel2); } | |
| .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 13px; border-radius: 9px; | |
| border: 1px solid var(--line); background: var(--panel2); color: var(--text); text-decoration: none; font: 500 13px var(--sans); | |
| cursor: pointer; white-space: nowrap; } | |
| .btn:hover { border-color: #33404f; background: #151d26; } | |
| .btn.small { padding: 5px 10px; font-size: 12.5px; } | |
| .btn.icon { width: 32px; padding: 6px 0; } | |
| .btn.primary { background: #2a2010; border-color: #4a3614; color: var(--amber2); } | |
| .btn.primary:hover { background: #352812; } | |
| .btn[aria-disabled=true] { opacity: .4; pointer-events: none; } | |
| .pill { font: 500 12px var(--mono); padding: 4px 10px; border-radius: 99px; background: #1a1408; color: var(--amber); border: 1px solid #3a2a10; } | |
| .pill.ok { background: #0b1a12; color: #8be0a8; border-color: #1d3a28; } | |
| .pill.bad { background: #200d0b; color: var(--red); border-color: #45201b; } | |
| .hero { border-bottom: 1px solid var(--line); background: radial-gradient(1200px 300px at 20% 0%, #1a140a 0%, transparent 70%); } | |
| .hero-in { max-width: var(--wide); margin: 0 auto; padding: 36px 24px 30px; } | |
| .eyebrow { margin: 0 0 8px; color: var(--amber); font: 500 13px var(--sans); letter-spacing: .3px; } | |
| .hero h1 { font-family: var(--serif); font-size: 46px; line-height: 1.05; margin: 0 0 12px; } | |
| .lede { margin: 0 0 24px; color: #c3cad4; font-size: 16px; line-height: 1.6; max-width: 76ch; } | |
| .stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; } | |
| .stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; } | |
| .stats dt { color: var(--dim); font-size: 12.5px; margin-bottom: 4px; } | |
| .stats dd { margin: 0; font: 500 17px var(--mono); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| main { padding: 24px 24px 48px; display: grid; gap: 20px; max-width: var(--wide); margin: 0 auto; } | |
| .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; min-width: 0; | |
| scroll-margin-top: 70px; } | |
| .card-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; } | |
| .card-h.sub-h { margin-top: 16px; margin-bottom: 8px; } | |
| .sec-h { margin-bottom: 16px; } | |
| .sec-h h2 { font-size: 28px; margin-bottom: 4px; } | |
| .sec-h p { margin: 0; max-width: 90ch; } | |
| .mini { font-size: 12.5px; color: var(--dim); display: inline-flex; gap: 6px; align-items: center; } | |
| select, input[type=number] { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 7px; | |
| padding: 5px 7px; font: 12.5px var(--sans); } | |
| input[type=number] { width: 112px; font-family: var(--mono); } | |
| input[type=range] { accent-color: var(--amber); width: 104px; vertical-align: middle; } | |
| output { font-family: var(--mono); font-size: 12px; color: var(--dim); min-width: 34px; display: inline-block; white-space: nowrap; } | |
| kbd { display: inline-block; min-width: 22px; text-align: center; font: 500 11.5px var(--mono); color: var(--amber); | |
| background: var(--panel2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 5px; } | |
| .loading { display: flex; gap: 22px; align-items: center; justify-content: center; min-height: 60vh; padding: 20px; } | |
| .load-phase { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; } | |
| .bar { width: min(420px, 70vw); height: 6px; background: var(--panel2); border-radius: 9px; overflow: hidden; margin-bottom: 8px; } | |
| .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--amber2)); transition: width .4s; } | |
| .spiral { width: 64px; height: 64px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--amber); | |
| border-right-color: #6b4a1c; animation: spin 1.2s linear infinite; } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| .ov-wrap { position: relative; width: 100%; line-height: 0; border-radius: 8px; overflow: hidden; background: #0a0d11; cursor: crosshair; } | |
| .ov-wrap img { width: 100%; display: block; image-rendering: auto; } | |
| .ov-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; } | |
| .workspace { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: stretch; } | |
| .viewer-col { display: flex; flex-direction: column; } | |
| .side { display: grid; gap: 20px; min-width: 0; align-content: start; } | |
| .osd { position: relative; flex: 1 1 auto; height: auto; min-height: min(68vh, 720px); background: #000; border-radius: 8px; overflow: hidden; } | |
| .osd canvas#osd-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; } | |
| .osd.measure { cursor: crosshair; } | |
| .scalebar { position: absolute; left: 12px; bottom: 12px; z-index: 4; font: 12px var(--mono); color: #fff; | |
| text-shadow: 0 0 4px #000; pointer-events: none; } | |
| .scalebar i { display: block; height: 5px; border: 2px solid #fff; border-top: 0; margin-bottom: 3px; box-shadow: 0 1px 3px #000; } | |
| .hud { position: absolute; right: 10px; bottom: 10px; z-index: 4; background: rgba(5, 7, 10, .78); border: 1px solid var(--line); | |
| border-radius: 8px; padding: 5px 9px; pointer-events: none; color: var(--text); white-space: nowrap; } | |
| .hud:empty { display: none; } | |
| .controls { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 12px; font-size: 12.5px; color: var(--dim); } | |
| .ctl-group { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 6px 12px; background: var(--panel2); | |
| border: 1px solid var(--line); border-radius: 9px; } | |
| .controls label { display: inline-flex; align-items: center; gap: 6px; } | |
| .chk input { accent-color: var(--amber); } | |
| .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; } | |
| .seg button { background: var(--panel2); color: var(--dim); border: 0; padding: 5px 11px; font: 500 12.5px var(--sans); cursor: pointer; } | |
| .seg button.on { background: #2a2010; color: var(--amber); } | |
| .xs-wrap { position: relative; width: 100%; aspect-ratio: 1; background: #000; border-radius: 8px; overflow: hidden; } | |
| .xs-wrap canvas { width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: none; } | |
| .xs-msg { position: absolute; left: 10px; top: 8px; font-size: 12px; color: #c3cad4; pointer-events: none; text-shadow: 0 0 3px #000; } | |
| .xs-ctl { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; color: var(--dim); } | |
| .xs-ctl label { display: flex; align-items: center; gap: 8px; } | |
| .xs-ctl input[type=range] { flex: 1; width: auto; } | |
| .readout { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0 0 10px; } | |
| .readout dt { color: var(--dim); } | |
| .readout dd { margin: 0; color: var(--text); word-break: break-all; } | |
| .readout .pin { color: var(--amber); } | |
| .row-btns { display: flex; flex-wrap: wrap; gap: 8px; } | |
| .goto { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 12.5px; color: var(--dim); } | |
| .goto label { display: inline-flex; gap: 6px; align-items: center; } | |
| .bm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } | |
| .bm-list li { display: flex; gap: 8px; align-items: center; font: 12.5px var(--mono); background: var(--panel2); border-radius: 7px; padding: 4px 8px; } | |
| .bm-list li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; } | |
| .bm-list li button { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 14px; } | |
| .bm-list:empty::after { content: "No bookmarks yet."; color: var(--dim); font-size: 12.5px; } | |
| .tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } | |
| .tri.stream { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); } | |
| .quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } | |
| .steps { margin: 4px 0 0; padding-left: 20px; color: var(--text); font-size: 13px; } | |
| .steps li { margin: 2px 0; } | |
| .bm-io { margin-top: 8px; } | |
| .viewer-col:fullscreen { padding: 12px 14px; border-radius: 0; background: var(--panel); } | |
| .viewer-col:fullscreen .osd { flex: 1 1 auto; height: auto; min-height: 0; } | |
| .s3d-box { height: min(72vh, 640px); min-height: 420px; position: relative; border-radius: 8px; overflow: hidden; } | |
| .s3d-wait { display: grid; place-items: center; height: 100%; margin: 0; } | |
| .nb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; } | |
| .nb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } | |
| .nb { margin: 0; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 10px; min-width: 0; } | |
| .nb.here { border-color: #4a3614; } | |
| .nb-img { aspect-ratio: 1; background: #000; border-radius: 7px; overflow: hidden; display: grid; place-items: center; } | |
| .nb-img img { width: 100%; height: 100%; object-fit: contain; image-rendering: auto; } | |
| .nb-img img:not([src]) { visibility: hidden; } | |
| .nb.none .nb-img { background: repeating-linear-gradient(45deg, #070a0e 0 8px, #0b0f14 8px 16px); } | |
| .nb figcaption { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; } | |
| .nb figcaption b { font: 600 13px var(--sans); } | |
| .nb-meta { color: var(--dim); font-size: 12px; overflow-wrap: anywhere; } | |
| .nb-score { position: relative; width: 100%; height: 6px; background: #070a0e; border-radius: 9px; overflow: visible; } | |
| .nb-score i { position: absolute; inset: 0 auto 0 0; background: var(--cyan); border-radius: 9px; } | |
| .nb-score.high i { background: var(--amber); } | |
| .nb-score::after { content: ""; position: absolute; left: var(--p95, 100%); top: -3px; bottom: -3px; width: 2px; background: var(--text); opacity: .7; } | |
| .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } | |
| .panel { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-width: 0; | |
| display: flex; flex-direction: column; gap: 10px; align-items: flex-start; } | |
| .panel > * { margin: 0; max-width: 100%; } | |
| .panel p.dim { font-size: 13px; } | |
| .field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--dim); } | |
| .size { color: var(--text); margin: 0; } | |
| .dl-list { list-style: none; padding: 0; display: grid; gap: 8px; width: 100%; } | |
| .dl-list li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: center; } | |
| .dl-list .btn { width: 100%; } | |
| .url { display: flex; gap: 8px; align-items: flex-start; width: 100%; background: #070a0e; border: 1px solid var(--line); | |
| border-radius: 8px; padding: 8px 8px 8px 10px; } | |
| .url code { flex: 1; font: 12px/1.5 var(--mono); color: #d7dde5; word-break: break-all; } | |
| .icon-btn { flex: none; background: var(--panel); color: var(--dim); border: 1px solid var(--line); border-radius: 6px; | |
| font: 500 11.5px var(--sans); padding: 2px 8px; cursor: pointer; } | |
| .icon-btn:hover { color: var(--text); border-color: #33404f; } | |
| pre.code { width: 100%; background: #070a0e; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; | |
| font: 12px/1.55 var(--mono); color: #d7dde5; white-space: pre-wrap; word-break: break-word; } | |
| .lbl { font-size: 12.5px; font-weight: 600; color: var(--text); margin-top: 4px ; } | |
| .tbl-h { margin: 22px 0 8px; } | |
| table.files, table.api { width: 100%; border-collapse: collapse; font-size: 13px; } | |
| table.files th { text-align: left; color: var(--dim); font-weight: 500; padding: 6px 8px; border-bottom: 1px solid var(--line); } | |
| table.files td, table.api td { padding: 8px; border-bottom: 1px solid #141b23; vertical-align: top; } | |
| table.files tr:last-child td, table.api tr:last-child td { border-bottom: 0; } | |
| .f-size { width: 110px; white-space: nowrap; } | |
| .f-sha { width: 45%; } | |
| .f-sha .sha { font: 11.5px/1.5 var(--mono); color: var(--dim); word-break: break-all; margin-right: 8px; } | |
| table.api td:first-child { width: 1%; white-space: nowrap; padding-right: 20px; } | |
| table.api a { color: var(--cyan); text-decoration: none; font-size: 12.5px; } | |
| table.api a:hover { text-decoration: underline; } | |
| table.api td:last-child { color: #c3cad4; } | |
| .about p { margin: 0 0 12px; color: #c9d0da; line-height: 1.65; } | |
| .about h3 { margin: 0 0 10px; } | |
| .about h3 + .keys { margin-bottom: 18px; } | |
| .keys { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; color: #c3cad4; } | |
| .keys li { display: flex; gap: 6px; align-items: center; } | |
| h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; text-transform: none; letter-spacing: 0; } | |
| .foot { max-width: var(--wide); margin: 0 auto; padding: 0 24px 32px; color: var(--dim); font-size: 12.5px; text-align: center; } | |
| /* the generated Connect Your Tool panel: two columns, headings in the page's type */ | |
| .connect-card .scc { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: stretch; } | |
| .connect-card .scc > :not(.scc-src) { grid-column: 1 / -1; } | |
| .connect-card .scc > h2 { font: 400 28px var(--serif); margin: 0 0 4px; text-transform: capitalize; } | |
| .connect-card .scc > p { color: var(--dim); max-width: 90ch; margin: 0 0 8px; } | |
| .connect-card .scc .scc-src { background: var(--panel2); border-color: var(--line); margin: 8px 0; } | |
| .connect-card .scc h3 { font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--text); } | |
| .connect-card .scc pre { white-space: pre-wrap; word-break: break-all; } | |
| .connect-card .scc footer { color: var(--dim); font-size: 12.5px; margin-top: 8px; } | |
| dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); max-width: 560px; padding: 18px 20px; } | |
| dialog::backdrop { background: rgba(0, 0, 0, .6); } | |
| .toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; transition: .25s; | |
| background: #1a1408; color: var(--amber2); border: 1px solid #3a2a10; padding: 8px 14px; border-radius: 9px; font-size: 13px; z-index: 50; pointer-events: none; } | |
| .toast.on { opacity: 1; transform: translateX(-50%); } | |
| .openseadragon-container { background: #000 ; } | |
| @media (max-width: 1180px) { | |
| .workspace { grid-template-columns: minmax(0, 1fr); } | |
| .osd { flex: none; height: 62vh; min-height: 380px; } | |
| .side { grid-template-columns: repeat(2, minmax(0, 1fr)); } | |
| .side > :first-child { grid-row: span 2; } | |
| .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } | |
| } | |
| @media (max-width: 900px) { | |
| .tri, .tri.stream, .quad, .duo, .connect-card .scc { grid-template-columns: minmax(0, 1fr); } | |
| } | |
| @media (max-width: 640px) { | |
| .top-in { flex-wrap: wrap; padding: 10px 16px; gap: 8px 12px; } | |
| .brand { flex: 1; } | |
| .nav { order: 3; flex-basis: 100%; margin: 0 -8px; } | |
| .nav a { padding: 4px 7px; font-size: 12.5px; } | |
| .hero-in { padding: 24px 16px 22px; } | |
| .hero h1 { font-size: 32px; } | |
| .lede { font-size: 15px; } | |
| .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } | |
| .stats div:last-child { grid-column: 1 / -1; } | |
| .stats dd { font-size: 15px; } | |
| main { padding: 16px 16px 32px; gap: 16px; } | |
| .card { padding: 14px; } | |
| .sec-h h2, .connect-card .scc > h2 { font-size: 24px; } | |
| .osd { height: 56vh; min-height: 320px; } | |
| .side { grid-template-columns: minmax(0, 1fr); } | |
| .side > :first-child { grid-row: auto; } | |
| table.files td:empty { display: none; } | |
| .keys { grid-template-columns: 1fr; } | |
| table.files thead { display: none; } | |
| table.files, table.files tbody, table.files tr, table.files td { display: block; width: 100%; } | |
| table.files tr { padding: 8px 0; border-bottom: 1px solid #141b23; } | |
| table.files td { border: 0; padding: 2px 0; } | |
| table.api td:first-child { white-space: normal; width: 42%; } | |
| .s3d-box { height: 70vh; min-height: 380px; } | |
| .nb-grid { gap: 8px; } | |
| .nb { padding: 6px; gap: 6px; } | |
| .nb figcaption b { font-size: 12px; } | |
| .nb-meta { font-size: 10.5px; } | |
| .nb .btn.small { padding: 4px 7px; font-size: 11.5px; } | |
| } | |
| .panel .mono, .panel p { overflow-wrap: anywhere; } | |