MediaWiki:Common.css: Difference between revisions
Dragon 12dk (talk | contribs) No edit summary |
Dragon 12dk (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
*/ | */ | ||
/* | /* Safety: keep aspect ratio */ | ||
table.infobox.ib-country . | table.infobox.ib-country.vcard > tbody > tr:nth-child(2) > td img { | ||
height: auto !important; | height: auto !important; | ||
max-width: none !important; | max-width: none !important; | ||
} | } | ||
/* Flag | /* Flag: td > div > div:nth-child(1) ... img */ | ||
table.infobox.ib-country . | table.infobox.ib-country.vcard > tbody > tr:nth-child(2) > td > div > div:nth-child(1) img { | ||
width: 125px !important; | width: 125px !important; | ||
} | } | ||
/* Coat of arms | /* Coat of arms: td > div > div:nth-child(2) ... img */ | ||
table.infobox.ib-country . | table.infobox.ib-country.vcard > tbody > tr:nth-child(2) > td > div > div:nth-child(2) img { | ||
width: 85px !important; | width: 85px !important; | ||
} | } | ||