Spaces:
Paused
Paused
Download src/jiangnan/jiangnan.css from Ethscriptions/video: direct link, hf CLI and curl.
- Browser
- Download file 9.02 kB
-
https://huggingface.co/spaces/Ethscriptions/video/resolve/main/src/jiangnan/jiangnan.css
- Command line
-
hf download hf://spaces/Ethscriptions/video/src/jiangnan/jiangnan.css
-
curl -L -o jiangnan.css https://huggingface.co/spaces/Ethscriptions/video/resolve/main/src/jiangnan/jiangnan.css
9.02 kB
| .jn { | |
| --ink: #0b0d14; | |
| --ink2: #12151f; | |
| --ink3: #1a1e2b; | |
| --line: rgba(255, 236, 210, 0.1); | |
| --line2: rgba(255, 236, 210, 0.18); | |
| --paper: #f3eadb; | |
| --muted: rgba(243, 234, 219, 0.62); | |
| --dim: rgba(243, 234, 219, 0.42); | |
| --amber: #e8a65a; | |
| --red: #c8372d; | |
| --ok: #7fc59a; | |
| --bad: #ef7b6e; | |
| min-height: 100vh; | |
| background: radial-gradient(1200px 600px at 50% -10%, #241a1a 0%, var(--ink) 60%); | |
| color: var(--paper); | |
| font-family: 'JNBody', 'PingFang SC', 'Noto Serif SC', 'Songti SC', serif; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| .jn * { box-sizing: border-box; } | |
| .jn-wrap { max-width: 1180px; margin: 0 auto; padding: 28px 20px 80px; } | |
| .jn-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; } | |
| .jn-title { font-family: 'JNTitle', serif; font-size: 52px; line-height: 1; letter-spacing: 6px; margin: 0; color: #fff3e2; } | |
| .jn-sub { color: var(--muted); font-size: 15px; margin-top: 10px; letter-spacing: 1px; } | |
| .jn-seal { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--red); color: #fff1e6; font-family: 'JNTitle', serif; font-size: 14px; line-height: 1.05; border-radius: 4px; writing-mode: vertical-rl; margin-left: 12px; vertical-align: 10px; } | |
| .jn-links { color: var(--dim); font-size: 13px; text-align: right; } | |
| .jn-links a { color: var(--amber); text-decoration: none; } | |
| /* player */ | |
| .jn-player { position: relative; margin: 0 auto; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line); } | |
| .jn-player.landscape { width: 100%; aspect-ratio: 16 / 9; } | |
| .jn-player.portrait { height: min(78vh, 900px); aspect-ratio: 9 / 16; max-width: 100%; } | |
| .jn-player canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; } | |
| .jn-player:fullscreen { border-radius: 0; width: 100vw; height: 100vh; aspect-ratio: auto; display: flex; align-items: center; justify-content: center; background: #000; } | |
| .jn-player:fullscreen canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; } | |
| .jn-big-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; } | |
| .jn-big-play span { width: 84px; height: 84px; border-radius: 50%; background: rgba(12, 10, 14, 0.5); border: 1px solid rgba(255, 236, 210, 0.45); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); transition: transform 0.2s; } | |
| .jn-big-play:hover span { transform: scale(1.06); } | |
| .jn-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at 50% 40%, #1d1716, #07080c); z-index: 5; text-align: center; padding: 20px; } | |
| .jn-loading .t { font-family: 'JNTitle', serif; font-size: 40px; letter-spacing: 6px; } | |
| .jn-bar { width: min(360px, 80%); height: 3px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; overflow: hidden; } | |
| .jn-bar i { display: block; height: 100%; background: linear-gradient(90deg, #c8372d, #e8a65a); transition: width 0.25s; } | |
| .jn-loading small { color: var(--muted); font-size: 13px; } | |
| .jn-controls { display: flex; align-items: center; gap: 10px; padding: 12px 4px 0; flex-wrap: wrap; } | |
| .jn-btn { appearance: none; border: 1px solid var(--line2); background: var(--ink3); color: var(--paper); padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background 0.15s, border-color 0.15s; white-space: nowrap; } | |
| .jn-btn:hover { border-color: rgba(232, 166, 90, 0.6); } | |
| .jn-btn:disabled { opacity: 0.45; cursor: not-allowed; } | |
| .jn-btn.primary { background: linear-gradient(135deg, #c8372d, #b1522a); border-color: transparent; color: #fff4ea; } | |
| .jn-btn.ghost { background: transparent; } | |
| .jn-btn.on { border-color: var(--amber); color: #ffd9a8; } | |
| .jn-time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; min-width: 92px; } | |
| .jn-scrub { flex: 1 1 260px; position: relative; height: 34px; display: flex; align-items: center; } | |
| .jn-scrub input { width: 100%; accent-color: var(--amber); } | |
| .jn-shots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } | |
| .jn-chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; font-family: inherit; } | |
| .jn-chip.active { border-color: var(--amber); color: #ffd9a8; background: rgba(232, 166, 90, 0.08); } | |
| /* sections */ | |
| .jn-sec { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 26px; } | |
| .jn-sec h2 { font-family: 'JNTitle', serif; font-weight: normal; font-size: 30px; letter-spacing: 3px; margin: 0 0 6px; color: #fff1dc; } | |
| .jn-sec .lead { color: var(--muted); font-size: 14px; margin: 0 0 18px; line-height: 1.7; } | |
| .jn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; } | |
| .jn-card { background: var(--ink2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; } | |
| .jn-opt { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; } | |
| .jn-label { font-size: 13px; color: var(--dim); margin-bottom: 4px; letter-spacing: 1px; } | |
| .jn-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } | |
| .jn-progress { margin-top: 14px; } | |
| .jn-progress .jn-bar { width: 100%; height: 6px; } | |
| .jn-progress small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; } | |
| .jn-note { font-size: 12.5px; color: var(--dim); line-height: 1.7; margin-top: 10px; } | |
| .jn-err { color: var(--bad); font-size: 13px; margin-top: 10px; } | |
| .jn-result video { width: 100%; max-height: 420px; background: #000; border-radius: 10px; margin-top: 12px; } | |
| /* covers */ | |
| .jn-covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 16px; } | |
| .jn-cover { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #000; cursor: pointer; } | |
| .jn-cover.sel { border-color: var(--amber); } | |
| .jn-cover img { width: 100%; display: block; } | |
| .jn-cover .meta { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 12.5px; background: var(--ink2); color: var(--muted); gap: 8px; } | |
| .jn-cover .chk { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.5); display: flex; align-items: center; justify-content: center; font-size: 15px; color: #ffd9a8; } | |
| .jn-cover a { color: var(--amber); text-decoration: none; } | |
| /* copy */ | |
| .jn-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; } | |
| .jn-titles { display: flex; flex-direction: column; gap: 8px; } | |
| .jn-tline { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--ink2); cursor: pointer; } | |
| .jn-tline.sel { border-color: rgba(232, 166, 90, 0.7); } | |
| .jn-tline .txt { flex: 1; font-size: 15px; line-height: 1.5; } | |
| .jn-count { font-size: 12px; padding: 2px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; } | |
| .jn-count.ok { color: var(--ok); background: rgba(127, 197, 154, 0.1); } | |
| .jn-count.bad { color: var(--bad); background: rgba(239, 123, 110, 0.1); } | |
| .jn-box { white-space: pre-wrap; background: var(--ink2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.75; color: #efe5d4; } | |
| .jn-tags { display: flex; flex-wrap: wrap; gap: 6px; } | |
| .jn-tag { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(200, 55, 45, 0.12); color: #ffc8b8; border: 1px solid rgba(200, 55, 45, 0.3); } | |
| .jn-copyrow { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 8px; gap: 10px; } | |
| .jn-copyrow .jn-label { margin: 0; } | |
| .jn-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: rgba(20, 16, 18, 0.95); border: 1px solid var(--line2); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 100; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); } | |
| .jn-live { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; } | |
| .jn-live figure { margin: 0; } | |
| .jn-live img { width: 100%; border-radius: 8px; display: block; } | |
| .jn-live figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; } | |
| .jn-foot { margin-top: 56px; color: var(--dim); font-size: 12.5px; line-height: 1.8; border-top: 1px solid var(--line); padding-top: 18px; } | |
| .jn-foot code { color: var(--muted); } | |
| @media (max-width: 640px) { | |
| .jn-wrap { padding: 16px 12px 60px; } | |
| .jn-title { font-size: 40px; } | |
| .jn-player.portrait { height: auto; width: 100%; } | |
| .jn-sec h2 { font-size: 26px; } | |
| } | |