Index:Labour and childhood.djvu/styles.css

From Wikisource
Jump to navigation Jump to search
/* Index table: two columns, L-R aligned, with centred headings */
.work_TOC,
.table,
.p8table,
.p194  /* also used p.80 */ { 
	margin: auto; 
	max-width: 38em;
}

.work_TOC  td:nth-child(1) {
	vertical-align: top;
    padding-right: 1em;
}

.work_TOC  td:nth-child(1),
.work_TOC  td:nth-child(3) {
	text-align: right;
	vertical-align: bottom;
}

.p8table  td:nth-child(1),
.p179     td:nth-child(1) {
	vertical-align: top;
    text-align: left;
}

.p8table  td:nth-child(n+2) {
	vertical-align: top;
    padding-left: 2em;
}

.p80table {
	margin: auto; 
	max-width: 38em;
    text-align: center;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-collapse: collapse;
}

.col1  td:nth-child(1) {   
    text-align: left;
    padding-right:1em;
}

.col2and  td:nth-child(n+2) {
    border-left: 1px solid black;
    padding: 0em 0.5em 0em 0.5em;
}

.r1align tr:nth-child(1) {
    line-height:1.2;
    font-size:83%;
    text-align:center;
    border-bottom: 1px solid black;
}

.r2align tr:nth-child(2) {
   vertical-align: top;
}

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

.p129 {
	max-width: 38em;
}

.p129  td:nth-child(n+2) {
    padding: 0 1em 0 1em;
    border-left: 1px solid black;
}

.p129  td:nth-child(1),
.p179  td:nth-child(n+2),
.p194  td:nth-child(1) {
    text-align:center;
    padding: 0 1em 0 1em;
}

.p194   td:nth-child(n+2) {
    text-align:right;
    padding-left:2em;
}