MediaWiki:Themes.css

/* Infobox customization stylesheet */

/* Main styling */ .portable-infobox { border: 1px solid #666; padding: 2px; font-size: smaller; } .portable-infobox, .portable-infobox .pi-image-collection-tab-content { background: transparent; } .portable-infobox .pi-image-collection-tabs, .portable-infobox .pi-font, .portable-infobox .pi-secondary-font { font-size: 11px; }

/** Data customization **/ .portable-infobox .pi-title, .portable-infobox .pi-header { text-align: center; color: #fff; background: #212121; font-weight: bold; border-color: transparent; padding: 4px; } .portable-infobox .pi-title { font-size: 16px; } .portable-infobox .pi-group, .portable-infobox .pi-group .pi-data:last-child { border: none; } .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; color: #ff8c00; font-weight: bold; } .portable-infobox .pi-image-collection-tabs .pi-tab-link.current { color: #222; } .portable-infobox .pi-image-collection-tabs .pi-tab-link:not(:last-of-type):after { content: "|"; color: #222; font-weight: bold; width: 1em; padding-right: 3px }

/** Navigation footer styling **/ .portable-infobox .pi-navigation { text-align: center; font-weight: bold; background: #212121; padding: 4px; } .portable-infobox .pi-navigation a { color: #FFFFFF; text-align: center; }

/* Character infobox styling */ /* - .pi-theme-character */ /* - .pi-theme-character-police */ /* - .pi-theme-character-civilian */ .pi-theme-character, .pi-theme-character-police, .pi-theme-character-civilian,{ border-color: #ffd700; }

.pi-theme-character-police .pi-header, .pi-theme-character-police .pi-title, .pi-theme-character-police .pi-navigation { background: #3e557c; }

.pi-theme-character-civilian .pi-header, .pi-theme-character-civilian .pi-title, .pi-theme-character-civilian .pi-navigation { background: #2c8a2e; }

/* Chapter infobox styling - */ .pi-theme-chapter .pi-data-label { flex-basis: 120px; } .pi-theme-chapter .pi-navigation { background: transparent; border-top: 1px dotted #999; padding: 0; } .pi-theme-chapter .pi-navigation a { color: #cc960e; }

/* Location infobox styling - */ .pi-theme-location .pi-title, .pi-theme-location .pi-header { background: #008080; }

/* Item infobox styling - */ .pi-theme-item .pi-title, .pi-theme-item .pi-header { background: #cd9938; }

/* Media infobox styling */ /* - .pi-theme-volume */ /* - .pi-theme-arc */ /* - .pi-theme-saga */ .pi-theme-volume { border-color: #8b0000; } .pi-theme-volume .pi-title, .pi-theme-arc .pi-title, .pi-theme-saga .pi-title { font-size: 14px; line-height:21px; } .pi-theme-volume .pi-data-label, .pi-theme-saga .pi-data-label { flex-basis: 120px; } .pi-theme-volume .pi-navigation, .pi-theme-arc .pi-navigation, .pi-theme-saga .pi-navigation { background: transparent; border-top: 1px dotted #999; padding: 0; } .pi-theme-volume .pi-navigation a, .pi-theme-arc .pi-navigation a, .pi-theme-saga .pi-navigation a { color: #cc960e; }

/* Simple infobox styling - */ .pi-theme-simple .pi-title, .pi-theme-simple .pi-header, .pi-theme-simple .pi-navigation { background: #8a4b08; }

/* Group infobox styling - */ .pi-theme-group { border-color: #145530; } .pi-theme-group .pi-title, .pi-theme-group .pi-header, .pi-theme-group .pi-navigation { background: #2e8b57; }

/* Organization infobox styling - */ .pi-theme-org .pi-title, .pi-theme-org .pi-header, .pi-theme-org .pi-navigation { background: #5f23ae; }

/* Event infobox styling - */ .pi-theme-event { border-color: #8b0000; } .pi-theme-event .pi-title { font-size: 14px; line-height:21px; }

/* --- Begin styles migrated from Wikia.css --- */

/* Character galleries */ .chargallery .wikia-gallery { display: flex; flex-wrap: wrap; justify-content: center; } .chargallery.chargallery-theme-ua .wikia-gallery-item { background-color: #910000; border-color: #5f0000; } .chargallery.chargallery-theme-ph .wikia-gallery-item { background-color: #d80000; border-color: #c40000; } .chargallery.chargallery-theme-vl .wikia-gallery-item { background-color: #141414; border-color: #0d0d0d; } .chargallery.chargallery-theme-pl .wikia-gallery-item { background-color: #0044b3; border-color: #0040a9; } .chargallery.chargallery-theme-cv .wikia-gallery-item { background-color: #2c8a2e; border-color: #29822b; } .chargallery.chargallery-theme-kb .wikia-gallery-item { background-color: #bdc2c8; border-color: #bdc2c8; } .chargallery.chargallery-theme-sh .wikia-gallery-item { background-color: #00458b; border-color: #004081; } .chargallery.chargallery-theme-vg .wikia-gallery-item { background-color: #ea783f; border-color: #ea783f; } .chargallery.chargallery-theme-ih .wikia-gallery-item { background-color: #7c073f; border-color: #7c073f; } .chargallery .wikia-gallery-item { border: 3px solid; margin: 0 -3px -3px 0; padding: 0; } .chargallery .wikia-gallery-item img { background-color: #fff; margin-top: 0 !important; } .chargallery .wikia-gallery-item .lightbox-caption { box-sizing: border-box; font: bold 9pt/1.25em sans-serif; margin: 0; padding: 4pt; } .chargallery-profile-caption { font-size: larger; } .chargallery-profile-subcaption { font-size: smaller; } .chargallery-theme-dark .chargallery-profile-caption, .chargallery-theme-dark .chargallery-profile-caption a, .chargallery-theme-dark .chargallery-profile-subcaption { color: #fff; } .chargallery-theme-light .chargallery-profile-caption, .chargallery-theme-light .chargallery-profile-caption a, .chargallery-theme-light .chargallery-profile-subcaption { color: #1a1a1a; }

/* Custom header: base styles */ .customheader { border: 1px solid transparent; border-radius: .3em; font-size: 130%; font-weight: bold; margin: 5px 0 10px; overflow: auto; padding: .3em .4em .2em; text-align: center; } /* Custom header: themes */ .customheader.customheader-theme-dark, .customheader.customheader-theme-dark a { color: #fff; } .customheader.customheader-theme-red { background-color: #8b0000; } .customheader.customheader-theme-orange { background-color: #c53c0c; } .customheader.customheader-theme-black { background-color: #141414; } .customheader.customheader-theme-blue { background-color: #0044b3; } .customheader.customheader-theme-green { background-color: #2c8a2e; } .customheader.customheader-theme-olive { background-color: #8b8b00; } .customheader.customheader-theme-grey { background-color: #696969; } .customheader.customheader-theme-purple { background-color: #7c073f; } .customheader.customheader-theme-cerulean { background-color: #00458b; } .customheader.customheader-theme-scarlet { background-color: #d80000; } .customheader.customheader-theme-lorange { background-color: #ea783f; } .customheader.customheader-theme-light, .customheader.customheader-theme-light a { color: #1a1a1a; } .customheader.customheader-theme-gold { background-color: #e3da2d; } .customheader.customheader-theme-lgrey { background-color: #bdc2c8; }

.chargallery.chargallery-theme-affiliation-villain .wikia-gallery-item { background-color: #141414; border-color: #141414; } .chargallery.chargallery-theme-affiliation-leagueofvillains .wikia-gallery-item { background-color: #708090; border-color: #708090; } .chargallery.chargallery-theme-affiliation-shiehassaikai .wikia-gallery-item { background-color: #483d8b; border-color: #483d8b; }

.customheader.customheader-theme-affiliation-villain { background-color: #141414; } .customheader.customheader-theme-affiliation-leagueofvillains { background-color: #708090; } .customheader.customheader-theme-affiliation-shiehassaikai { background-color: #483d8b; }

/* End styles migrated from Wikia.css  */

/* Preliminary navbox styles; intentionally left de-optimized (for now) */

.navibox { border-collapse: separate; border-spacing: 2px; border-style: solid; border-width: 1px; font-size: 90%; width: 100%; } .navibox th, .navibox td { padding: 2px; } .navibox-title, .navibox-header { font-weight: bold; text-align: center; } .navibox-group { font-size: smaller; font-weight: bold; text-align: center; } .navibox-list { text-align: center; }

/* End ad-hoc hacks  */