Jump to content

MediaWiki:Common.css: Difference between revisions

From WikiChilopoda
Created page with "CSS placed here will be applied to all skins: .infobox { float: right; clear: right; width: 280px; margin: 0 0 1em 1em; border: 1px solid #aaa; background: #f9f9f9; font-size: 90%; } .infobox-title { background: #f2f2ce; font-size: 120%; text-align: center; padding: 6px; } .infobox-header { background: #e6e6cc; text-align: center; font-weight: bold; padding: 4px; } .infobox td { padding: 4px 6px; vertical-align: top; } .infobox-..."
 
No edit summary
 
(49 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
.infobox {
.infobox {
   float: right;
   float: right;
   clear: right;
   clear: right;
   width: 280px;
   margin: 0.5em;
   margin: 0 0 1em 1em;
   width: 260px;
   border: 1px solid #aaa;
   border: 1px solid #a2a9b1;
   background: #f9f9f9;
   background: #f8f9fa;
   font-size: 90%;
   font-size: 88%;
  line-height: 1.45;
  padding: 0.2em;
}
}


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


.infobox-header {
.infobox-image {
   background: #e6e6cc;
   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;
   text-align: center;
   font-weight: bold;
   font-weight: bold;
   padding: 4px;
   font-size: 110%
}
}


.infobox td {
.infobox td {
  padding: 4px 6px;
   vertical-align: top;
   vertical-align: top;
}
}


.infobox-image {
.infobox td:first-child {
   text-align: center;
   width: 40%;
   background: #fff;
   white-space: nowrap;
}
 
.infobox-caption {
  font-size: 90%;
}
}


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


.infobox-authority {
.binomial-name .authority {
   font-size: 90%;
   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;
}