MediaWiki:Common.css: Difference between revisions
Appearance
EkramHossen (talk | contribs) No edit summary |
EkramHossen (talk | contribs) No edit summary Tag: Reverted |
||
Line 92: | Line 92: | ||
padding: 15px; | padding: 15px; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
} | |||
img.verified-badge { | |||
vertical-align: middle; | |||
height: 18px; | |||
} | } |
Revision as of 11:51, 24 July 2025
/* CSS placed here will be applied to all skins */ /* Infoboxes */ .infobox { border: 1px solid #a2a9b1; color: black; padding: 0.2em; font-size: 88%; line-height: 1.5em; border-spacing: 3px; } @media screen { .infobox { background-color: #f8f9fa; } } @media (max-width: 640px) { .infobox { width: 100%; } .infobox .nowrap { white-space: normal; } } @media (min-width: 640px) { .infobox { margin: 0.5em 0 0.5em 1em; float: right; clear: right; width: 22em; } } .infobox-header, .infobox-label, .infobox-above, .infobox-full-data, .infobox-data, .infobox-below, .infobox-subheader, .infobox-image, .infobox-navbar, .infobox th, .infobox td { vertical-align: top; } .infobox-label, .infobox-data, .infobox th, .infobox td { text-align: left; } .infobox .infobox-above, .infobox .infobox-title, .infobox caption { font-size: 125%; font-weight: bold; text-align: center; } .infobox-title, .infobox caption { padding: 0.2em; } .infobox .infobox-header, .infobox .infobox-subheader, .infobox .infobox-image, .infobox .infobox-full-data, .infobox .infobox-below { text-align: center; } .infobox .infobox-navbar { text-align: right; } /* Infoboxes end */ body { background-color: #fff; } div.main-box { border: 1px solid #ccc; border-radius: 10px; padding: 15px; background: #f9f9f9; } img.verified-badge { vertical-align: middle; height: 18px; }