MediaWiki:Common.css: Difference between revisions
Dragon 12dk (talk | contribs) No edit summary |
Dragon 12dk (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
*/ | */ | ||
/* | /* Common: keep aspect ratio, don't let max-width rules interfere */ | ||
table.infobox.ib-country .infobox-image img{ | |||
height: auto !important; | height: auto !important; | ||
max-width: none !important; | max-width: none !important; | ||
} | } | ||
/* Flag block (your div:nth-child(1)) */ | |||
width: | table.infobox.ib-country .infobox-image > div:nth-child(1) img{ | ||
width: 125px !important; | |||
} | |||
/* Coat of arms block (your div:nth-child(2)) */ | |||
table.infobox.ib-country .infobox-image > div:nth-child(2) img{ | |||
width: 85px !important; /* change to whatever you want */ | |||
} | } | ||