Template:Infobox/Styles.css:修订间差异

来自Kyoshihira Encyclopedia
跳转到导航 跳转到搜索
Lhscogs​(留言 | 贡献)
无编辑摘要
标签:已被回退
Lhscogs​(留言 | 贡献)
无编辑摘要
标签:手工回退
第1行: 第1行:
/* The caption element is usually aligned to the left in the mobile skin, but this makes inconsistent with
/* 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. */  
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 td,

2025年6月30日 (一) 20:06的版本

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