Difference between revisions of "MediaWiki:Common.css"

From collargoggle codex
Line 18: Line 18:
 
.infobox th {
 
.infobox th {
 
   vertical-align: top;
 
   vertical-align: top;
 +
  text-align: left;
 
}
 
}
 
.infobox caption {
 
.infobox caption {
Line 37: Line 38:
 
.infobox .infobox_subtitle,
 
.infobox .infobox_subtitle,
 
.infobox .infobox_image,
 
.infobox .infobox_image,
.infobox .infobox_caption {
+
.infobox .infobox_caption,
 +
.infobox .infobox_heading {
 
   text-align: center;
 
   text-align: center;
 
}
 
}

Revision as of 12:53, 1 May 2021

/* CSS placed here will be applied to all skins */

/* Make reference lists smaller. */
.mw-references-wrap { font-size: small; } 

/* Infoboxes */
.infobox {
  border: 1px solid #aaaaaa;
  background-color: #f9f9f9;
  color: black;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  float: right;
  clear: right;
}
.infobox td,
.infobox th {
  vertical-align: top;
  text-align: left;
}
.infobox caption {
  font-size: larger;
  margin-left: inherit;
}
.infobox.bordered {
  border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
  border: 0;
}
.infobox .infobox_title,
.infobox .infobox_subtitle,
.infobox .infobox_image,
.infobox .infobox_caption,
.infobox .infobox_heading {
  text-align: center;
}

/* Documentation template */
#template-documentation {
  margin-top: 16px;
  padding: 16px;
  border-width: 3px;
  border-style: dashed;
}