MediaWiki:Infobox.css

/* Infobox styling and layout */ .portable-infobox { border: none; width: 270px; border-radius: 0 !important; } .portable-infobox.pi-background { background-color: #f9f9f9; }

.portable-infobox .pi-data:nth-child(odd) { background-color: #f9f9f9; } .portable-infobox .pi-data:nth-child(even) { background-color: #f0f0f0; }

.portable-infobox .pi-border-color { border: none; } .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; }

.portable-infobox .pi-horizontal-group-item:nth-child(odd) { background-color: #f9f9f9; } .portable-infobox .pi-horizontal-group-item:nth-child(even) { background-color: #f0f0f0; }

/* Dark theme background color */ .theme-fandomdesktop-dark .portable-infobox.pi-background { background-color: #2f2f2f; } .theme-fandomdesktop-dark .portable-infobox .pi-horizontal-group-item:nth-child(odd) { background-color: #2f2f2f; } .theme-fandomdesktop-dark .portable-infobox .pi-horizontal-group-item:nth-child(even) { background-color: #393939; } .theme-fandomdesktop-dark .portable-infobox .pi-data:nth-child(odd) { background-color: #2f2f2f; } .theme-fandomdesktop-dark .portable-infobox .pi-data:nth-child(even) { background-color: #393939; }