Spaces:
Running
Running
Download htlb/pdf-src/cover.html from Ethscriptions/waimai: direct link, hf CLI and curl.
- Browser
- Download file 8.57 kB
-
https://huggingface.co/spaces/Ethscriptions/waimai/resolve/main/htlb/pdf-src/cover.html
- Command line
-
hf download hf://spaces/Ethscriptions/waimai/htlb/pdf-src/cover.html
-
curl -L -o cover.html https://huggingface.co/spaces/Ethscriptions/waimai/resolve/main/htlb/pdf-src/cover.html
8.57 kB
| <html lang="zh-CN"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>高性价比人生指南 · 765 条建议全集 · 封面</title> | |
| <style> | |
| @page { size: 210mm 297mm; margin: 0; } | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| html, body { width: 210mm; height: 297mm; } | |
| body { | |
| position: relative; overflow: hidden; | |
| background: #1b1612; | |
| color: #F3EBDD; font-family: "Noto Sans CJK SC", sans-serif; | |
| -webkit-print-color-adjust: exact; print-color-adjust: exact; | |
| } | |
| .frame { position: absolute; inset: 10mm; border: 0.5mm solid #C9A45C; } | |
| .frame:after { content: ""; position: absolute; inset: 1.6mm; border: 0.2mm solid rgba(201,164,92,.55); } | |
| .kicker { position: absolute; top: 24mm; left: 0; right: 0; text-align: center; font-size: 8.5pt; letter-spacing: 1.2em; padding-left: 1.2em; color: #C9A45C; font-weight: 700; } | |
| .title { position: absolute; top: 36mm; left: 0; right: 0; text-align: center; font-family: "Noto Serif CJK SC", serif; font-weight: 900; font-size: 64pt; line-height: 1.12; letter-spacing: .06em; color: #F6EEDF; } | |
| .sub { position: absolute; top: 108mm; left: 0; right: 0; text-align: center; font-family: "Noto Serif CJK SC", serif; font-weight: 700; font-size: 22pt; letter-spacing: .35em; padding-left: .35em; } | |
| .rule { position: absolute; top: 123mm; left: 72mm; right: 72mm; height: 0; border-top: 0.4mm solid #C9A45C; } | |
| .rule:before, .rule:after { content: ""; position: absolute; top: -1.2mm; width: 2mm; height: 2mm; background: #C9A45C; transform: rotate(45deg); } | |
| .rule:before { left: -4mm; } .rule:after { right: -4mm; } | |
| .tag { position: absolute; top: 129mm; left: 0; right: 0; text-align: center; font-size: 11pt; letter-spacing: .3em; padding-left: .3em; color: rgba(243,235,221,.72); } | |
| /* 小票 */ | |
| .ticket { position: absolute; top: 147mm; left: 50%; width: 92mm; margin-left: -46mm; transform: rotate(-3deg); background: #F6F1E7; color: #1c1a17; padding: 6mm 7mm 8mm; } | |
| .ticket-shadow { position: absolute; top: 149.5mm; left: 50%; width: 92mm; height: 70mm; margin-left: -44mm; transform: rotate(-3deg); background: #0b0907; opacity: .55; } | |
| .zig { position: absolute; left: 0; bottom: -3mm; width: 100%; height: 3mm; display: block; } | |
| .t-head { display: flex; justify-content: space-between; font-size: 7.5pt; font-weight: 700; color: #857e73; letter-spacing: .05em; } | |
| .t-title { font-family: "Noto Serif CJK SC", serif; font-weight: 900; font-size: 13pt; margin-top: 2.5mm; line-height: 1.35; } | |
| .cut { border-top: 0.4mm dashed rgba(28,26,23,.3); margin: 3.2mm -7mm; } | |
| .row { display: flex; font-size: 8.6pt; line-height: 1.55; margin-top: 1.6mm; } | |
| .row b { flex: 0 0 11mm; font-weight: 900; } | |
| .row .c { color: #B7791F; } .row .g { color: #0B7A57; } .row .e { color: #C8102E; } | |
| .bars { margin-top: 3.5mm; height: 7mm; width: 52mm; display: block; } | |
| .stamp { position: absolute; right: 6mm; bottom: 6mm; width: 24mm; height: 24mm; border-radius: 50%; border: 1mm solid #C8102E; color: #C8102E; transform: rotate(-14deg); display: flex; flex-direction: column; align-items: center; justify-content: center; } | |
| .stamp:before { content: ""; position: absolute; inset: 1.2mm; border-radius: 50%; border: .3mm solid #C8102E; } | |
| .stamp b { font-family: "Noto Serif CJK SC", serif; font-size: 22pt; line-height: 1; font-weight: 900; } | |
| .stamp small { font-size: 6.5pt; font-weight: 700; letter-spacing: .2em; margin-top: .6mm; } | |
| /* 数据 */ | |
| .stats { position: absolute; top: 224mm; left: 22mm; right: 22mm; display: flex; justify-content: space-between; text-align: center; } | |
| .stats div { flex: 1; } | |
| .stats b { display: block; font-family: "Noto Serif CJK SC", serif; font-weight: 900; font-size: 20pt; color: #E4C27A; line-height: 1.15; } | |
| .stats small { display: block; font-size: 7.5pt; color: rgba(243,235,221,.66); letter-spacing: .1em; margin-top: .8mm; } | |
| .stats i { flex: 0 0 0; border-left: 0.2mm solid rgba(201,164,92,.45); } | |
| .foot { position: absolute; bottom: 19mm; left: 0; right: 0; text-align: center; font-size: 8pt; line-height: 1.85; color: rgba(243,235,221,.78); } | |
| .foot b { color: #F3EBDD; font-weight: 700; } | |
| .foot .ed { color: #C9A45C; letter-spacing: .2em; font-size: 7.5pt; margin-top: 1.5mm; } | |
| </style> | |
| </head> | |
| <body> | |
| <svg class="glow" viewBox="0 0 210 297" preserveAspectRatio="none" style="position:absolute;inset:0;width:210mm;height:297mm"><ellipse cx="105" cy="70" rx="150" ry="120" fill="#211b15"/><ellipse cx="105" cy="66" rx="115" ry="90" fill="#272017"/><ellipse cx="105" cy="62" rx="80" ry="62" fill="#2e261b"/><ellipse cx="105" cy="58" rx="48" ry="38" fill="#352b1f"/></svg> | |
| <div class="frame"></div> | |
| <div class="kicker">HOW TO LIVE BETTER</div> | |
| <h1 class="title">高性价比<br>人生指南</h1> | |
| <div class="sub">765 条建议全集</div> | |
| <div class="rule"></div> | |
| <div class="tag">花掉什么 · 换回什么 · 证据多硬</div> | |
| <div class="ticket-shadow"></div> | |
| <div class="ticket"> | |
| <div class="t-head"><span>第 1 节 · 第 1 条</span><span>No.01-01</span></div> | |
| <div class="t-title">系安全带,前排后排都系</div> | |
| <div class="cut"></div> | |
| <div class="row"><b class="c">花掉</b><span>不花钱。每次上车多花 2 秒。</span></div> | |
| <div class="row"><b class="g">换回</b><span>出车祸时被撞死的概率降四成多。</span></div> | |
| <div class="row"><b class="e">证据</b><span>A 级 · 性价比极高</span></div> | |
| <div class="cut"></div> | |
| <svg class="bars" viewBox="0 0 104 14" preserveAspectRatio="none" fill="#1c1a17"><rect x="0.0" y="0" width="1" height="14"/><rect x="4.0" y="0" width="0.6" height="14"/><rect x="12.0" y="0" width="0.6" height="14"/><rect x="14.0" y="0" width="0.6" height="14"/><rect x="15.6" y="0" width="0.6" height="14"/><rect x="16.8" y="0" width="0.6" height="14"/><rect x="18.0" y="0" width="0.6" height="14"/><rect x="22.0" y="0" width="0.6" height="14"/><rect x="24.0" y="0" width="0.6" height="14"/><rect x="26.0" y="0" width="0.6" height="14"/><rect x="28.0" y="0" width="1.6" height="14"/><rect x="30.6" y="0" width="1.6" height="14"/><rect x="32.8" y="0" width="0.6" height="14"/><rect x="34.0" y="0" width="0.6" height="14"/><rect x="36.0" y="0" width="1.6" height="14"/><rect x="39.0" y="0" width="1.6" height="14"/><rect x="41.2" y="0" width="0.6" height="14"/><rect x="47.4" y="0" width="0.6" height="14"/><rect x="49.4" y="0" width="1" height="14"/><rect x="51.4" y="0" width="1.6" height="14"/><rect x="54.0" y="0" width="0.6" height="14"/><rect x="55.6" y="0" width="1.6" height="14"/><rect x="57.8" y="0" width="0.6" height="14"/><rect x="59.4" y="0" width="1.6" height="14"/><rect x="68.2" y="0" width="0.6" height="14"/><rect x="69.8" y="0" width="1.6" height="14"/><rect x="74.0" y="0" width="1" height="14"/><rect x="76.0" y="0" width="1" height="14"/><rect x="78.0" y="0" width="1.6" height="14"/><rect x="83.4" y="0" width="0.6" height="14"/><rect x="84.6" y="0" width="0.6" height="14"/><rect x="86.2" y="0" width="1" height="14"/><rect x="88.6" y="0" width="0.6" height="14"/><rect x="90.6" y="0" width="1.6" height="14"/><rect x="93.2" y="0" width="0.6" height="14"/><rect x="100.6" y="0" width="0.6" height="14"/></svg> | |
| <svg class="zig" viewBox="0 0 92 3" preserveAspectRatio="none"><path fill="#F6F1E7" d="M0 0 L1.533 3 L3.067 0 L4.600 3 L6.133 0 L7.667 3 L9.200 0 L10.733 3 L12.267 0 L13.800 3 L15.334 0 L16.867 3 L18.400 0 L19.933 3 L21.467 0 L23.000 3 L24.534 0 L26.067 3 L27.600 0 L29.134 3 L30.667 0 L32.200 3 L33.734 0 L35.267 3 L36.800 0 L38.334 3 L39.867 0 L41.400 3 L42.934 0 L44.467 3 L46.001 0 L47.534 3 L49.067 0 L50.600 3 L52.134 0 L53.667 3 L55.201 0 L56.734 3 L58.267 0 L59.801 3 L61.334 0 L62.867 3 L64.401 0 L65.934 3 L67.467 0 L69.001 3 L70.534 0 L72.067 3 L73.601 0 L75.134 3 L76.668 0 L78.201 3 L79.734 0 L81.267 3 L82.801 0 L84.334 3 L85.868 0 L87.401 3 L88.934 0 L90.468 3 L92.001 0 Z"/></svg> | |
| <div class="stamp"><b>A</b><small>证据等级</small></div> | |
| </div> | |
| <div class="stats"> | |
| <div><b>34</b><small>个主题</small></div><i></i> | |
| <div><b>765</b><small>条建议</small></div><i></i> | |
| <div><b>495</b><small>条 A 级证据</small></div><i></i> | |
| <div><b>122</b><small>条性价比极高</small></div> | |
| </div> | |
| <div class="foot"> | |
| <div>原书 <b>eternity4719</b> · github.com/eternity4719/HowToLiveBetter · 正文 CC BY 4.0</div> | |
| <div>整理与排版 <b>@子木土土</b>(小红书号:95424555310)</div> | |
| <div class="ed">2026 年 10 月版 · 数据同步于 2026-10-18</div> | |
| </div> | |
| </body> | |
| </html> | |