MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→Paste into MediaWiki:Common.css on the wiki (Site admin → Common.css).: .infobox { font-size: 0.95em; line-height: 1.45; } .infobox small, .infobox .wikitable { font-size: inherit; } .infobox-image, .infobox img { display: block; max-width: 100%; height: auto; margin: 0 auto; } .infobox-belligerents th { font-weight: bold; font-size: inherit; } .infobox-belligerents td { font-size: inherit; }" |
Automated sync from wiki-stories repository |
||
| Line 11: | Line 11: | ||
} | } | ||
.infobox-image, | .infobox-image-wrap { | ||
.infobox img { | line-height: 0; | ||
margin: 0.75em 0 0; | |||
padding: 0; | |||
overflow: hidden; | |||
} | |||
.infobox-image-wrap img, | |||
.infobox img.infobox-image { | |||
width: 100%; | |||
max-width: none; | |||
height: auto; | |||
margin: 0; | |||
display: block; | display: block; | ||
vertical-align: bottom; | |||
} | } | ||
Revision as of 01:27, 21 June 2026
/* Paste into MediaWiki:Common.css on the wiki (Site admin → Common.css). */
.infobox {
font-size: 0.95em;
line-height: 1.45;
}
.infobox small,
.infobox .wikitable {
font-size: inherit;
}
.infobox-image-wrap {
line-height: 0;
margin: 0.75em 0 0;
padding: 0;
overflow: hidden;
}
.infobox-image-wrap img,
.infobox img.infobox-image {
width: 100%;
max-width: none;
height: auto;
margin: 0;
display: block;
vertical-align: bottom;
}
.infobox-belligerents th {
font-weight: bold;
font-size: inherit;
}
.infobox-belligerents td {
font-size: inherit;
}