MediaWiki:Infobox.css

/* Infobox styling and layout */ .portable-infobox { border: 1px solid #aaa; } .portable-infobox.pi-background { border-radius: 0; background-color: #f9f9f9; } .portable-infobox .pi-border-color { border-color: #aaa; } .portable-infobox .pi-data-label { flex-basis: auto; width: 40%; } .portable-infobox .pi-data-value { width: 60%; } /* Adding additional padding */ .portable-infobox.pi-theme-episode .pi-data-value[data-source="season"], .portable-infobox.pi-theme-episode .pi-data-value[data-source="number"] { padding-top: 9px; } .portable-infobox .pi-title { background-color: #aaa; } .portable-infobox .pi-header { background-color: #dfdfdf; } .portable-infobox .pi-caption { font-style: normal; font-size: 12px; line-height: 1.5; color: inherit; } .portable-infobox .pi-secondary-background.pi-secondary-font { color: black; } .portable-infobox .pi-horizontal-group .pi-header { text-align: center; }

/* Dark theme background color */ .theme-fandomdesktop-dark .portable-infobox.pi-background { background-color: #153866; }