跳转到内容

Template:Zy/styles.css:修订间差异

勤求古训,博采众方
删除的内容 添加的内容
移植中文维基 Template:Zy/styles.css(模板样式)
 
注音样式收归本模板:rt 字号改为 .55em,去掉 text-align:justify 与 font-feature-settings
第1行: 第1行:
/* {{Zy}} / {{ZyPy}} 的注音样式。
ruby.zy {
只负责注文本身:.55em 小字(原先由 Template:图书排版 的 ruby rt 规则提供,
text-align: justify;
2026-09 起「图书排版」不再管注音,字号归本模板),user-select:none 避免
text-justify: none;
选中正文时把注文一起带走。
}

注意:段落行距不属于本模板的职责。只要一行里有 <ruby>,行盒就会被撑高,
而 line-height 是整段统一属性,无法只让「含注音的那一行」变高。需要更大
行间空间时请用页面的版式:{{图书排版|行间注}}(行距 2.25)。 */
ruby.zy > rp {
ruby.zy > rp {
user-select: none;
user-select: none;
}
}
ruby.zy > rt {
ruby.zy > rt {
font-feature-settings: 'ruby' 1;
font-size: .55em;
font-size: 90%;
font-weight: normal;
user-select: none;
user-select: none;
}
}

2026年9月17日 (四) 22:20的版本

/* {{Zy}} / {{ZyPy}} 的注音样式。
   只负责注文本身:.55em 小字(原先由 Template:图书排版 的 ruby rt 规则提供,
   2026-09 起「图书排版」不再管注音,字号归本模板),user-select:none 避免
   选中正文时把注文一起带走。

   注意:段落行距不属于本模板的职责。只要一行里有 <ruby>,行盒就会被撑高,
   而 line-height 是整段统一属性,无法只让「含注音的那一行」变高。需要更大
   行间空间时请用页面的版式:{{图书排版|行间注}}(行距 2.25)。 */
ruby.zy > rp {
	user-select: none;
}
ruby.zy > rt {
	font-size: .55em;
	font-weight: normal;
	user-select: none;
}
ruby.zy > rt + rt {
	padding-left: 0.15em;
}