MediaWiki:Common.css/infoboxes.css

/** * CSS for styling infobox templates * Skin common code * * This only includes the most common infoboxes (used on >=100 pages) * Exotic ones should use the c1 and c2 parameters in the default character infobox */

/* Generic styling for all infoboxes */ .portable-infobox { border-radius: 12px; background: white; }

.portable-infobox > .portable-infobox-item:last-child { padding-bottom: 12px; }

.portable-infobox .item-type-title { text-align: center; }

.portable-infobox .portable-infobox-title { color: #FFF; font-weight: bold; }

.portable-infobox .item-type-key-val:not(:last-of-type), .portable-infobox .item-type-group, .portable-infobox .item-type-comparison { border-bottom: 0 none; }

.portable-infobox-item-label.portable-infobox-header-font { flex-basis: 110px; }

.portable-infobox-item.item-type-key-val.portable-infobox-item-margins { padding-right: 0; }

/* BEGIN: styling for individual infoboxes */

/* start characters */

/* Template:Character infobox */ .portable-infobox-theme-character-infobox .portable-infobox-header-background { background: #D6F0F5; }

.portable-infobox-theme-character-infobox .item-type-title { background: #94C7D1; }

.portable-infobox-theme-character-infobox { border-bottom: 24px solid #94c7d1; }

/* Template:Droid infobox */ .portable-infobox-theme-droid-infobox .portable-infobox-header-background { background: #BDB; }

.portable-infobox-theme-droid-infobox .item-type-title { background: #B5B5B5; }

.portable-infobox-theme-droid-infobox { border-bottom: 24px solid #B5B5B5; }

/* Template:Jedi character infobox */ .portable-infobox-theme-jedi-character-infobox .portable-infobox-header-background { background: #C2B170; }

.portable-infobox-theme-jedi-character-infobox .item-type-title { background: #736326; }

.portable-infobox-theme-jedi-character-infobox { border-bottom: 24px solid #736326; }

/* Template:Sith character infobox */ .portable-infobox-theme-sith-character-infobox .portable-infobox-header-background { background: #E55; }

.portable-infobox-theme-sith-character-infobox .item-type-title { background: #A00; }

.portable-infobox-theme-sith-character-infobox { border-bottom: 24px solid #A00; }

/* Template:Dark Jedi character infobox */ .portable-infobox-theme-dark-jedi-character-infobox .portable-infobox-header-background { background: #777; }

.portable-infobox-theme-dark-jedi-character-infobox .item-type-title { background: #444; }

.portable-infobox-theme-dark-jedi-character-infobox { border-bottom: 24px solid #444; }

/* Template:Grey Jedi character infobox * The Potentium is a lie! @MPK */ .portable-infobox-theme-grey-jedi-character-infobox .portable-infobox-header-background { background: #CFCFCF; }

.portable-infobox-theme-grey-jedi-character-infobox .item-type-title { background: #B2B2B2; }

.portable-infobox-theme-grey-jedi-character-infobox { border-bottom: 24px solid #b2b2b2; }

/* Template:Criminal character infobox */ .portable-infobox-theme-criminal-character-infobox .portable-infobox-header-background { background: #A66159; }

.portable-infobox-theme-criminal-character-infobox .item-type-title { background: #6B342E; }

.portable-infobox-theme-criminal-character-infobox { border-bottom: 24px solid #6b342e; }

/* Template:Bounty hunter character infobox */ .portable-infobox-theme-bounty-hunter-character-infobox .portable-infobox-header-background { background: #8DB87A; }

.portable-infobox-theme-bounty-hunter-character-infobox .item-type-title { background: #406B2E; }

.portable-infobox-theme-bounty-hunter-character-infobox { border-bottom: 24px solid #406b2e; }

/* Template:Mandalorian character infobox */ .portable-infobox-theme-karen-traviss-character-infobox .portable-infobox-header-background { background: #CAD4D5; }

.portable-infobox-theme-karen-traviss-character-infobox .item-type-title { background: #9CABB0; }

.portable-infobox-theme-karen-traviss-character-infobox { border-bottom: 24px solid #9cabb0; }

/* Template:Galactic Republic character infobox */ .portable-infobox-theme-republic-character-infobox .portable-infobox-header-background { background: #7089C2; }

.portable-infobox-theme-republic-character-infobox .item-type-title { background: #2E406B; }

.portable-infobox-theme-republic-character-infobox { border-bottom: 24px solid #2e406b; }

/* Template:CIS character infobox */ .portable-infobox-theme-cis-character-infobox .portable-infobox-header-background { background: #D19A46; }

.portable-infobox-theme-cis-character-infobox .item-type-title { background: #73263d; }

.portable-infobox-theme-cis-character-infobox { border-bottom: 24px solid #73263d; }

/* Template:Galactic Empire character infobox */ .portable-infobox-theme-imperial-character-infobox .portable-infobox-header-background { background: #8589AD; }

.portable-infobox-theme-imperial-character-infobox .item-type-title { background: #242742; }

.portable-infobox-theme-imperial-character-infobox { border-bottom: 24px solid #242742; }

/* Template:Rebel character infobox */ .portable-infobox-theme-rebel-character-infobox .portable-infobox-header-background { background: #7859A6; }

.portable-infobox-theme-rebel-character-infobox .item-type-title { background: #2D1452; }

.portable-infobox-theme-rebel-character-infobox { border-bottom: 24px solid #2D1452; }

/* Template:New Republic character infobox */ .portable-infobox-theme-nrep-character-infobox .portable-infobox-header-background { background: #5260E0; }

.portable-infobox-theme-nrep-character-infobox .item-type-title { background: #0F1C8A; }

.portable-infobox-theme-nrep-character-infobox { border-bottom: 24px solid #0F1C8A; }

/* Template:GFFA character infobox */ .portable-infobox-theme-gffa-character-infobox .portable-infobox-header-background { background: #5AB577; }

.portable-infobox-theme-gffa-character-infobox .item-type-title { background: #337147; }

.portable-infobox-theme-gffa-character-infobox { border-bottom: 24px solid #337147; }

/* end characters */