模块:Hatnote/styles.css:修订间差异

来自BinWiki
>OctoberSama
创建页面,内容为“{{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"; } /*…”
 
导入3个版本
 
(未显示1个用户的2个中间版本)
第9行: 第9行:
margin-bottom: 0.8em; /* 小于1.2可能会导致错行问题 */
margin-bottom: 0.8em; /* 小于1.2可能会导致错行问题 */
margin-top: 0.8em;
margin-top: 0.8em;
/* background: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/26px-Disambig_gray.svg.png) no-repeat;*/
/* background: url(/images/thumb/5/5f/Disambig_gray.svg/220px-Disambig_gray.svg.png) no-repeat;*/
}
}



2025年9月16日 (二) 23:11的最新版本

/* {{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(/images/thumb/5/5f/Disambig_gray.svg/220px-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;
	}
}