Index:The empire and the century.djvu/styles.css

/* Index table: two columns, L-R aligned, with centred headings */ .work_TOC, .table { margin: auto; max-width: 38em; }

._valignb th, ._valignb tr td { vertical-align: bottom; } ._valign tr, ._valign tr td, ._valign tr th{ vertical-align:top; }

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

.work_TOC caption { font-size: 144%; }

.center, .tlastac td:nth-last-child(1), .p236 tr:nth-child(2) td:nth-child(1), .p236 tr:nth-child(2) td:nth-last-child(1) { text-align: center; }

.fine { font-size: 92%; }

.smaller { font-size: 83%; }

.sc { font-variant: small-caps; }

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

.indent td:nth-child(1), .t1top  td:nth-child(1) { vertical-align: middle; }

.t1left  td:nth-child(1), .t2left  td:nth-child(2), .p236 tr:nth-child(n+2) td:nth-last-child(3) { text-align: left; }

.t2on td:nth-child(n+2), .t3on td:nth-child(n+3) { border-left: 1px solid black; padding:0 0.2em 0 0.2em; }

.horizborder { border-top: 1px solid black; border-bottom: 1px solid black; border-collapse: collapse; }

.collast td:nth-last-child(1) { text-align: right; }

.rbbfine { font-size:92%; border-bottom: 1px solid black; }

.eqw td:nth-child(n+2) { width:20% }

.r1it_al tr:nth-child(1) { vertical-align: top; text-align: left; padding-left: 2.0em; text-indent: -2.0em; }

.p86  td:nth-last-child(n+5):nth-last-child(n+1) { padding:0 0.2em 0 0.2em; } .p86  td:nth-last-child(5), .p86  td:nth-last-child(4), .p86  td:nth-last-child(1), .p235 td:nth-last-child(1), .p235 tr:nth-child(n+2) td:nth-last-child(3), .p235 tr:nth-child(n+2) td:nth-last-child(4) { border-left: 1px solid black; }

.p86  td:nth-last-child(2), .p86  td:nth-last-child(3), .p235 tr:nth-child(n+2) td:nth-last-child(2) { border-left: 4px double black; }

.p87t2 tr:nth-child(n+2) td:nth-child(n+2) { border-left: 1px solid black; text-align: center; }

.p87t2 tr:nth-child(1) { border-bottom: 1px solid black; line-height:120%; font-size:83%; }

.p87t2 tr:nth-child(1) td:nth-child(n+2) { vertical-align: top; border-left: 1px solid black; padding-left: 1.5em; text-indent: -1.0em; padding-right: 0.5em; }

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

.p236 td:nth-child(1){ border-right: 1px solid black; text-align: center; }

.p236 td:nth-last-child(1), .p236 td:nth-last-child(2), .p236 tr:nth-child(n+2) td:nth-last-child(3) { padding-left: 1.5em; text-indent: -1em; padding-right: 0.5em; border-left: 1px solid black; vertical-align: bottom; }

.p237 td:nth-child(1) { border-right: 1px solid black; text-align: center; vertical-align: middle; }

.p237 td:nth-last-child(1), .p237 td:nth-last-child(2), .p237 tr:nth-child(n+2) td:nth-last-child(3), .p237 tr:nth-child(5) td:nth-child(1), .p237 tr:nth-child(7) td:nth-child(1) { padding-left: 1.5em; text-indent: -1em; padding-right: 0.5em; border-left: 1px solid black; vertical-align: bottom; text-align: left; }

.p237 tr:nth-child(n+1) td:nth-last-child(1), .p237 tr:nth-child(n+1) td:nth-last-child(2) { text-align: center; }

.p238 tr:nth-child(1) td:nth-last-child(1), .p238 tr:nth-child(n+2) td:nth-last-child(5) { border-left: 4px double black; text-align: center; }

.p238 tr:nth-child(2) { border-top: 1px solid black; border-bottom: 1px solid black; }

.p238 tr:nth-child(n+2) td:nth-last-child(-n+10):not(:nth-last-child(5)) { border-left: 1px solid black; }

.p238 tr:nth-child(n+3) td:nth-last-child(-n+10) { vertical-align: bottom; line-height: 120%; padding: 0 0.1em 0.3em 0.1em; text-align: center; } .p243 tr:nth-child(-n+7) td:nth-last-child(1), .p243 tr:nth-child(-n+7) td:nth-last-child(2) { text-align: center; border-left: 1px solid black; } ._valign tr, ._valign tr td, ._valign tr th{ vertical-align:top; }

/* borders around table/columns/ ; centre ; 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; }