MediaWiki:Infobox.css

.portable-infobox { background-color: black; color: white; border: 1px solid #323232; float: right; clear: right; text-align: left; padding: 3px !important; width: 300px; } .portable-infobox .pi-title{ background: red; color: white; text-align: center; border: 2px solid black; padding:4px !important; font-size: 14px; !important; font-weight: bold; } .portable-infobox .pi-header { padding:4px !important; background: red; color: white; text-align: center; font-size: 13px; !important; border: 1px solid black; } .pi-data { padding: 0px ! important; } .pi-data .pi-data-label { background: maroon; text-align:center; /* not nec., but fallback for Safari */ -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; width: 40%; display:flex; align-items:center; justify-content:center; padding: 3px; } .pi-data .pi-data-value { background: #000000; color: #D5D4D4; padding: 3px; border: 1px solid black; -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; width: 60%; }   .portable-infobox .pi-image .pi-image-thumbnail { width:100%; height: auto; border: 1px solid black; } .pi-border-color { border-color:transparent } .pi-data .pi-data-label:not(:last-child) { border-bottom: 1px solid black; } .pi-data .pi-data-label:first-child { border-top: 1px solid black; }