MediaWiki:Infobox.css

/* CSS for the wiki's infoboxes */ .portable-infobox { width: 270px; border: none; border-radius: 10px; overflow: hidden; } .portable-infobox.pi-background { background-color: var(--theme-page-background-color--secondary); } .portable-infobox .pi-border-color { border: none; }

/* Slightly reduce padding between items */ .portable-infobox .pi-item-spacing { padding: 6px; }

/* Title and header settings */ .portable-infobox .pi-title { color: white; }

.portable-infobox .pi-header { color: white; text-align: center; }

/* Center the text in the navigation */ .portable-infobox .pi-navigation { text-align: center; padding: 9px; }

/* Extending data labels on some infoboxes */ .portable-infobox.pi-theme-channel .pi-data-label { flex-basis: 95px; } .portable-infobox.pi-theme-object .pi-data-label { flex-basis: 95px; } .portable-infobox.pi-theme-company .pi-data-label { flex-basis: 95px; } .portable-infobox.pi-theme-film .pi-data-label { flex-basis: 125px; }

/* Remove padding */ .portable-infobox .pi-horizontal-group-item.pi-data-label { padding-bottom: 0; } .portable-infobox .pi-horizontal-group-item.pi-data-value { padding-top: 0; }