User:KurwaAntics/infobox.css

/*********************************************************************/ /* fix alignment to collapsible navbox table with infobox class */ /* DEPRECATED */ .infobox.collapsible {margin-left:0 !important} /* *************** Infobox customizations *************** */ /* 18 oct '12: added all inline stylings here */ .infobox { border-radius: 0px 13px 0px 0px; font-size: 89%; width: 270px; clear: right; } .infobox th { /* general header stylings */ background-color:#3366CC; color:#FFFFFF; } .infobox thead th, .infobox-title { /* box title */ font-size:120%; padding:5px; } .infobox td.image { text-align:center; } /* inline on unterganger infobox */ .infobox tr td { border-top: 1px solid rgb(106,106,106); /* consume less vertical space, compacting the infobox */ line-height:normal; } .infobox tr td p { margin:0.2em 0px } .infobox tr td[colspan="2"] { /* overrides left padding on first cells */ padding: 1px !important } .infobox tr td:first-child, table.infobox th { border-radius:0px 8px 0px 0px; } .infobox tr td:first-child { background-color: #555555; padding-left: 3px; width:30%; /* also inline */ } .infobox tr td:nth-child(2) { text-align:right; width:70%; /* also inline */ } .infobox li { /* reducing vertical space usage */ line-height:normal !important; margin:0.2em 0 !important } /* for Infobox/Ext/Sides */ .infobox td.fullspan { background-color: rgb(67, 66, 66)!important; border-radius:0px !important; } .infobox .embedded td { background-color: rgb(67, 66, 66)!important; vertical-align:top; padding:3px; } .infobox .embedded td:first-child { border-right: 1px dotted rgb(106, 106, 106); border-radius:0px } /* shared rules between mainpage contests and unterganger infobox */ .infobox th.award { text-align:left } .infobox th.award .floatleft { padding:7px 2px 7px 5px; margin:0 5px 0 0; } .infobox th.award, .infobox .award a, .mainpage-contest dt { text-shadow: 1px 1px 0px black; } .infobox th.award-uotm, .mainpage-uotm dt { background-color: rgb(116, 98, 75); border:2px solid gold; } .infobox th.award-uotm,.mainpage-uotm dt a {color:gold !important} .infobox th.award-potm, .mainpage-potm dt { background-color: rgb(200, 161, 86); border:2px solid red; } .infobox th.award-potm,.mainpage-potm dt a {color:red !important} .infobox th.award-hof, .mainpage-hof dt { background-color: black; border:2px solid white; text-shadow:0px 0px 3px white; } .infobox th.award-hof,.mainpage-hof dt a {color: white !important} .infobox th.award-dpa-old { border: 2px dashed yellow; color: yellow; background-repeat: repeat; background-size: cover; background-position: -20px 0%; background-image: url("http://images1.wikia.nocookie.net/hitlerparody/images/3/37/Long_NK_flag.png"); } .infobox th.award.award-dpa-old p { line-height:normal; float:right; width:80%; } .infobox th.award.award-dpa-new, .mainpage-ua dt { background: #eeeeee; /* Old browsers */ background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* IE10+ */ background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C */ border:2px solid black; text-shadow:0 0 0 transparent; } .infobox th.award.award-dpa-new,.mainpage-ua dt a {color: black !important} .infobox th.award-bestnew, .mainpage-new dt { background-color: darkgreen; border:2px solid blue; } .infobox th.award-bestnew,.mainpage-new dt a {color: white} /* stylings for .underinfobox class (things after infoboxes that should go under the infobox instead of inline. WIDTH and margin must be same as infobox */ .underinfobox {	float: right;	clear: right;	width: 270px;	margin-left: 1em }

/* Infobox template style */ .infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; width: 270px; } .infobox td, .infobox th { vertical-align: top; } .infobox th { /* general header stylings */ background-color:#3366CC; color:#FFFFFF; } .infobox thead th, .infobox-title { /* box title */ font-size:120%; padding:5px; } .infobox caption { /* not used in HPW */ font-size: larger; margin-left: inherit; } .infobox.bordered { /* not used in HPW */ border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { /* not used in HPW */ border: 1px solid #aaaaaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { /* not used in HPW */ border: 0; } /* Unterganger Infobox */ .infobox th.award { text-shadow: 1px 1px 0px black; } .infobox th.award.award-uotm { background-color: rgb(116, 98, 75); color:gold; border:2px solid gold; } .infobox th.award.award-potm { background-color: rgb(200, 161, 86); color: red; border:2px solid red; } .infobox th.award.award-hof { background-color: black; color: white; border:2px solid white; text-shadow:0px 0px 3px white; } .infobox th.award.award-dpa-old { border: 2px dashed yellow; color: yellow; background-repeat: repeat; background-size: cover; background-position: -20px 0%; background-image: url("http://images1.wikia.nocookie.net/hitlerparody/images/3/37/Long_NK_flag.png"); } .infobox th.award.award-dpa-old p { line-height:normal; float:right; width:80%; } .infobox th.award.award-dpa-new { background: #eeeeee; /* Old browsers */ background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* IE10+ */ background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C */ color: black; border:2px solid black; text-shadow:0 0 0 transparent; }