Template:图书排版/styles.css:修订间差异

删除的内容 添加的内容
以 heti 官方规则为底补齐版式类,并把版式改为模板参数开关({{图书排版|行间注}} 等)
以 heti 官方规则为底补齐版式类,并把版式改为模板参数开关({{图书排版|行间注}} 等)
第300行:
.heti--poetry.heti--columns-3 p,
.heti--poetry.heti--columns-4 p {
text-indent: 0;
}
 
/* <poem> 在多栏内:诗行不缩进。
多栏规则(.heti--columns-* p)设了 text-indent:2em,对诗行不合适——
<poem> 输出 <div class="poem"><p>…</p></div>,故用「多栏类 + .poem + p」
提升特异性覆盖它。这样 {{图书排版|双栏}} + <poem> 即为「左对齐、不缩进、多栏」的诗栏。 */
.heti--columns-1 .poem p,
.heti--columns-2 .poem p,
.heti--columns-3 .poem p,
.heti--columns-4 .poem p {
text-indent: 0;
}