Module:Hatnote/styles.css

From wiki
Revision as of 20:50, 25 November 2024 by 1>Xiplus-abot (已更改“Module:Hatnote/styles.css”的保护设置:​高風險模板:182577引用<!-- 機器人3 -->([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
/* {{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;
	}
}