Template:图书排版/styles.css

WikiBot​(留言 | 贡献)2026年9月6日 (日) 20:50的版本 (新增行间注(ruby)基础样式(批次10))
div.mw-parser-output{
	background-color:#f6f4f0; 
}

h2 { font-size: 1.75rem }
h3 { font-size: 1.5rem }
h4 { font-size: 1.25rem }
h5 { font-size: 1.125rem }
h6 { font-size: 1rem }

h2,h3,h4,h5,h6 {
	font-weight: bold;
    font-family: Georgia, -apple-system, 'Nimbus Roman No9 L', 'PingFang SC', 'Hiragino Sans GB', 'Noto Serif SC', 'Microsoft Yahei UI', 'WenQuanYi Micro Hei', 'ST Heiti', sans-serif;
}

p {
	font-size: 120%;
	text-indent:2em;
    font-family: Georgia, -apple-system, 'Nimbus Roman No9 L', 'PingFang SC', 'Hiragino Sans GB', 'Noto Serif SC', 'Microsoft Yahei UI', 'WenQuanYi Micro Hei', 'ST Heiti', sans-serif;
}
/* 行间注(ruby):wikitext 直接写 <ruby>被注字<rt>注文</rt></ruby> */
ruby { ruby-align: center; }
ruby rt { font-size: 0.55em; font-weight: normal; }
.mw-parser-output .heti--annotation p { line-height: 2.25; }