MediaWiki:Infobox.css

/* General Infobox styling */ .portable-infobox { border: none; border-radius: 0 !important; } .portable-infobox.pi-background { background-color: rgba(0, 0, 0, .1); } .theme-fandomdesktop-dark .portable-infobox.pi-background { background-color: rgba(255, 255, 255, .1); } .portable-infobox .pi-border-color { border-color: transparent; } /* Reduce padding */ .portable-infobox .pi-item-spacing { padding: 2px; } .portable-infobox .pi-horizontal-group .pi-horizontal-group-item.pi-item-spacing.pi-data-label { padding: 2px 2px 0px; } .portable-infobox .pi-horizontal-group .pi-horizontal-group-item.pi-item-spacing.pi-data-value { padding: 0px 2px 2px; } /* Tweak caption */ .portable-infobox .pi-caption { font-size: 0.85em; font-style: inherit; color: var(--theme-page-text-color); }

/* Center the header and navigation */ .portable-infobox .pi-horizontal-group .pi-header, .portable-infobox .pi-navigation { text-align: center; }