Jump to content

MediaWiki:Common.css: Difference between revisions

From The Aetherium Expanse Wiki
Automated sync from wiki-stories repository
Automated sync from wiki-stories repository
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
.infobox-image-wrap {
.infobox-image-wrap {
   line-height: 0;
   line-height: 0;
   margin: 0.75em 0 0;
   padding: 0.75em;
   padding: 0;
   margin: 0;
   overflow: hidden;
   overflow: hidden;
  background: linear-gradient(180deg, #eef1f5 0%, #f8f9fa 100%);
  border-bottom: 1px solid #d8dde3;
}
}


Line 26: Line 28:
   display: block;
   display: block;
   vertical-align: bottom;
   vertical-align: bottom;
  border-radius: 4px;
  border: 1px solid #c5ccd3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.infobox-image-caption {
  margin: 0.55em 0 0;
  padding: 0;
  line-height: 1.35;
  font-size: 0.82em;
  color: #54595d;
  text-align: center;
  font-style: italic;
}
}



Latest revision as of 01:49, 21 June 2026

/* Paste into MediaWiki:Common.css on the wiki (Site admin → Common.css). */

.infobox {
  font-size: 0.95em;
  line-height: 1.45;
}

.infobox small,
.infobox .wikitable {
  font-size: inherit;
}

.infobox-image-wrap {
  line-height: 0;
  padding: 0.75em;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #eef1f5 0%, #f8f9fa 100%);
  border-bottom: 1px solid #d8dde3;
}

.infobox-image-wrap img,
.infobox img.infobox-image {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  display: block;
  vertical-align: bottom;
  border-radius: 4px;
  border: 1px solid #c5ccd3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.infobox-image-caption {
  margin: 0.55em 0 0;
  padding: 0;
  line-height: 1.35;
  font-size: 0.82em;
  color: #54595d;
  text-align: center;
  font-style: italic;
}

.infobox-belligerents th {
  font-weight: bold;
  font-size: inherit;
}

.infobox-belligerents td {
  font-size: inherit;
}