💃 Free CC0 mannequin pose reference library for AI image tools (Nano Banana, ChatGPT, ComfyUI, Midjourney) — 250+ poses × 5 angles in line art, names in ja/zh/en/ko
Python ai-artai-image-generationart-referencecc0comfyuicontrolnetdatasetdrawing-referencefigure-drawingline-artmannequinmidjourneymultilingualnano-bananapose-referencereference-imagesstable-diffusion
feat(web): language menu, download panel, library-wide counts; drop search
wquguru5d288d48ce94
diff --git a/README.md b/README.mdindex 784e6553..39ff21c5 100644--- a/README.md+++ b/README.md@@ -63,12 +63,13 @@ the figure consistent across shots. Face, clothing and background come from your| `w900` | `images/*/w900/` | 900 × 1200 | ~26 KB || full | [Releases](../../releases) zip | 1344 × 1792 (photos 1120 × 2240) | ~100 KB |-The repository holds the two web tiers (about 17 MB). Full-size originals ship as a Release asset so cloning stays-fast.+The repository holds the two web tiers (about 17 MB). Each Release carries the downloads the gallery offers: the w900+tier as one zip per series and one for everything (recommended, about a quarter of the originals' size), plus the+originals. Only views that passed QC go in, and every zip includes LICENSE and NOTICE.## Gallery-`web/` is a zero-dependency static gallery built from the catalog: category tabs, search, an angle filter, a+`web/` is a zero-dependency static gallery built from the catalog: category tabs, an angle filter, aline-art / photo switch, a by-pose or single-image view, a lightbox with keyboard and swipe navigation, four UIlanguages and a dark theme. The spec is in [docs/DESIGN.md](docs/DESIGN.md).@@ -87,7 +88,7 @@ Deep links open the lightbox directly: `#P001-diag`, `#P001-diag-photo`; filtersdata/ catalog.json, catalog.csv — the source of truthimages/ line/ and photo/, each with w300/ and w900/ tiersweb/ static gallery source (index.html, app.js, app.css, i18n.js)-tools/ build_images.py, build_site.py, verify.py, qc_merge.py, review_sheets.py, pack_release.sh+tools/ build_images.py, build_site.py, verify.py, qc_merge.py, review_sheets.py, pack_release.pydocs/ DESIGN, DECISIONS, GENERATION, LICENSING, translated READMEs, logo, screenshot```diff --git a/docs/DESIGN.md b/docs/DESIGN.mdindex a81b9fc3..6aee4d8c 100644--- a/docs/DESIGN.md+++ b/docs/DESIGN.md@@ -8,17 +8,17 @@- 主按钮黑色胶囊 `#18181B`,次按钮米白描边胶囊;NEW 标签 `#F2F08A` 黄色胶囊。- 标题 Inter Tight 800,字距 -0.05em,带 3px 4px 的暖色投影 `#EDB79C`;中文 Noto Sans SC;编号和计数 JetBrains Mono。- 网格卡片统一暖灰底 `#ECE7DF`;悬停或聚焦时底色过渡成该分类色、上浮 3px 并加阴影(0.25s)。手机没有悬停,保持暖灰。-- 首屏滚动方块和「新增 23 套」横排始终用分类色。线稿用 `mix-blend-mode: multiply` 叠上去,白底自动变成底色。分类色:+- 首屏滚动方块始终用分类色。线稿用 `mix-blend-mode: multiply` 叠上去,白底自动变成底色。分类色:坐姿 `#D3D1E6` 站立 `#AFC3E0` 跪姿 `#BCD3C6` 躺姿 `#E3CBB0` 侧坐 `#EBC0BC` 蹲姿 `#C7DCD6` 前倾 `#E6B7A1` 后仰 `#CBD0AC` 扭转 `#DDB9C8`;实拍统一 `#E4E1DC`。- 卡片圆角 28px(手机 22px),灯箱外框 34px。## 页面结构(桌面)-1. 导航:logo 胶囊、姿势 / 分类 ▾ / 机位 ▾ / 实拍 / 使用方法 / 更新日志,右侧搜索胶囊、语言、深色模式、GitHub。-2. 首屏:大标题、一句说明、两行反向滚动的姿势方块(尊重 `prefers-reduced-motion`)、「浏览 73 套姿势」「下载全尺寸原图包」、适用工具。-3. 新增 23 套:横向滚动卡片,带 NEW。-4. 全部姿势:吸顶筛选条(分类胶囊带色点和数量、机位、线稿/实拍、按姿势/逐张、计数),下面是网格。-5. 页脚:只写一句「全部素材由 Shisei 自制。」加链接,不提其他项目。+1. 导航:logo 胶囊、姿势 / 分类 ▾ / 机位 ▾ / 实拍 / 使用方法 / 更新日志,右侧语言菜单(地球图标 + 当前语言名 ▾)、深色模式、GitHub。不做搜索(2026-10-29 去掉)。+2. 首屏:大标题、一句说明、两行反向滚动的姿势方块(尊重 `prefers-reduced-motion`)、各系列套数胶囊、「浏览 N 套姿势」「下载图包 [大小]」、适用工具。+ N 是全部已发布的套数(有通过质检的机位),不随性感内容开关变化;没有写死的数字。+3. 全部姿势:吸顶筛选条(分类胶囊带色点和数量、机位、线稿/实拍、按姿势/逐张、计数),下面是网格。+4. 页脚:只写一句「全部素材由 Shisei 自制。」加链接,不提其他项目。## 交互- 姿势卡:默认正面;悬停、聚焦或点按圆点切换本卡机位;顶栏选机位时全部卡片统一切换。@@ -28,7 +28,11 @@- 灯箱:左边大图,右边四语名称、机位缩略图、线稿/实拍切换、可复制的 `desc_en`、下载 900 图、复制 ID、全尺寸包链接。键盘 ← → 换机位、↑ ↓ 换姿势、L 切素材、Esc 关闭;手机左右滑动。- 手机:两列网格,分类横滑,筛选收进底部面板(机位、素材、视图、重置、显示 N 套)。-- 语言切换覆盖全部界面文案和姿势名,记在 URL 参数和 localStorage。+- 语言菜单:点开列出 中文 / 日本語 / English / 한국어,当前语言打勾;选中即跳到该语言的页面(保留筛选参数和 hash,去掉 `?lang`),+ 选择记在 localStorage。不用单个按钮轮换语言:读者看不出下一下会到哪种语言。Esc 或点外面关闭。+- 下载面板(首屏按钮和灯箱「下载图包」打开):版本 + 许可证、一句说明(轻量包画质几乎无差别,体积约为原图的 1/k,k 按实际大小算)、+ 黑色「全部系列 · 推荐」大卡(黄色大小标签)、「只要一个系列」四行、分隔线下虚线框的「原图包」。只标 MB,不标像素尺寸。+ 大小、套数来自 `data/packs.json`(`tools/pack_release.py` 生成),链接指向该版本的 Release 附件。- 所有可点元素至少 44px,图标按钮带 `aria-label`。## 标签与过滤(v0.2.0)diff --git a/docs/readme/README.ja.md b/docs/readme/README.ja.mdindex aa1b5f74..5bd35d45 100644--- a/docs/readme/README.ja.md+++ b/docs/readme/README.ja.md@@ -53,11 +53,11 @@ Shisei は自作のポーズ参照ライブラリです。すべてのポーズ| `w900` | `images/*/w900/` | 900 × 1200 | 約 26 KB || 原寸 | [Releases](../../../../releases) の zip | 1344 × 1792(実写 1120 × 2240) | 約 100 KB |-リポジトリには Web 用の 2 サイズ(約 17 MB)だけを置き、原寸画像は Release の zip で配布しているので、クローンは軽く済みます。+リポジトリには Web 用の 2 サイズ(約 17 MB)だけを置いているので、クローンは軽く済みます。各 Release にはギャラリーのダウンロードを添付しています。w900 をシリーズごとの zip と全シリーズの zip(おすすめ、原寸の約 4 分の 1)にまとめたものと、原寸の zip です。品質チェックを通ったアングルだけを収録し、どの zip にも LICENSE と NOTICE が入っています。## ギャラリー-`web/` はカタログから生成する依存ゼロの静的ギャラリーです。カテゴリタブ、検索、アングル絞り込み、線画 / 実写の切り替え、ポーズ単位・一枚単位の表示、キーボードとスワイプで操作できるライトボックス、四か国語の UI、ダークモードに対応しています。仕様は [DESIGN.md](../DESIGN.md) にあります。+`web/` はカタログから生成する依存ゼロの静的ギャラリーです。カテゴリタブ、アングル絞り込み、線画 / 実写の切り替え、ポーズ単位・一枚単位の表示、キーボードとスワイプで操作できるライトボックス、四か国語の UI、ダークモードに対応しています。仕様は [DESIGN.md](../DESIGN.md) にあります。```bashpython3 tools/build_site.py --link-images # site/ を生成(画像はシンボリックリンクで高速プレビュー)@@ -73,7 +73,7 @@ python3 tools/build_site.py # 画像込みのデプロイ用data/ catalog.json、catalog.csv — 唯一のデータソースimages/ line/ と photo/、それぞれ w300/ と w900/web/ 静的ギャラリーのソース(index.html、app.js、app.css、i18n.js)-tools/ build_images.py、build_site.py、verify.py、qc_merge.py、review_sheets.py、pack_release.sh+tools/ build_images.py、build_site.py、verify.py、qc_merge.py、review_sheets.py、pack_release.pydocs/ DESIGN、DECISIONS、GENERATION、LICENSING、各言語の README、ロゴ、スクリーンショット```diff --git a/docs/readme/README.ko.md b/docs/readme/README.ko.mdindex 283c32f0..94f8af48 100644--- a/docs/readme/README.ko.md+++ b/docs/readme/README.ko.md@@ -53,11 +53,11 @@ Shisei는 직접 만든 포즈 참고 라이브러리입니다. 모든 포즈는| `w900` | `images/*/w900/` | 900 × 1200 | 약 26 KB || 원본 | [Releases](../../../../releases) zip | 1344 × 1792 (실사 1120 × 2240) | 약 100 KB |-저장소에는 웹용 두 가지 크기(약 17 MB)만 두고, 원본 이미지는 Release zip으로 배포하므로 클론이 가볍습니다.+저장소에는 웹용 두 가지 크기(약 17 MB)만 두므로 클론이 가볍습니다. 각 Release에는 갤러리의 다운로드가 첨부됩니다. w900을 시리즈별 zip과 전체 시리즈 zip(추천, 원본의 약 4분의 1 용량)으로 묶은 것과 원본 zip입니다. 품질 검사를 통과한 앵글만 담고, 모든 zip에 LICENSE와 NOTICE가 들어 있습니다.## 갤러리-`web/`은 카탈로그에서 생성하는 의존성 없는 정적 갤러리입니다. 카테고리 탭, 검색, 앵글 필터, 선화 / 실사 전환, 포즈별 또는 한 장씩 보기, 키보드와 스와이프로 넘기는 라이트박스, 4개 언어 UI, 다크 모드를 지원합니다. 사양은 [DESIGN.md](../DESIGN.md)에 있습니다.+`web/`은 카탈로그에서 생성하는 의존성 없는 정적 갤러리입니다. 카테고리 탭, 앵글 필터, 선화 / 실사 전환, 포즈별 또는 한 장씩 보기, 키보드와 스와이프로 넘기는 라이트박스, 4개 언어 UI, 다크 모드를 지원합니다. 사양은 [DESIGN.md](../DESIGN.md)에 있습니다.```bashpython3 tools/build_site.py --link-images # site/ 생성 (이미지는 심볼릭 링크로 빠르게 미리보기)@@ -73,7 +73,7 @@ python3 tools/build_site.py # 이미지를 포함한 배포data/ catalog.json, catalog.csv — 유일한 데이터 원본images/ line/과 photo/, 각각 w300/과 w900/web/ 정적 갤러리 소스 (index.html, app.js, app.css, i18n.js)-tools/ build_images.py, build_site.py, verify.py, qc_merge.py, review_sheets.py, pack_release.sh+tools/ build_images.py, build_site.py, verify.py, qc_merge.py, review_sheets.py, pack_release.pydocs/ DESIGN, DECISIONS, GENERATION, LICENSING, 언어별 README, 로고, 스크린샷```diff --git a/docs/readme/README.zh-CN.md b/docs/readme/README.zh-CN.mdindex 6e3eb196..083113ed 100644--- a/docs/readme/README.zh-CN.md+++ b/docs/readme/README.zh-CN.md@@ -53,11 +53,11 @@ Shisei 是一套自己生成的姿势参考库。每个姿势都是无脸素体| `w900` | `images/*/w900/` | 900×1200 | 26 KB || 原图 | [Releases](../../../../releases) 压缩包 | 1344×1792(实拍 1120×2240) | 100 KB |-仓库里只放网页用的两档,约 17 MB;全尺寸原图放在 Release 压缩包里,克隆会快很多。+仓库里只放网页用的两档,约 17 MB,克隆会快很多。每个 Release 附带画廊里的下载:w900 档按系列各一个压缩包、再加一个全系列包(推荐,体积约为原图的四分之一),以及原图包。只打包质检通过的机位,每个压缩包都带 LICENSE 和 NOTICE。## 画廊-`web/` 是从 catalog 生成的零依赖静态画廊:分类标签、搜索、机位筛选、线稿 / 实拍切换、按套或单张浏览、支持键盘和滑动的大图灯箱、四种界面语言和深色模式。规格见 [DESIGN.md](../DESIGN.md)。+`web/` 是从 catalog 生成的零依赖静态画廊:分类标签、机位筛选、线稿 / 实拍切换、按套或单张浏览、支持键盘和滑动的大图灯箱、四种界面语言和深色模式。规格见 [DESIGN.md](../DESIGN.md)。```bashpython3 tools/build_site.py --link-images # 生成 site/(图片用符号链接,预览快)@@ -73,7 +73,7 @@ python3 tools/build_site.py # 可部署的完整副本,约data/ catalog.json、catalog.csv:唯一的数据源images/ line/ 和 photo/,各有 w300/ 和 w900/ 两档web/ 静态画廊源码(index.html、app.js、app.css、i18n.js)-tools/ build_images.py、build_site.py、verify.py、qc_merge.py、review_sheets.py、pack_release.sh+tools/ build_images.py、build_site.py、verify.py、qc_merge.py、review_sheets.py、pack_release.pydocs/ DESIGN、DECISIONS、GENERATION、LICENSING、各语言 README、logo、截图```diff --git a/tools/build_site.py b/tools/build_site.pyindex ec90668b..d5288eef 100755--- a/tools/build_site.py+++ b/tools/build_site.py@@ -240,15 +240,18 @@ def main() -> None:# Gallery home per languagetpl = (ROOT / "web/index.html").read_text()compact = json.dumps(catalog, ensure_ascii=False, separators=(",", ":")).replace("</", "<\\/")+ # Download sizes for the gallery's download panel; without a packs.json the panel links to the latest Release.+ packs_file = ROOT / "data/packs.json"+ packs = json.loads(packs_file.read_text()) if packs_file.exists() else None+ if packs and packs["version"] != ver:+ print(f"warning: data/packs.json is for v{packs['version']}, the site is v{ver}", file=sys.stderr)for loc in LOCS:T = S[loc]rel = Site.rel(PREFIX[loc])home = site.abs(PREFIX[loc])ld = {"@context": "https://schema.org", "@graph": [{"@type": "WebSite", "name": "Shisei", "alternateName": "Shisei 姿勢", "url": home, "inLanguage": HTML_LANG[loc],- "description": T["metaDesc"],- "potentialAction": {"@type": "SearchAction", "target": home + "?q={search_term_string}#all",- "query-input": "required name=search_term_string"}},+ "description": T["metaDesc"]},{"@type": "Dataset", "name": T["metaTitle"], "description": T["metaDesc"], "url": home,"inLanguage": HTML_LANG[loc], "version": ver, "license": site_pages.LICENSE,"distribution": [{"@type": "DataDownload", "encodingFormat": "application/json",@@ -261,7 +264,8 @@ def main() -> None:doc = (tpl.replace("__HEAD__", head).replace("__HTMLLANG__", HTML_LANG[loc]).replace("__LOC__", loc).replace("__SKIP__", esc(T["skip"])).replace("__NOSCRIPT__", noscript).replace("__CHANGELOG__", f"{rel}{PREFIX[loc]}changelog/").replace("__BASE__", rel)- .replace("__CATALOG__", compact).replace("__REPO__", site.repo).replace("__VERSION__", ver))+ .replace("__CATALOG__", compact).replace("__REPO__", site.repo).replace("__VERSION__", ver)+ .replace("__PACKS__", json.dumps(packs, separators=(",", ":"))))write(PREFIX[loc], doc)for i in range(len(poses)):diff --git a/web/app.css b/web/app.cssindex 44ae0159..1a7b7468 100644--- a/web/app.css+++ b/web/app.css@@ -55,7 +55,6 @@ img { display: block; }.pill:hover { filter: brightness(0.96); }.circle { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); background: var(--field); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; font-weight: 600; }.linklike { border: 0; background: none; padding: 0; min-height: 44px; cursor: pointer; }-.linkarrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: none; padding: 0; color: var(--ink3); font-size: 17px; cursor: pointer; }.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.28em; color: var(--ink4); }/* nav */@@ -64,9 +63,6 @@ img { display: block; }.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 17px; color: var(--ink2); }.nav-links a { text-decoration: none; }.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }-.search { display: flex; align-items: center; gap: 10px; width: 280px; height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--field); }-.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; }-.search:focus-within { border-color: var(--ink3); }/* hero */.hero { padding: 80px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; background: radial-gradient(900px 420px at 50% 30%, var(--glow) 0, transparent 70%); }@@ -81,7 +77,40 @@ img { display: block; }@keyframes mq-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }@media (prefers-reduced-motion: reduce) { .mq-l, .mq-r { animation: none; } html { scroll-behavior: auto; } }.mq-tile { width: 146px; height: 146px; flex: 0 0 auto; border-radius: 30px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(24,24,27,0.25); }-.mq-tile img, .tile img, .ftile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }+.mq-tile img, .tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }+/* language menu: an explicit list, the current one checked */+.lang-menu { position: relative; }+.lang-btn { gap: 8px; padding: 0 16px; font-weight: 500; }+.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 200px; padding: 6px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 16px 40px -12px rgba(24,24,27,0.25); }+.lang-list[hidden] { display: none; }+.lang-list a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none; font-size: 15px; color: var(--ink); }+.lang-list a:hover { background: var(--bg2); }+.lang-list a[aria-current] { background: var(--bg2); font-weight: 700; }+.lang-list a[aria-current]::after { content: ''; width: 14px; height: 8px; margin-top: -4px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }+.hero-series { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 16px; }+.hero-series span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--bg2); font-size: 14px; color: var(--ink2); }+.hero-series i { width: 10px; height: 10px; border-radius: 3px; }+.hero-series b { font-family: var(--mono); font-weight: 500; color: var(--ink); }+.size-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--new); color: var(--new-ink); font: 500 13px var(--mono); }+.size-tag[hidden] { display: none; }+/* download panel */+.dl-lic { margin: 4px 0 0; font-size: 13px; color: var(--ink3); }+.dl-note { margin: 8px 0 16px; font-size: 14px; line-height: 1.6; color: var(--ink2); }+#dlBody h3 { margin: 18px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink3); }+#dlBody h3.dl-sep { padding-top: 16px; border-top: 1px solid var(--line); }+.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; margin-bottom: 8px; padding: 10px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; }+.dl-row:hover { border-color: var(--ink3); }+.dl-row.main { padding: 16px 20px; border-color: var(--btn); background: var(--btn); color: var(--btn-ink); }+.dl-row.main small { color: inherit; opacity: 0.75; }+.dl-row.orig { border-style: dashed; background: transparent; }+.dl-t { display: flex; align-items: center; gap: 12px; }+.dl-t > span { display: flex; flex-direction: column; gap: 2px; }+.dl-t b { font-size: 15px; }+.dl-row.main .dl-t b { font-size: 17px; }+.dl-t em { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #18181B; font-size: 12px; font-style: normal; font-weight: 700; }+.dl-t i { width: 12px; height: 12px; border-radius: 4px; flex: 0 0 auto; }+.dl-t small { font: 500 12px var(--mono); color: var(--ink3); }+.dl-s { display: flex; align-items: center; gap: 10px; font: 500 14px var(--mono); }.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 18px 16px 0; }.works { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 30px; }.chips-static { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 16px; }@@ -92,12 +121,7 @@ img { display: block; }#all { padding-bottom: 80px; }.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 16px; }.sec-head h2 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }-.sec-sub { margin: 10px 0 18px; font-size: 18px; color: var(--ink3); }.count { font-family: var(--mono); font-size: 14px; color: var(--ink4); }-.featured { display: flex; gap: 28px; overflow-x: auto; padding: 6px 2px 10px; scroll-snap-type: x proximity; }-.fcard { flex: 0 0 300px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; scroll-snap-align: start; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }-.ftile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(24,24,27,0.25); }-.fcard-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 18px; }/* filters */.filters { position: sticky; top: 0; z-index: 10; margin: 18px -8px 22px; padding: 12px 8px; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 12px; }@@ -213,7 +237,6 @@ dialog::backdrop { background: rgba(38, 34, 30, 0.55); }/* responsive */@media (max-width: 1100px) {- .search { width: 200px; }.nav-links { display: none; }}@media (max-width: 860px) {@@ -226,9 +249,7 @@ dialog::backdrop { background: rgba(38, 34, 30, 0.55); }}@media (max-width: 720px) {.nav { gap: 10px; }- .nav-tools { width: 100%; margin-left: 0; }- .search { flex: 1; width: auto; }- .nav-tools .pill { display: none; }+ .nav-tools > .pill { display: none; }.hero { padding-top: 32px; gap: 14px; }.hero h1 { font-size: 40px; text-shadow: 2px 3px 0 var(--shadow); }.hero-sub { font-size: 16px; }@@ -237,8 +258,6 @@ dialog::backdrop { background: rgba(38, 34, 30, 0.55); }.pill.big { height: 54px; font-size: 16px; padding: 0 22px; }.section { padding-top: 48px; }.sec-head h2 { font-size: 26px; }- .sec-sub { font-size: 16px; }- .fcard { flex-basis: 220px; }.inline-filters { display: none; }.sheet-btn { display: inline-flex; margin-left: auto; }.chip { min-height: 42px; padding: 0 14px; font-size: 14px; }diff --git a/web/app.js b/web/app.jsindex aa6e8225..00b7c814 100644--- a/web/app.js+++ b/web/app.js@@ -26,6 +26,7 @@// link previews see it in that language; BASE leads back to the site root from here.const BASE = window.SHISEI.base || '';const PREFIX = { zh: '', ja: 'ja/', en: 'en/', ko: 'ko/' };+ const SERIES_TINT = { std: '#AFC3E0', upper: '#D3D1E6', sexy: '#EBC0BC', duo: '#BCD3C6' };const PACKS = window.SHISEI.packs; // null when the build found no data/packs.jsonconst mb = (b) => { const m = b / 1e6; return (m < 10 ? m.toFixed(1) : Math.round(m)) + ' MB'; };const DL_ICON = '<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M12 4v11m0 0-4-4m4 4 4-4M5 20h14"/></svg>';@@ -138,7 +139,7 @@document.querySelector('.hero-sub').textContent = T.heroSub(n);document.querySelector('[data-i18n="browse"]').textContent = T.browse(n);$('heroSeries').innerHTML = SERIES.map((k) => [k, poses.filter((p) => p.series === k).length]).filter((x) => x[1])- .map(([k, c]) => '<span><i style="background:' + CATS[k][0][1] + '"></i>' + esc(T.series[k]) + '<b>' + c + '</b></span>').join('');+ .map(([k, c]) => '<span><i style="background:' + SERIES_TINT[k] + '"></i>' + esc(T.series[k]) + '<b>' + c + '</b></span>').join('');document.querySelectorAll('[data-pack-size]').forEach((el) => {const k = PACKS && PACKS.packs[el.dataset.packSize];el.textContent = k ? mb(k.bytes) : '';@@ -404,7 +405,7 @@'<p class="dl-note">' + esc(T.dlNote(Math.round(P.original.bytes / P.all.bytes))) + '</p>' +row('all', 'main', esc(T.dlAll) + ' <em>' + esc(T.dlRec) + '</em>', T.dlSetsAll(P.all.sets)) +'<h3>' + esc(T.dlBySeries) + '</h3>' +- series.map((k) => row(k, '', esc(T.series[k]), T.dlSets(P[k].sets), CATS[k][0][1])).join('') ++ series.map((k) => row(k, '', esc(T.series[k]), T.dlSets(P[k].sets), SERIES_TINT[k])).join('') +'<h3 class="dl-sep">' + esc(T.dlOriginal) + '</h3>' +row('original', 'orig', esc(T.dlOriginalAll), '');}diff --git a/web/index.html b/web/index.htmlindex 6c4701d0..38940ddf 100644--- a/web/index.html+++ b/web/index.html@@ -24,12 +24,13 @@ __HEAD__<a href="__CHANGELOG__" data-i18n="navChangelog"></a></div><div class="nav-tools">- <label class="search">- <span class="sr" data-i18n="search"></span>- <input id="q" type="search" autocomplete="off" data-i18n-ph="search">- <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>- </label>- <button type="button" class="circle" id="lang" data-i18n-aria="langLabel"></button>+ <div class="lang-menu">+ <button type="button" class="pill light small lang-btn" id="lang" aria-expanded="false" aria-controls="langList" data-i18n-aria="langLabel">+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18"/></svg><span id="langName"></span>+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>+ </button>+ <nav class="lang-list" id="langList" data-i18n-aria="langLabel" hidden></nav>+ </div><button type="button" class="circle" id="theme" data-i18n-aria="theme"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg></button>@@ -47,11 +48,12 @@ __HEAD__<div class="mq-row mq-l" id="mq1"></div><div class="mq-row mq-r" id="mq2"></div></div>+ <div class="hero-series" id="heroSeries"></div><div class="cta"><a class="pill dark big" href="#all"><span data-i18n="browse"></span><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M12 5v14m0 0-6-6m6 6 6-6"/></svg></a>- <a class="pill light big" href="__REPO__/releases/latest">- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M12 4v11m0 0-4-4m4 4 4-4M5 20h14"/></svg><span data-i18n="downloadAll"></span></a>+ <button type="button" class="pill light big" data-open="dl" aria-haspopup="dialog">+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M12 4v11m0 0-4-4m4 4 4-4M5 20h14"/></svg><span data-i18n="downloadAll"></span><b class="size-tag" data-pack-size="all"></b></button></div><div class="works"><span class="eyebrow" data-i18n="worksWith"></span>@@ -59,16 +61,6 @@ __HEAD__</div></header>-<section class="wrap section" aria-labelledby="new-title">- <div class="sec-head">- <h2 id="new-title" data-i18n="newTitle"></h2>- <button type="button" class="linkarrow" id="viewNew"><span data-i18n="viewAll"></span>- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M5 12h14m0 0-6-6m6 6-6 6"/></svg></button>- </div>- <p class="sec-sub" data-i18n="newSub"></p>- <div class="featured" id="featured"></div>-</section>-<section class="wrap section" id="all" aria-labelledby="all-title"><div class="sec-head"><h2 id="all-title" data-i18n="allTitle"></h2>@@ -134,7 +126,7 @@ __NOSCRIPT__<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M12 4v11m0 0-4-4m4 4 4-4M5 20h14"/></svg><span id="lbDlText"></span></a><div class="lb-row"><button type="button" class="pill light" id="lbCopyId" data-i18n="copyId"></button>- <a class="pill light" href="__REPO__/releases/latest" data-i18n="fullZip"></a>+ <button type="button" class="pill light" data-open="dl" aria-haspopup="dialog" data-i18n="fullZip"></button></div><div class="lb-row"><button type="button" class="pill light" id="lbShare">@@ -156,6 +148,10 @@ __NOSCRIPT__<div class="info-h"><h2 id="termsT" data-i18n="termsTitle"></h2><button type="button" class="circle" data-close data-i18n-aria="close"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div><ul id="termsList"></ul></dialog>+<dialog class="info dl" id="dlgDl" aria-labelledby="dlT">+ <div class="info-h"><div><h2 id="dlT" data-i18n="downloadAll"></h2><p class="dl-lic" id="dlLic"></p></div><button type="button" class="circle" data-close data-i18n-aria="close"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div>+ <div id="dlBody"></div>+</dialog><dialog class="sheet" id="sheet" aria-labelledby="sheetT"><span class="grip" aria-hidden="true"></span><div class="info-h"><h2 id="sheetT" data-i18n="filters"></h2><button type="button" class="circle" data-close data-i18n-aria="close"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div>@@ -168,7 +164,7 @@ __NOSCRIPT__<div class="toast" id="toast" role="status" aria-live="polite"></div><script id="catalog" type="application/json">__CATALOG__</script>-<script>window.SHISEI = { repo: '__REPO__', version: '__VERSION__', base: '__BASE__', lang: '__LOC__' };</script>+<script>window.SHISEI = { repo: '__REPO__', version: '__VERSION__', base: '__BASE__', lang: '__LOC__', packs: __PACKS__ };</script><script src="__BASE__i18n.js?v=__VERSION__"></script><script src="__BASE__common.js?v=__VERSION__"></script><script src="__BASE__app.js?v=__VERSION__"></script>