MediaWiki:Infobox.css

.portable-infobox { margin: 0 0 0 0!important; width: 270px!important; border:1px solid var(--theme-accent-color); font-size: smaller; } .pi-image img { width: 100%; height: auto; } .portable-infobox, .portable-infobox .pi-image-collection-tab-content { background: transparent; } .portable-infobox .pi-image-collection-tabs { margin: 0; } .portable-infobox .pi-image-collection-tabs, .portable-infobox .pi-font, .portable-infobox .pi-secondary-font { font-size: 11px; } .portable-infobox .pi-title, .portable-infobox .pi-header { padding: 4px; } .portable-infobox .pi-title { font-size: 16px; } .portable-infobox .pi-data { padding: 4px; } .portable-infobox .pi-border-color { border-color: #999; }

/** Image customization **/ .portable-infobox .pi-image-collection-tabs .pi-tab-link { background: transparent; border-style: none; margin: 0; padding: 0; font-weight: bold; }

/** Navigation footer styling **/ .portable-infobox .pi-navigation { text-align: center; font-weight: bold; padding: 4px; background:var(--theme-accent-color); } .portable-infobox .pi-data:not(last-child) { border-bottom: 1px solid; } .portable-infobox .pi-header { background: #999!important; text-align:left; } .portable-infobox .pi-border-color { border-color:#999!important; } .portable-infobox .pi-secondary-font { font-size:smaller; } .portable-infobox .pi-background { background:#000; }

/* Empire */ .portable-infobox.pi-theme-empire { border-color:#292FA1!important; } .portable-infobox.pi-theme-empire .pi-navigation { background:#292FA1!important; }

/* Teigu */ .portable-infobox.pi-theme-teigu { border-color:#228B22!important; } .portable-infobox.pi-theme-teigu .pi-navigation { background:#228B22!important; } /* Shingu */ .portable-infobox.pi-theme-shingu { border-color:#EFAB5C; } .portable-infobox.pi-theme-shingu .pi-navigation { background:#EFAB5C!important; } /* Soukai */ .portable-infobox.pi-theme-soukai { border-color:#FFBF00; } .portable-infobox.pi-theme-soukai .pi-navigation { background:#FFBF00!important; } /* Tenrou */ .portable-infobox.pi-theme-tenrou { border-color:#4C0B5F!important; } .portable-infobox.pi-theme-tenrou .pi-navigation { background:#4C0B5F!important; } /* Episodes */ .portable-infobox.pi-theme-episode { border-color:brown; } .portable-infobox.pi-theme-episode .pi-navigation { background:brown!important; }

/* Dangerbeast */ .portable-infobox.pi-theme-beast { border-color:#FFFF00!important; } .portable-infobox.pi-theme-beast .pi-title, .portable-infobox.pi-theme-beast .pi-navigation { color: #000000!important; } .portable-infobox.pi-theme-beast .pi-navigation { background:#FFFF00!important; } /* Misc */ .portable-infobox.pi-theme-misc { border-color:#F5F5F5!important; } .portable-infobox.pi-theme-misc .pi-title, .portable-infobox.pi-theme-misc .pi-navigation { color: #000000!important; } .portable-infobox.pi-theme-misc .pi-navigation { background:#F5F5F5!important; }