MediaWiki:Themes.css

.portable-infobox { color: #000; margin: 1em 0 1em 1em; border: 1px solid; padding: 5px 10px 10px 10px; font-size: 13px; } .portable-infobox.pi-background { background: transparent; } .portable-infobox .pi-secondary-background { background: #f00; color: #fff; margin: 5px 0px 5px 0px; padding: 3px; font-size: 16px; text-align: center; } .portable-infobox .pi-title { background: #f00; color: #fff; margin: 5px 0px; font-size: 18px; text-align: center; padding: 4px; } .portable-infobox .pi-data-label { font-weight: normal; font-size: 11px; color: #000; flex-basis: 125px; } .portable-infobox .pi-data .pi-data-label { display: flex; align-items: center; /* Center label vertically */ } .portable-infobox .pi-data-value { text-align: right; font-size: 11px; } .portable-infobox .pi-data { border-bottom: 1px solid #BDBDBD; padding: 3px; }