Module:Hatnote/styles.css
外观
/* {{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;
}
}