Index:Transportation and colonization.djvu/styles.css

From Wikisource
Jump to navigation Jump to search
.workTOC,
.table {
	margin: auto;
	max-width: 38em;
}

.rowcenter td {
    text-align: center;
    text-transform:uppercase;
    padding-top: 1em;
}

.workTOC td:nth-child(1):not(.rowcenter) {
    padding-left: 1em;
    text-indent: -1em;
}

.workTOC td:nth-child(2) {
    text-align: right;
    vertical-align: bottom;
    padding-left: 1em;
}

.p29 caption {
    padding-bottom: 1em;
    padding-left: 1em;
    text-indent: -1em;
    text-align: left;
}

.p29 tr:nth-child(n+2) td:nth-child(n+2) {
    text-align: center;
}

.p42 td:nth-child(1) {
    padding-right: 1em;
    padding-left: 2em;
    text-indent: -2em;
}

.p42 td:nth-child(2) {
    text-align: right;
}

.p46 td:nth-child(1),
.p83 td:nth-child(1), 
.p83 td:nth-child(n+3) {
    text-align: center;
}

.p46 tr:nth-child(n+2) td:nth-child(n+2),
.p139 tr:nth-child(n+2) td:nth-child(n+2) {
    text-align: right;
}

.p83 td:nth-child(n+1) {
    padding-right: 1em;
}

.p139  tr:nth-child(n+2) td:nth-child(n+3):nth-child(-n+4),
.p139  tr:nth-child(n+2) td:nth-child(n+7) {
    padding-left: 0.5em;
}

/* borders around table/columns/<th>; centre <th>; <td> align left with padding */
._tablecolhdborder {
	border-collapse: collapse;
	border: 1px solid;
	margin:0 auto 0 auto;
}
._tablecolhdborder th {
	border-bottom: 1px solid;
	border-left: 1px solid;
	text-align: center;
}
._tablecolhdborder td {
	border-left: 1px solid;
	padding-left: 5px;
}