Template:Auxiliary toc styles/styles.css

From Wikisource
Jump to navigation Jump to search
/* For tables we control directly */
table.aux {
	border-spacing: 0;
	border-collapse: collapse;
}

/* An entire table in auxtoc style */
.auxtoc {
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	border: 1px solid #ACA;
	background-color: #E6F2E6;
}
.auxtoc th:first-child, .auxtoc td:first-child {
	padding-left: .5em;
}
.auxtoc th:last-child, .auxtoc td:last-child {
	padding-right: .5em;
}

.auxtoc-col1hi tr td:first-child, .auxtoc-col1hi tr th:first-child {
	padding-left: 2.5em;
	text-indent: -2em;
}

.auxtoc-pagenos td:last-child {
	text-align: right;
	vertical-align: bottom;
}

.auxtoc tr.auxtoc-heading-row th, .auxtoc tr.auxtoc-heading-row td {
	text-align: center;
	padding-top: .5em;
	border-left-color: #E6F2E6;
	border-right-color: #E6F2E6;
}

/* An auxtoc row inside a larger table */
.auxrow th, .auxrow td {
	border-top: 1px solid #ACA;
	border-bottom: 1px solid #ACA;
	border-left-color: #E6F2E6;
	border-right-color: #E6F2E6;
	background-color: #E6F2E6;
}
.auxrow td:first-child {
	border-left: 1px solid #ACA;
}
.auxrow td:last-child {
	border-right: 1px solid #ACA;
}