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; }

.portable-infobox .pi-image-collection-tabs { border-bottom: 1px solid #CCC; }

.portable-infobox .pi-image-collection-tabs .pi-tab-link { background-color: #FFF; font-size: 10px; font-weight: bold; line-height: 18px; color: #448; padding: 0 4px; border: 1px solid #CCC; border-radius: 4px 4px 0 0; margin: 0 2px; margin-top: 4px; }

.portable-infobox .pi-image-collection-tabs .pi-tab-link.current { color: #000; }