MediaWiki:Themes.css

/* General styling that applies to all infoboxes */

.portable-infobox .pi-horizontal-group .pi-data-label { text-align:center; }

.portable-infobox .pi-secondary-font { font-size: 12px; text-align: left; }

.pi-image img { height: auto; width: 268px; } .pi-title { text-align: center; font-size: 18px; }

.portable-infobox { background: black; }

.portable-infobox h2 { left: 0 !important; }

.portable-infobox .pi-group { border: 0; }

/* Supergirl infobox - orange */ .pi-theme-infobox .pi-header, .pi-theme-infobox .pi-title { background-image: linear-gradient(left, #A67C00, black, #A67C00); background-image: -o-linear-gradient(left, #A67C00, black, #A67C00); background-image: -moz-linear-gradient(left, #A67C00, black, #A67C00); background-image: -webkit-linear-gradient(left, #A67C00, black, #A67C00); background-image: -ms-linear-gradient(left, #A67C00, black, #A67C00); background-image: -khtml-linear-gradient(left, #A67C00, black, #A67C00); background-color: #DAA520; } .pi-theme-infobox .pi-item:not(section) { border: 1px solid #DAA520; border-bottom: 0; } .pi-theme-infobox section.pi-item:last-child { border-bottom: 1px solid #DAA520; }

.pi-theme-infobox .pi-horizontal-group .pi-horizontal-group-item:not(:first-child) { border-left: 1px solid #FFDC73; }

.pi-theme-infobox .pi-horizontal-group { border:1px solid #FFDC73; border-bottom: none; border-top: none; }

/* Supergirl Relationship template */

.pi-theme-relationship .portable-infobox { width:252px; margin:0 0 .5em 1em; line-height: 1.5; } .pi-theme-relationship .pi-data-label { margin: auto; }

.pi-theme-relationship .pi-header { text-align: center !important; font-size: smaller; background: inherit; background: -webkit-linear-gradient(left, black, #A67C00, black); background: -o-linear-gradient(left, black, #A67C00, black); background: -moz-linear-gradient(left, black,#A67C00, black); background: linear-gradient(left, black, #A67C00, black); }

.pi-theme-relationship .pi-title { height:25px; background: inherit; background: -webkit-linear-gradient(left, #A67C00, black, #A67C00); background: -o-linear-gradient(left, #A67C00, black, #A67C00); background: -moz-linear-gradient(left, #A67C00, black, #A67C00); background: linear-gradient(left, #A67C00, black, #A67C00); font-size: larger; font-weight: bold; }

.pi-theme-relationship.pi-item:not(section) { /* Gold border */ border: 1px solid #A67C00; border-bottom: 0;

}

/* crew infobox */

/* Actor infoboxes */ aside.pi-theme-crew { background: linear-gradient(to right, black, #6b080b, black); border: 1px solid white; border-radius: 10px; padding: 0 6px; width: 250px; } .pi-theme-crew .pi-data-value { font-size: 10px; text-align: right; } .pi-theme-crew .pi-data-label { font-size: 10px; } .pi-theme-crew .pi-title { background: linear-gradient(to right, black, #6b080b, black); }

.pi-theme-crew .pi-item:not(.pi-title) { border-bottom: 0; border-top: 1px solid white; }

/* Supergirl Episode */

.pi-theme-episode { border: 1px solid #A67C00; border-radius: 10px; padding: 10px; width: 310px; text-align: left; margin: 0 0 1em 1em; } .pi-theme-episode .pi-header, .pi-theme-episode .pi-title { background: #510061; } .pi-theme-episode .pi-title a { color: white; font-size: 95%; } .pi-theme-episode .pi-header { font-size: 15px; color: white; text-align: center; font-weight: normal; } .pi-theme-episode .pi-title { padding: 0; }

.pi-theme-episode .pi-header a { font-weight: normal; }

.pi-data:not(:last-of-type) { border: 0; } .pi-theme-episode { background: inherit; background: -webkit-linear-gradient(left, black, #A67C00 200%, black); background: -o-linear-gradient(left, black, #A67C00 200%, black); background: -moz-linear-gradient(eft, black ,#A67C00 200%, black); background: linear-gradient(eft, black, #A67C00 200%, black); } .pi-theme-episode section.pi-item:last-child { border-bottom: 0; } .pi-theme-episode .pi-border-color { border: transparent; } .pi-theme-episode > div:nth-of-type(1) div, .episode> div:nth-of-type(2) div { text-align: center; margin-left: auto; margin-right: auto; font-style: italic; } .pi-theme-episode .pi-horizontal-group .pi-horizontal-group-item { text-align:center; }

.pi-theme-episode section.pi-item:last-child { border-bottom: 0 !important; }

/* Supergirl Relationship template */

.pi-theme-relationship .portable-infobox { width:252px; margin:0 0 .5em 1em; line-height: 1.5; } .pi-theme-relationship .pi-data-label { margin: auto; }

.pi-theme-relationship .pi-header { text-align: center !important; font-size: smaller; background: inherit; background: -webkit-linear-gradient(left, black, #A67C00, black); background: -o-linear-gradient(left, black, #A67C00, black); background: -moz-linear-gradient(left, black,#A67C00, black); background: linear-gradient(left, black, #A67C00, black); }

.pi-theme-relationship .pi-title { height:25px; background: inherit; background: -webkit-linear-gradient(left, #A67C00, black, #A67C00); background: -o-linear-gradient(left, #A67C00, black, #A67C00); background: -moz-linear-gradient(left, #A67C00, black, #A67C00); background: linear-gradient(left, #A67C00, black, #A67C00); font-size: larger; font-weight: bold; }

.pi-theme-relationship.pi-item:not(section) { /* Gold border */ border: 1px solid #A67C00; border-bottom: 0;

}

/* Species Infobox */

.pi-theme-species { border: 1px solid white; } .pi-theme-species .pi-title { background: linear-gradient(to right, black, #734500, black); border-bottom: 0 !important; } .pi-theme-species .pi-item:not(section) { border: 1px solid white; border-bottom: 0; }

.pi-theme-species section.pi-item:last-child { border-bottom: 1px solid white !important; }

.pi-theme-species .pi-header { background: linear-gradient(to right, black, #734500, black); border-top: 0 !important; }

/* Location Infobox */ .pi-theme-location .pi-item:not(section) { border: 1px solid white; border-bottom: 0 !important; } .pi-theme-location .pi-item:last-child { border-bottom: 1px solid white !important; } .pi-theme-location .pi-header:first-of-type { border-top: 0 !important; } .pi-theme-location .pi-title { background: linear-gradient(to right, #6E6E6E, black, #6E6E6E); border-bottom: 0 !important; }

.pi-theme-location .pi-header { background: linear-gradient(to right, black, #6E6E6E, black); border-bottom: 1px solid white !important; }

/*End all Styling*/