Jump to content

MediaWiki:Common.css: Difference between revisions

From WikiChilopoda
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
   float: right;
   float: right;
   clear: right;
   clear: right;
   margin: 0 0 1em 1em;
   margin: 0.5em;
   width: 260px;
   width: 260px;
   border: 1px solid #a2a9b1;
   border: 1px solid #a2a9b1;
Line 8: Line 8:
   font-size: 88%;
   font-size: 88%;
   line-height: 1.45;
   line-height: 1.45;
  padding: 0.2em;
}
}


Line 20: Line 21:
   background: #f8f9fa;
   background: #f8f9fa;
   text-align: center;
   text-align: center;
  width: 250px;
  margin: 0 auto;
}
.infobox-image img {
  width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}
}


Line 26: Line 36:
   text-align: center;
   text-align: center;
   font-weight: bold;
   font-weight: bold;
  font-size: 110%
}
}


.infobox td {
.infobox td {
  padding: 0.5em 0.4em;
   vertical-align: top;
   vertical-align: top;
}
}
Line 42: Line 52:
   font-style: italic;
   font-style: italic;
   font-weight: bold;
   font-weight: bold;
  font-size: 110%;
}
}


Line 47: Line 58:
   font-style: normal;
   font-style: normal;
   font-weight: normal;
   font-weight: normal;
  display: block;
}
}

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