Template:World Factbook 2004/styles.css

.factbook-heading {
	margin:auto;
	width:100%;
	padding-left:2em;
	padding-right:2em;
	background:#ccc;
	border:none;
	border-collapse:collapse;
}
.factbook-heading td {
	padding:0.5em;
}
.factbook-heading td:first-child {
	width:24%;
	text-align:left;
}
.factbook-heading td:nth-child(2) {
	width:52%;
	text-align:center;
	font-size:182%;
	font-weight:bold;
}
.factbook-heading td:last-child {
	width:24%;
	text-align:right;
}

.factbook-table {
	margin:auto;
	width:100%;
	border:none;
	border-collapse:collapse;
}
.factbook-table th {
	font-weight:bold;
}
.factbook-table th, .factbook-table td {
	vertical-align:top;
	padding:0.5em;
}
.factbook-table th:first-child,
.factbook-table td:first-child {
	width:20%;
	text-align:right;
	padding-left:2em;
}
.factbook-table th:last-child,
.factbook-table td:last-child {
	width:80%;
	text-align:left;
	padding-right:2em;
}
.factbook-table .section-header {
	background-color:#cccccc;
}
.factbook-table .section-header th {
	text-align:left;
	vertical-align:middle;
}