模块:Hatnote/styles.css

来自BinWiki
>OctoberSama2025年6月30日 (一) 19:01的版本 (创建页面,内容为“{{pp-template|small=yes}}:​ .hatnote { font-size: small; } div.hatnote { @noflip:​ padding-left: 2em; margin-bottom: 0.8em; 小于1.2可能会导致错行问题:​ margin-top: 0.8em; background: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/26px-Disambig_gray.svg.png) no-repeat;:​ } .hatnote-notice-img::after { content: "\202f\202f\202f\202f"; } .hatnote-notice-img-small::after { content: "\202f\202f"; } /*…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* {{pp-template|small=yes}} */
.hatnote {
	font-size: small;
}

div.hatnote {
	/* @noflip */
	padding-left: 2em;
	margin-bottom: 0.8em; /* 小于1.2可能会导致错行问题 */
	margin-top: 0.8em;
	/* background: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/26px-Disambig_gray.svg.png) no-repeat;*/
}

.hatnote-notice-img::after {
	content: "\202f\202f\202f\202f";
}

.hatnote-notice-img-small::after {
	content: "\202f\202f";
}

/* The templatestyles element inserts a link element before hatnotes.
 * TODO: Remove link if/when WMF resolves T200206 */
.hatnote + link + .hatnote {
	margin-top: -0.5em;
}

body.skin-minerva .hatnote-notice-img,
body.skin-minerva .hatnote-notice-img-small {
	display: none;
}

@media print {
	body.ns-0 .hatnote {
		display: none !important;
	}
}