Index:Report of the Commission of Enquiry North Borneo & Sarawak.pdf/styles.css

/* table with no side borders for itinerary in pages 95-96*/
table.noborders_itinerary {
	margin-left: auto;
	margin-right: auto;
	}

/*padding right starting from 4th column*/
table.noborders_itinerary td:nth-child(n+3) {
	padding-right: 1em;
	}
/*align texts to the center in the header and the 3rd column*/
table.noborders_itinerary th,
table.noborders_itinerary td:nth-child(3) {
	text-align: center;
}

table.noborders_itinerary td:nth-child(4) {
	max-width: 22em;
}

/*align text to the left at the 1st, 4th, and 6th columns*/
table.noborders_itinerary td:nth-child(1),
table.noborders_itinerary td:nth-child(4),
table.noborders_itinerary td:nth-child(6) {
	text-align: left;
}

/* table with no side borders for Table 1 in page 97*/
/*center the table and draw borders at the top and bottom of the table*/
table.colhdbordernoside__tableone { 
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
	border-top: 1px solid;
	border-bottom: 1px solid;
}

/*draw border at the base of the header*/
table.colhdbordernoside__tableone th {
	border-bottom: 1px solid;
	text-align: center;
}

/*create border at the central table*/
table.colhdbordernoside__tableone th:nth-child(2),
table.colhdbordernoside__tableone td:nth-child(5){
	border-left: 1px solid;
}

/*align text to the right for these columns*/
table.colhdbordernoside__tableone td:nth-child(3),
table.colhdbordernoside__tableone td:nth-child(4),
table.colhdbordernoside__tableone td:nth-child(7),
table.colhdbordernoside__tableone td:nth-child(8) {
text-align: right;
}

/*right padding for texts at below the first header*/
table.colhdbordernoside__tableone td:nth-child(-n+4) {
padding-right: 1em;
}

/*left padding for texts below the second header*/
table.colhdbordernoside__tableone td:nth-child(n+5) {
padding-left: 1em;
}

/* table with no side borders for Table 2 at in 98*/
table.nosideborder__tabletwo { 
	border-collapse: collapse;
	border-top: 1px solid;
	border-bottom: 1px solid;
	margin-left: auto;
	margin-right: auto;
}

/*align texts to the center in all the headers*/
table.nosideborder__tabletwo th {
	border-bottom: 1px solid;
	text-align: center;
}

/*create border at the central table*/
table.nosideborder__tabletwo th:nth-child(2),
table.nosideborder__tabletwo td:nth-child(4){
	border-left: 1px solid;
}

/*align text to the center for these columns*/
table.nosideborder__tabletwo td:nth-child(3),
table.nosideborder__tabletwo td:nth-child(6) {
text-align: center;
}

/*right padding for texts at below the first header*/
table.nosideborder__tabletwo td:nth-child(-n+3) {
padding-right: 1em;
}

/*left padding for texts below the second header*/
table.nosideborder__tabletwo td:nth-child(n+4) {
padding-left: 1em;
}

/* table with no side borders for Table 3 in page 98*/
table.nosideborder_tablethree { 
	border-collapse: collapse;
	border-top: 1px solid;
	border-bottom: 1px solid;
	margin-left: auto;
	margin-right: auto;
}
table.nosideborder_tablethree th {
	border-bottom: 1px solid;
	text-align: center;
}

/*create inner borders*/
table.nosideborder_tablethree th:nth-child(n+2),
table.nosideborder_tablethree td:nth-child(n+3){
	border-left: 1px solid;
	padding-left: 1em;
	padding-right: 1em;
}

/*align text to the center for these columns*/
table.nosideborder_tablethree td:nth-child(n+3) {
text-align: center;
}

/*right padding for texts at below the first header*/
table.nosideborder_tablethree td:nth-child(-n+2) {
padding-right: 1em;
}

/*table with no side borders for Table 4 in page 98*/
table.nosideborder_tablefour { 
	border-collapse: collapse;
	border-top: 1px solid;
	border-bottom: 1px solid;
	margin-left: auto;
	margin-right: auto;
}

/*draw border at the base of the header*/
table.nosideborder_tablefour th {
	border-bottom: 1px solid;
	text-align: center;
	padding-right: 1em;
	padding-left: 1em;
}

table.nosideborder_tablefour tr:nth-last-child(1) {
	border-top: 1px solid;
}
table.nosideborder_tablefour th:nth-child(n+3) {
	 border-left: 1px solid;
}

table.nosideborder_tablefour td:nth-child(n+3){
	border-left: 1px solid;
	padding-right: 1em;
	padding-left: 1em;
	text-align: center;
}