MediaWiki:Themes.css

.portable-infobox { border-radius: 7px; overflow: hidden; /* Clip the edges created with border-radius */ border: 2px solid #36454F; }

.portable-infobox.pi-background { background: none; }

.portable-infobox .pi-title, .portable-infobox .pi-header { background-image: linear-gradient(to bottom, #B22222 25%, #8B0000 75%); color: #FFFFFF; text-align: center; padding: 5px 0; line-height: 100%; }

.portable-infobox .pi-title { font-weight: bold; }

.portable-infobox .pi-header { padding: 6px 0; font-size: 15px; border: 1px solid #36454F; border-left: none; border-right: none; }

.portable-infobox .pi-header a { color: inherit !important; /* Important required to override site styling */ }

.portable-infobox .pi-border-color { border-color: #36454F; }

.portable-infobox .pi-group { border: none; }

.portable-infobox .pi-data { padding: 0; /* Move the padding to pi-data-value and pi-data-label */ }

.portable-infobox .pi-data-value, .portable-infobox .pi-data-label { padding: 4px 2px; /* Move the padding from pi-data */ }

.portable-infobox :not(.pi-horizontal-group) > .pi-data .pi-data-label { display: flex; align-items: center; /* Center label vertically */ background-image: linear-gradient(to bottom, #B22222 25%, #8B0000 75%); color: #FFFFFF; }