MediaWiki:Infobox.css

/* General Infobox styling Wookieepedia-Inspired */ .portable-infobox { border: none; border-radius: 12px; overflow: hidden; } /* Removing remaining border */ .portable-infobox .pi-border-color { border: none; }

/* Setting row background colors */ .theme-fandomdesktop-light .portable-infobox .pi-data:nth-child(even), .theme-fandomdesktop-light .portable-infobox .pi-horizontal-group .pi-horizontal-group-item:nth-child(even) { background-color: #f0f0f0; } .theme-fandomdesktop-light .portable-infobox .pi-data:nth-child(odd), .theme-fandomdesktop-light .portable-infobox .pi-horizontal-group .pi-horizontal-group-item:nth-child(odd) { background-color: #f9f9f9; }

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

/* Extra bg colors */ .theme-fandomdesktop-light .portable-infobox.pi-background { background-color: #f9f9f9; } .theme-fandomdesktop-dark .portable-infobox.pi-background { background-color: #2f2f2f; }

/* Image bg colors */ .theme-fandomdesktop-light .portable-infobox .pi-image { background-color: #f0f0f0; } .theme-fandomdesktop-dark .portable-infobox .pi-image { background-color: #393939; }

/* Reduce padding */ .portable-infobox .pi-item-spacing { padding: 4px; }

/* Remove extra padding on horizontally-aligned rows */ .portable-infobox .pi-horizontal-group .pi-data-label { padding-bottom: 0; } .portable-infobox .pi-horizontal-group .pi-data-value { padding-top: 0; }

.portable-infobox .pi-horizontal-group .pi-data-value[data-source="season"], .portable-infobox .pi-horizontal-group .pi-data-value[data-source="number"] { padding: 4px; }