跳转到内容

Module:Hatnote/styles.css:修订间差异

勤求古训,博采众方
删除的内容 添加的内容
补充 Parsoid 兼容:span.mw-empty-elt 选择器
从 zhwiki 导入并适配
 
第7行: 第7行:
/* @noflip */
/* @noflip */
padding-left: 2em;
padding-left: 2em;
margin-bottom: 0.8em;
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;*/
}
}


.hatnote + span.mw-empty-elt + .hatnote,
.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 {
.hatnote + link + .hatnote {
margin-top: -0.5em;
margin-top: -0.5em;

2026年7月25日 (六) 23:17的最新版本

/* {{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;
	}
}