MediaWiki:Common.css

/* */ /***** CSS placed here will be applied to all skins on the entire site. *****/ /* Infobox colors */ @import url("/load.php?mode=articles&articles=MediaWiki:InfoboxColors.css|MediaWiki:Infoboxes.css&only=styles");

/* Infobox template styling

Following the change to portable infoboxes in late 2015, the .infobox classes are deprecated, as  portable infobox code does not use them at all.

However, if you'd like to use these classes on   templates that are NOT infoboxes (because you like their   style), please use the "info-box" classes instead.

This will help to render on mobile and to give better data for several Special page reports.



.info-box, .infobox { float: right; clear: right; margin: 0 0 .5em 1em; width: 250px; background: none; border-collapse: collapse; border-width: 0px; font-size: 0.8em; line-height: 1.5; } .info-box table.info-boxtable, .infobox table.infoboxtable { background:#f0f0f0; float:right; margin:0; width:100%; border-collapse:collapse; } .info-box td.info-boximage, .infobox td.infoboximage { padding:0; text-align:center; } .info-box th.info-boxheading, .infobox th.infoboxheading { font-weight:bold; text-align:center; color:#ffffff; font-size:larger; } .info-box th.info-boxsubheading, .infobox th.infoboxsubheading { vertical-align:top; text-align:left; font-weight:normal; } .info-box td.info-boxlabel, .info-box td.info-boxcell, .infobox td.infoboxlabel, .infobox td.infoboxcell { vertical-align: middle; }

/* ugly hack to force normal height for infobox cells */ .info-boxcell p, .infoboxcell p { margin-top: 0px; margin-bottom: 0px; } /* .infoboxcell ul { list-style-type: disc; } */

.info-boxcell ul li, .infoboxcell ul li { padding-left: 0; margin-left: 0; list-style-type: square; }

/* Fix to hide random extra lines in infobox subheaders. */ .info-boxsubheading p, .infoboxsubheading p { display: none; } .info-box div.plainlinks, .infobox div.plainlinks { color: #fff; } .info-box div.plainlinks a, .infobox div.plainlinks a { color: #f0f0f0; }

.info-boxtable tr:nth-child(even), .infoboxtable tr:nth-child(even) { background-color: #F9F9F9 }