MediaWiki:Infoboxes.css

/* Portable infobox styling that applies to all infoboxes (For template-specific styling  please see MediaWiki:Themes.css) */

.portable-infobox { border: 1px solid #999; background: #FFFFFF; width: 300px !important } .portable-infobox .pi-item-spacing { padding: 0 } .portable-infobox .pi-image, .portable-infobox .pi-background { background: #FFFFFF } .portable-infobox .pi-title { text-align: center; font-weight: bold; padding: 2px; font-size: 13px; line-height: 22px } .portable-infobox .pi-header, .portable-infobox .pi-title { border-bottom: 1px solid #999; } .portable-infobox .pi-header { font-size: 11px; padding: 5px; text-align: center } .portable-infobox .pi-data { padding: 0 } .portable-infobox .pi-data-label, .portable-infobox .pi-data-value { padding: 5px 10px; font-size: 11px; line-height: 14px } .portable-infobox .pi-data-label { -ms-flex-preferred-size: 80px; -webkit-flex-basis: 80px; -moz-flex-basis: 80px; flex-basis: 80px } .portable-infobox .pi-item-spacing, .portable-infobox .pi-group { border-color: #999; } .pi-header a:link, .pi-header a:visited { color: inherit !important }

/* Taking care of use of   in some infoboxes, so that the background is white, as opposed to the bottom navigation, which is typically Gainsboro */

.portable-infobox .pi-navigation:first-child { background-color: #FFFFFF; text-align: center; color: #000000 } .portable-infobox .pi-navigation:first-child a, .portable-infobox .pi-navigation:first-child a:link, .portable-infobox .pi-navigation:first-child a:visited { color: #006CB0 }

/* Horizontal groups This wiki generally seems to prefer its horizontal groups left-justified, rather than centered */

.pi-horizontal-group .pi-header { text-align: left !important; padding: 5px !important } .pi-horizontal-group .pi-horizontal-group-item { text-align: left !important; padding: 2px 5px 5px 5px !important } .portable-infobox .pi-data-value ul { text-indent: -1em; padding-left: 1.5em; padding-top: .25em } .pi-horizontal-group .pi-data-label { background-color: #FFFFFF !important; color: #000000 !important }