Template:Infobox legislative election/styles.css

From Osolia Wiki
/* {{pp-template}} */
.ib-legis-elect {
	line-height: 1.5em;
	max-width: 32em;
	min-width: 22em;
	width: auto;
}

.ib-legis-elect-embed {
	background-color: #ddd;
	font-size: 120%;
	font-weight: bold
}

.ib-legis-elect .infobox-subheader {
	line-height: 130%;
}

.ib-legis-elect-error {
	color: red;
}

.ib-legis-elect .infobox-data {
	text-align: center;
}

.ib-legis-elect .infobox-label {
	width: 5em;
	white-space: nowrap;
}

.ib-legis-elect .infobox-below {
	padding: 0 3px
}

.ib-legis-elect-results {
	width: 100%;
	margin: 0;
}

.ib-legis-elect-results th[scope="row"] {
	background-color: transparent;
}

.ib-legis-elect-results tr:nth-child(odd),
.ib-legis-elect-results tr:nth-child(odd) th[scope="row"] {
	background-color: #eee;
}


html.skin-theme-clientpref-night .ib-legis-elect-results tr:nth-child(odd),
html.skin-theme-clientpref-night .ib-legis-elect-results tr:nth-child(odd) th[scope="row"] {
    color: #fff;
    background-color: #080906;
}

td.ib-legis-elect-percent,
td.ib-legis-elect-seats {
	text-align: right;
}

.ib-legis-elect-p {
	color: green;
}

.ib-legis-elect-m {
	color: red;
}

.ib-legis-elect-map {
	width: 100%;
	border-spacing: 0;
	border-top:1px #aaa solid;
}

.ib-legis-elect-befaft {
	width: 100%;
	border-spacing: 0;
	border-top:1px #aaa solid;
}

.ib-legis-elect-befaft th,
.ib-legis-elect-50 {
	width: 50%;
}

.ib-legis-elect-befaft-right {
	text-align: right;
}

.ib-legis-elect-befimg {
	padding-right: 3px;
}

.ib-legis-elect-aftimg {
	padding-left: 3px;
}