Template:Infobox/Styles.css
跳转到导航
跳转到搜索
/* The caption element is usually aligned to the left in the mobile skin, but this makes inconsistent with
the desktop skin (Vector) while the element is used in infobox, this fixes that. */
.mw-parser-output table.infobox.ib-country td,
.mw-parser-output table.infobox.ib-country th {
border: none !important;
background-color: pink !important; /* 可选,用于验证是否生效 */
}
.mw-parser-output table.infobox.ib-country th {
background-color: lightblue !important;
}
.mw-parser-output .infobox td,
.mw-parser-output .infobox th,
.mw-parser-output .ib-country td,
.mw-parser-output .ib-country th {
border: none !important;
}
body.skin-minerva table.infobox caption {
text-align: center;
}
.infobox .infobox-image,
.infobox .infobox-image > div,
.infobox .infobox-caption {
text-align: center;
}
.infobox .infobox-caption {
font-size: 90%;
padding: 0.2em 0;
}