Index:Japanese lineal measures (and weights), with their equivalents in French and English measures (1877).djvu/styles.css

/* Use the same flex width for all running header entries, so that the middle one is actually centered */ .wst-rh > div { flex: 8em; }

th { font-weight: normal; text-align: center; vertical-align: middle; }

td { vertical-align: middle; }

.primary-colgroup th { font-size: 92%; font-style: italic; font-weight: bold; }

.secondary-colgroup th { font-size: 83%; font-variant: small-caps; }

font-style: italic; font-weight: bold; }	text-transform: uppercase; }
 * 1) measures_table .primary-rowgroup th {
 * 1) weights_table .primary-rowgroup th {

.primary-rowgroup td { font-size: 120%; padding-top: .5em; padding-bottom: .5em; }

.secondary-rowgroup th { font-variant: small-caps; }

caption { padding-bottom: 1em; border-bottom: 2px solid black; }

.primary-colgroup th, .secondary-colgroup th { border-bottom: 1px solid black; }

.primary-colgroup th:nth-child(n+2), .secondary-colgroup th:nth-child(n+2) { border-left: 1px solid black; }

/* The borders need special treatment, since mediawiki doesn't support */ border-collapse: collapse; }
 * 1) measures_table, #weights_table {

/* Japanese character */ text-align: center; border-left: 1px solid black; } /* Divided into */ text-align: left; font-size: 83%; font-variant-numeric: oldstyle-nums; border-left: 1px solid black; } /* Exact */ text-align: center; border-left: 2px solid black; } /* Apprximate */ text-align: right; border-left: 1px solid black; } /* Remarks */ text-align: left; border-left: 2px solid black; }
 * 1) measures_table > tbody > tr > td:nth-child(2) {
 * 1) measures_table > tbody > tr > td:nth-child(3) {
 * 1) measures_table > tbody > tr > td:nth-child(even):nth-child(n+4):nth-child(-n+9) {
 * 1) measures_table > tbody > tr > td:nth-child(odd):nth-child(n+4):nth-child(-n+9) {
 * 1) measures_table > tbody > tr > td:nth-child(10) {

/* Thick headers: first row */ border-left: 2px solid black; } /* Thick headers: exact on second row */ border-left: 2px solid black; }
 * 1) measures_table > tbody > tr.primary-colgroup > th:nth-child(n+4) {
 * 1) measures_table > tbody > tr.secondary-colgroup > th:nth-child(odd) {

text-align: left; padding-left: 2em; }
 * 1) weights_table > tbody > tr:not(.primary-rowgroup):not(.secondary-rowgroup) > th[scope=row] {

/* No variance in the thickness on the weights table fortunately */ border-left: 1px solid black; }
 * 1) weights_table > tbody > tr > td:nth-child(n+2) {

/* Japanese character */ text-align: center; } /* Divided into */ font-size: 83%; text-align: left; } /* Approximate weights. French grammes behaves a bit weird but either left or right would work. */	text-align: right; } /* Remarks */ text-align: left; }
 * 1) weights_table > tbody > tr > td:nth-child(2) {
 * 1) weights_table > tbody > tr > td:nth-child(3) {
 * 1) weights_table > tbody > tr > td:nth-child(n+4):nth-child(-n+7) {
 * 1) weights_table > tbody > tr > td:nth-child(8) {