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; } .portable-infobox .pi-item-spacing { padding: 4px; } /* 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; }

/* Tweak line spacing */ .portable-infobox .pi-horizontal-group .pi-horizontal-group-item { line-height: 0.85em; }