Jump to content

MediaWiki:Common.css: Difference between revisions

From WikiChilopoda
Tag: Replaced
No edit summary
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
.infobox {
  float: right;
  clear: right;
  margin: 0.5em;
  width: 260px;
  border: 1px solid #a2a9b1;
  background: #f8f9fa;
  font-size: 88%;
  line-height: 1.45;
  padding: 0.2em;
}
 
.infobox-title {
  background: #f2f2ce;
  text-align: center;
  font-weight: bold;
  font-size: 110%;
}
 
.infobox-image {
  background: #f8f9fa;
  text-align: center;
  width: 250px;
  margin: 0 auto;
}
 
.infobox-image img {
  width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}
 
.infobox-section {
  background: #f2f2ce;
  text-align: center;
  font-weight: bold;
  font-size: 110%
}
 
.infobox td {
  vertical-align: top;
}
 
.infobox td:first-child {
  width: 40%;
  white-space: nowrap;
}
 
.binomial-name {
  text-align: center;
  font-style: italic;
  font-weight: bold;
  font-size: 110%;
}
 
.binomial-name .authority {
  font-style: normal;
  font-weight: normal;
}

Latest revision as of 04:23, 31 December 2025

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

.infobox-title {
  background: #f2f2ce;
  text-align: center;
  font-weight: bold;
  font-size: 110%;
}

.infobox-image {
  background: #f8f9fa;
  text-align: center;
  width: 250px;
  margin: 0 auto;
}

.infobox-image img {
  width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.infobox-section {
  background: #f2f2ce;
  text-align: center;
  font-weight: bold;
  font-size: 110%
}

.infobox td {
  vertical-align: top;
}

.infobox td:first-child {
  width: 40%;
  white-space: nowrap;
}

.binomial-name {
  text-align: center;
  font-style: italic;
  font-weight: bold;
  font-size: 110%;
}

.binomial-name .authority {
  font-style: normal;
  font-weight: normal;
}