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
.infobox {
the desktop skin (Vector) while the element is used in infobox, this fixes that. */
  border: 1px solid #a2a9b1;
body.skin-minerva table.infobox caption {
  background-color: #f8f9fa;
text-align: center;
  color: black;
  margin: 0.5em 0 0.5em 1em;
  padding: 0.2em;
  float: right;
  clear: right;
  font-size: 88%;
  line-height: 1.5em;
  width: 22em;
}
 
.infobox caption {
  font-size: 125%;
  font-weight: bold;
  text-align: center;
}
 
.infobox td,
.infobox th {
  vertical-align: top;
}
 
.infobox .infobox-above,
.infobox .infobox-subheader,
.infobox caption {
  background-color: #cedff2;
  text-align: center;
}
}

2025年6月30日 (一) 17:02的版本

.infobox {
  border: 1px solid #a2a9b1;
  background-color: #f8f9fa;
  color: black;
  margin: 0.5em 0 0.5em 1em;
  padding: 0.2em;
  float: right;
  clear: right;
  font-size: 88%;
  line-height: 1.5em;
  width: 22em;
}

.infobox caption {
  font-size: 125%;
  font-weight: bold;
  text-align: center;
}

.infobox td,
.infobox th {
  vertical-align: top;
}

.infobox .infobox-above,
.infobox .infobox-subheader,
.infobox caption {
  background-color: #cedff2;
  text-align: center;
}