Download styles.css from NagaYu/dasumae: direct link, hf CLI and curl.
- Browser
- Download file 5.34 kB
-
https://huggingface.co/spaces/NagaYu/dasumae/resolve/main/styles.css
- Command line
-
hf download hf://spaces/NagaYu/dasumae/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/NagaYu/dasumae/resolve/main/styles.css
5.34 kB
| :root { | |
| --bg: #f6f7f9; | |
| --panel: #ffffff; | |
| --ink: #1a1d21; | |
| --muted: #6b7280; | |
| --line: #e5e7eb; | |
| --accent: #3d4ed8; | |
| --accent-ink: #fff; | |
| --radius: 12px; | |
| --shadow: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.06); | |
| } | |
| * { box-sizing: border-box; } | |
| [hidden] { display: none ; } /* beat .editor{display:grid} etc. */ | |
| html, body { margin: 0; padding: 0; } | |
| body { | |
| font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, | |
| "Noto Sans JP", "Segoe UI", Roboto, sans-serif; | |
| color: var(--ink); background: var(--bg); line-height: 1.55; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| .muted { color: var(--muted); } | |
| .site-header { | |
| display: flex; align-items: center; justify-content: space-between; | |
| padding: 14px 20px; background: var(--panel); border-bottom: 1px solid var(--line); | |
| } | |
| .brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } | |
| .brand-name { font-weight: 700; font-size: 20px; letter-spacing: .02em; } | |
| .brand-tag { color: var(--muted); font-size: 14px; } | |
| main { max-width: 1200px; margin: 0 auto; padding: 20px; } | |
| /* dropzone */ | |
| .dropzone { | |
| border: 2px dashed #c4cad4; border-radius: var(--radius); background: var(--panel); | |
| padding: 56px 24px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; | |
| color: var(--muted); | |
| } | |
| .dropzone:hover, .dropzone:focus, .dropzone.drag { border-color: var(--accent); background: #fafbff; outline: none; } | |
| .drop-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; } | |
| .drop-hint { font-size: 17px; color: var(--ink); margin: 6px 0 0; } | |
| .drop-sub { font-size: 13px; margin: 0; } | |
| /* editor layout */ | |
| .editor { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; } | |
| @media (max-width: 860px) { .editor { grid-template-columns: 1fr; } } | |
| .canvas-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); position: relative; } | |
| #canvas { display: block; max-width: 100%; margin: 0 auto; border-radius: 6px; touch-action: none; cursor: crosshair; background: #eef0f3; } | |
| .manual-hint { font-size: 12px; margin: 10px 2px 2px; } | |
| .status { | |
| position: absolute; top: 18px; left: 18px; z-index: 2; | |
| background: rgba(31,36,48,.92); color: #fff; font-size: 13px; padding: 6px 12px; | |
| border-radius: 999px; display: none; | |
| } | |
| .status.show { display: inline-block; } | |
| /* side panel */ | |
| .panel { display: flex; flex-direction: column; gap: 16px; } | |
| .panel-block { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); } | |
| .panel-block h2 { font-size: 16px; margin: 0 0 10px; } | |
| .panel-block h3 { font-size: 14px; margin: 0 0 8px; } | |
| .det-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; } | |
| .det-item { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; } | |
| .det-item.selected { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(61,78,216,.15); } | |
| .det-item.off { opacity: .5; } | |
| .det-swatch { width: 10px; height: 28px; border-radius: 3px; } | |
| .det-main { min-width: 0; } | |
| .det-class { font-size: 12px; color: var(--muted); } | |
| .det-text { font-size: 13px; font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .det-controls { display: flex; gap: 6px; } | |
| .icon-btn { border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: 12px; padding: 3px 8px; cursor: pointer; color: var(--ink); } | |
| .icon-btn:hover { background: #f1f2f4; } | |
| .style-sel { display: flex; gap: 8px; } | |
| .style-btn { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px; cursor: pointer; font-size: 13px; color: var(--ink); } | |
| .style-btn.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); } | |
| .face-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; } | |
| .face-toggle.soon { color: var(--muted); } | |
| .verify-notice { | |
| background: #fff8e1; border: 1px solid #ffe08a; color: #7a5900; | |
| border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 0 0 12px; font-weight: 600; | |
| } | |
| .actions { display: flex; flex-direction: column; gap: 8px; } | |
| .primary-btn { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px; padding: 11px; font-size: 15px; font-weight: 600; cursor: pointer; } | |
| .primary-btn:hover { filter: brightness(1.05); } | |
| .ghost-btn { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font-size: 14px; cursor: pointer; color: var(--ink); } | |
| .ghost-btn:hover { background: #f1f2f4; } | |
| /* how it works */ | |
| .how { margin-top: 22px; } | |
| .how details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px; box-shadow: var(--shadow); } | |
| .how summary { cursor: pointer; font-weight: 600; padding: 12px 0; } | |
| .how-body h3 { font-size: 14px; margin: 16px 0 6px; } | |
| .how-body ul { margin: 0 0 8px; padding-left: 20px; } | |
| .how-body li { margin: 4px 0; } | |
| .how-body p { margin: 4px 0; } | |
| #stressNote:empty { display: none; } | |