MediaWiki:Infobox.css

/*==== Episode Infoboxes ====*/ /* Episode 1 */ .portable-infobox.pi-theme-ep1 .pi-header, .portable-infobox.pi-theme-ep1 .pi-title { background: #fe0000; } .portable-infobox.pi-theme-ep1 .pi-border-color { border-color: #fe0000; background: #fff; }

/* Episode 2 */ .portable-infobox.pi-theme-ep2 .pi-header, .portable-infobox.pi-theme-ep2 .pi-title { background: #00aeff; } .portable-infobox.pi-theme-ep2 .pi-border-color { border-color: #00aeff; background: #fff; }

/* Episode 3 */ .portable-infobox.pi-theme-ep3 .pi-header, .portable-infobox.pi-theme-ep3 .pi-title { background: #ff0000; } .portable-infobox.pi-theme-ep3 .pi-border-color { border-color: #ff0000; background: #fff; }

/* Episode 4 */ .portable-infobox.pi-theme-ep4 .pi-header, .portable-infobox.pi-theme-ep4 .pi-title { background: #ff78c3; } .portable-infobox.pi-theme-ep4 .pi-border-color { border-color: #ff78c3; background: #fff; }

/* Episode 5 */ .portable-infobox.pi-theme-ep5 .pi-header, .portable-infobox.pi-theme-ep5 .pi-title { background: #FF0000; } .portable-infobox.pi-theme-ep5 .pi-border-color { border-color: #FF0000; background: #fff; }

/* Episode 6 */ .portable-infobox.pi-theme-ep6 .pi-header, .portable-infobox.pi-theme-ep6 .pi-title { background: #FF6DC7; } .portable-infobox.pi-theme-ep6 .pi-border-color { border-color: #FF6DC7; background: #fff; }

/* Episode 7 */ .portable-infobox.pi-theme-ep7 .pi-header, .portable-infobox.pi-theme-ep7 .pi-title { background: #FF0000; } .portable-infobox.pi-theme-ep7 .pi-border-color { border-color: #FF0000; background: #fff; }

/* Episode 8 */ .portable-infobox.pi-theme-ep8 .pi-header, .portable-infobox.pi-theme-ep8 .pi-title { background: #00ADFF; } .portable-infobox.pi-theme-ep8 .pi-border-color { border-color: #00ADFF; background: #fff; }

/* Episode 9 */ .portable-infobox.pi-theme-ep9 .pi-header, .portable-infobox.pi-theme-ep9 .pi-title { background: #FF6DC7; } .portable-infobox.pi-theme-ep9 .pi-border-color { border-color: #FF6DC7; background: #fff; }

/* Episode 10 */ .portable-infobox.pi-theme-ep10 .pi-header, .portable-infobox.pi-theme-ep10 .pi-title { background: #FF0000; } .portable-infobox.pi-theme-ep10 .pi-border-color { border-color: #FF0000; background: #fff; }

/* Episode 10 */ .portable-infobox.pi-theme-ep11 .pi-header, .portable-infobox.pi-theme-ep11 .pi-title { background: #00abff; } .portable-infobox.pi-theme-ep11 .pi-border-color { border-color: #00abff; background: #fff; }

/*==== Custom Character Infoboxes ====*/ /* Kazuki */ .portable-infobox.pi-theme-kazuki .pi-header, .portable-infobox.pi-theme-kazuki .pi-title { background: #d0101b; } .portable-infobox.pi-theme-kazuki .pi-border-color { border-color: #d0101b; background: #fff; }

/* Rei */ .portable-infobox.pi-theme-rei .pi-header, .portable-infobox.pi-theme-rei .pi-title { background: #116bb7; } .portable-infobox.pi-theme-rei .pi-border-color { border-color: #116bb7; background: #fff; }

/* Miri */ .portable-infobox.pi-theme-miri .pi-header, .portable-infobox.pi-theme-miri .pi-title { background: #f78ad8; } .portable-infobox.pi-theme-miri .pi-border-color { border-color: #f78ad8; background: #fff; }

/* Kyutaro */ .portable-infobox.pi-theme-kyutaro .pi-header, .portable-infobox.pi-theme-kyutaro .pi-title { background: #888888; } .portable-infobox.pi-theme-kyutaro .pi-border-color { border-color: #888888; background: #fff; }

/* =========================================== */

.portable-infobox { border-radius: 8px; border: 2px solid var(--theme-link-color); padding: 2px; background: white; } .portable-infobox .pi-title { font-size: 25px; line-height: 1.25; padding: 12px 9px; } .portable-infobox .pi-title { background-color: var(--theme-link-color); color: #fff; border-radius: 8px 8px 0 0; line-height: 20px; text-align: center; background-size: cover; background-position: center; font-weight: bold; } .portable-infobox .pi-header { font-size: 13px; line-height: 1.25; padding: 9px; font-family: Genshin; } .portable-infobox .pi-header { background-color: var(--theme-link-color); color: #fff !important; font-size: 15px; font-weight: normal; text-align: center; background-size: cover; background-position: center; font-weight: bold; } .portable-infobox .pi-data { flex-basis: 65%; transition: 0.2s } .theme-fandomdesktop-light .portable-infobox .pi-data:hover { background-color: rgb(var(--theme-link-color--rgb),0.2) !important; } .theme-fandomdesktop-dark .portable-infobox .pi-data:hover { background-color: rgb(var(--theme-link-color--rgb),0.2) !important; } .theme-fandomdesktop-dark .pi-border-color { border-color: var(--theme-page-background-color); background: #fff; color: black; } .theme-fandomdesktop-light .pi-border-color { border-color: var(--theme-page-background-color); background: #fff; color: black; }

/** Gallery **/ .pi-image-collection-tabs { display: flex; flex-direction: row; flex-wrap: wrap; } .pi-image-collection-tabs .pi-tab-link { border: 0; flex: 1 auto; } .pi-image-collection-tabs .pi-tab-link:hover, .pi-image-collection-tabs .current { background: var(--theme-link-color); } .pi-image-collection-tabs .current:hover { cursor: default; } .pi-image-collection-tab-content { background: transparent; } .pi-image { background: transparent; } ul.pi-image-collection-tabs { padding-bottom: 1px; }

/** Tabber **/ .portable-infobox .pi-header, .portable-infobox .pi-title, .portable-infobox .pi-navigation { margin: 2px; padding: 0; text-align: center; } .portable-infobox .pi-section-navigation { display: flex; flex-direction: row; } .portable-infobox .pi-section-label, .portable-infobox .pi-section-label:hover { color: #3a3a3a !important; } .pi-section-tab { text-align: center; } .pi-section-tab.pi-section-tab:hover, .pi-section-tab.pi-section-active { background: var(--theme-link-color); } .portable-infobox .pi-section-navigation:after, .portable-infobox .pi-section-navigation:before { width: 0; } .pi-section-tab.pi-section-active, .pi-section-tab.pi-section-active:hover { box-shadow: none; } .pi-section-navigation li { margin: 2px 0; max-width: 50% !important; } .portable-infobox .wds-tabs__tab, .pi-section-tab .wds-tabs__tab.wds-is-current { color: var(--wds-tab-color--active); border: 0; flex: 1 auto; } .portable-infobox .wds-tabs__tab-label, .pi-section-label { font-size: 14px; font-weight: normal; height: 30px; text-transform: none; color: black; } ul.pi-image-collection-tabs li { margin: 0; } .pi-section-tab:hover .pi-section-label { color: #3a3a3a; } .pi-image-collection-tabs .pi-tab-link { border-top: 2px solid var(--theme-link-color); }