Index:Encyclopædia Britannica, Ninth Edition, v. 23.djvu/styles.css
Jump to navigation
Jump to search
/* FIRST TABLE ON PAGE 564 */
/* whole table */
.__incdectable564{
margin-left: auto; /* center the table */
margin-right: auto;
border-collapse: collapse; /* remove border gaps */
}
/* headers */
.__incdectable564 th{
border: 1px solid black;
font-weight: normal;
text-align: center;
}
/* table entries */
.__incdectable564 td{
border-left: 1px solid black;
font-weight: normal;
}
/* right borders in the last column */
.__incdectable564 td:last-child{
border-right: 1px solid black;
}
/* bottom borders */
.__incdectable564 tr:last-child td{
border-bottom: 1px solid black;
}
/* align text to right in 2nd, 4th, 6th, 8th, 10th columns */
.__incdectable564 td:nth-child(2),
.__incdectable564 td:nth-child(4),
.__incdectable564 td:nth-child(6),
.__incdectable564 td:nth-child(8),
.__incdectable564 td:nth-child(10){
text-align: right;
}
/* center text in 3rd, 5th, 7th, 9th columns */
.__incdectable564 td:nth-child(3),
.__incdectable564 td:nth-child(5),
.__incdectable564 td:nth-child(7),
.__incdectable564 td:nth-child(9){
text-align: center;
}
/* SECOND TABLE ON PAGE 564 */
/* whole table */
.__sincostable564{
margin-left: auto; /* center the table */
margin-right: auto;
border-collapse: collapse; /* remove border gaps */
text-align: center; /* align text to center */
}
/* headers */
.__sincostable564 th{
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
font-weight: normal;
}
/* table entries */
.__sincostable564 td{
border-left: 1px solid black;
font-weight: normal;
padding-left: 1em;
padding-right: 1em;
}
/* right borders in the last column */
.__sincostable564 td:last-child{
border-right: 1px solid black;
}
/* bottom borders */
.__sincostable564 tr:last-child td{
border-bottom: 1px solid black;
}
/* 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;
}