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; }

.pi-theme-infobox .pi-header, .pi-theme-infobox .pi-title{ background-image: linear-gradient(left, black, black, black); background-image: -o-linear-gradient(left, black, black, black); background-image: -moz-linear-gradient(left, black, black, black); background-image: -webkit-linear-gradient(left, black, black, black); background-image: -ms-linear-gradient(left, black, black, black); background-image: -khtml-linear-gradient(left, black, black, black); background-color: black; }

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

.pi-theme-infobox .pi-item:not(section) { border: 1px solid #000000; border-bottom: 0; } .pi-theme-infobox section.pi-item:last-child { border-bottom: 1px solid #000000; }

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

/* TVD 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, #000000, black); background: -o-linear-gradient(left, black, #000000, black); background: -moz-linear-gradient(left, black, #000000, black); background: linear-gradient(left, black, #000000, black); }

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

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

}

.pi-theme-relationship section.pi-item:last-child { border-bottom: 1px solid #000000 !important; }

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

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

.pi-theme-actor .pi-image img, .pi-theme-season .pi-image img { width:250px !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; }

/* Group Infobox */ .pi-theme-group { border: 1px solid #000000; } .pi-theme-group .pi-title { background: linear-gradient(to right, black, black, black); border-bottom: 0 !important; } .pi-theme-group .pi-item:not(.pi-title) { border-top: 1px solid #000000; }

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

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

/* Species Infobox */

.pi-theme-species { border: 1px solid white; } .pi-theme-species .pi-title { background: linear-gradient(to right, black, #000000, 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, #000000, black); border-top: 0 !important; }

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