Files
probably-rendering-one-more…/apps/wiki/public/layout-recipes/vertical-rail.html
T
codex-bot 9e70ded549
wiki CI and deployment / verify-and-deploy (push) Failing after 3m39s
Improve small text contrast on dark layout panels
2026-10-26 14:14:56 +08:00

30 lines
1.9 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>窄轨竖排 · 排版示例</title>
<style>
*{box-sizing:border-box}
body{margin:0;background:#e4e6e1;color:#243230}
.pl-frame{width:min(100%,1080px);margin-inline:auto;container-type:inline-size}
.pl-sheet{--paper:#f5f3ec;--ink:#243230;--muted:#9aa6a5;--deep:#5d706e;position:relative;isolation:isolate;width:100%;aspect-ratio:3/4;overflow:hidden;background:var(--paper);color:var(--ink);font-size:1cqw;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif}
.pl-sheet .panel{position:absolute;background:var(--muted)}
.pl-sheet .title{position:absolute;margin:0;font-weight:500;line-height:1.12;max-width:86%;overflow-wrap:anywhere}
.pl-sheet .copy{position:absolute;margin:0;font-size:2.22em;line-height:1.65;white-space:pre-line}
.pl-sheet .edition{position:absolute;left:7%;right:7%;bottom:2.5%;display:flex;justify-content:space-between;border-top:.1em solid currentColor;padding-top:.7em;font-size:1.6em;letter-spacing:.08em}
.pl-sheet.monumental-type .edition,.pl-sheet.split-contrast .edition{color:var(--paper)}
@media print{@page{size:1080px 1440px;margin:0}body{background:transparent}.pl-frame{width:1080px;max-width:none}.pl-sheet{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.pl-sheet.vertical-rail .panel-a{left:7%;top:12%;width:64%;height:76%;background:var(--deep)}.pl-sheet.vertical-rail .title{right:8%;top:13%;writing-mode:vertical-rl;font-size:6.3em;letter-spacing:.15em}.pl-sheet.vertical-rail .copy{left:7%;bottom:5%;width:64%}
</style>
</head>
<body>
<div class="pl-frame"><article class="pl-sheet vertical-rail" aria-label="窄轨竖排排版示例">
<div class="panel panel-a" aria-hidden="true"></div>
<h1 class="title">静物的秩序</h1>
<p class="copy">空间研究 / 第二辑 / 2026</p>
<div class="edition"><span>FORM / STUDIES</span><span>2026 · 02</span></div>
</article></div>
</body>
</html>