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 .infobox td,
.mw-parser-output .infobox td,
.mw-parser-output .infobox th {
.mw-parser-output .infobox th,
.mw-parser-output .ib-country td,
.mw-parser-output .ib-country th {
   border: none !important;
   border: none !important;
}
}

2025年6月30日 (一) 19:55的版本

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