Template:图书排版/styles.css

WikiBot​(留言 | 贡献)2026年9月7日 (一) 08:44的版本 (古籍纸阅读:纸色/文字色固定不随暗色主题变化(批次14))
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; }
/* —— 古籍纸阅读:纸色与文字色固定,不随皮肤暗色主题变化 —— */
div.mw-parser-output { background-color: #f6f4f0 !important; }
.mw-parser-output { color: #202122; }
.mw-parser-output a { color: #0645ad; }
/* —— 古籍纸阅读:纸色与文字色固定,不随皮肤暗色主题变化 —— */
div.mw-parser-output { background-color: #f6f4f0 !important; }
.mw-parser-output { color: #202122; }
.mw-parser-output a { color: #0645ad; }