MediaWiki:Infobox.css

/* General Infobox styling */ .portable-infobox { border: none; border-radius: 0 !important; } .portable-infobox.pi-background { background-color: #f2f2f2; } .theme-fandomdesktop-dark .portable-infobox.pi-background { background-color: #3a3a3a; } .portable-infobox .pi-border-color { border-color: transparent; }

/* Data settings */ .portable-infobox .pi-item-spacing { padding: 4px; } .portable-infobox .pi-data:nth-child(odd) { background-color: #f2f2f2; } .portable-infobox .pi-data:nth-child(even) { background-color: #e6e6e6; } .theme-fandomdesktop-dark .portable-infobox .pi-data:nth-child(odd) { background-color: #3a3a3a; } .theme-fandomdesktop-dark .portable-infobox .pi-data:nth-child(even) { background-color: #484848; }

.pi-image img { max-width:100%; height:auto; }

/* Tweak caption */ .portable-infobox .pi-caption { font-size: 0.85em; font-style: inherit; color: var(--theme-page-text-color); }