MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
  */
  */


/* Flag (first image row) */
/* Template Infobox Stuff */
.ib-country .infobox-image:nth-of-type(1) img {
 
   width: 125px;
.ib-anthem-label{
  height: auto;
  display:block;
  font-weight:700;
  margin: 0 0 .25em 0;
}
 
.ib-anthem-media{
  display:block;
}
 
/* Safety: keep aspect ratio */
table.infobox.ib-country.vcard > tbody > tr:nth-child(2) > td img {
  height: auto !important;
  max-width: none !important;
}
 
/* Flag: td > div > div:nth-child(1) ... img */
table.infobox.ib-country.vcard > tbody > tr:nth-child(2) > td > div > div:nth-child(1) img {
   width: 125px !important;
}
}


/* Coat of arms (second image row) */
/* Coat of arms: td > div > div:nth-child(2) ... img */
.ib-country .infobox-image:nth-of-type(2) img {
table.infobox.ib-country.vcard > tbody > tr:nth-child(2) > td > div > div:nth-child(2) img {
   width: 85px;
   width: 85px !important;
  height: auto;
}
}