Index:Sarawak Gazette 4 January 1907 Issue No 492.pdf/styles.css

/*Sarawak Aerated Water Factory table on page 16*/ ._colhdbordernoside { border-collapse: collapse; border-top: 1px solid; border-bottom: 1px solid; margin:0 auto 0 auto; }

._colhdbordernoside th { border-bottom: 1px solid; text-align: center; }

._colhdbordernoside th:nth-child(n+3), ._colhdbordernoside td:nth-child(n+3) { border-left: 1px solid; text-align: center; }

/*Shipping arrivals and depatures tables on page 16*/ ._colhdbordernoside_two { border-collapse: collapse; border-top: 1px solid; border-bottom: 1px solid; margin:0 auto 0 auto; }

._colhdbordernoside_two th { border-bottom: 1px solid; text-align: center; }

._colhdbordernoside_two th:nth-child(n+2), ._colhdbordernoside_two td:nth-child(n+2) { border-left: 1px solid; padding-left: 0.5em; }

._colhdbordernoside_two td:nth-child(1), ._colhdbordernoside_two td:nth-child(4){ text-align: right; }

._colhdbordernoside_two td:nth-child(3){ text-align: center; }

/*Foreign trade returns tables on page 17*/ ._colhdbordernoside_three { border-collapse: collapse; border-top: 1px solid; border-bottom: 1px solid; margin:0 auto 0 auto; }

._colhdbordernoside_three th { border-bottom: 1px solid; text-align: center; }

._colhdbordernoside_three th:nth-child(n+2), ._colhdbordernoside_three td:nth-child(4), ._colhdbordernoside_three td:nth-child(7){ border-left: 1px solid; padding-left: 0.5em; }

._colhdbordernoside_three td:nth-child(6), ._colhdbordernoside_three td:nth-child(7){ text-align: right; }

._colhdbordernoside_three td:nth-child(4){ text-align: left; }

/*Sarawak museum temperature and rainfall observations on page 18*/ ._colhdbordernoside_four { border-collapse: collapse; border-top: 1px solid; border-bottom: 1px solid; margin:0 auto 0 auto; }

._colhdbordernoside_four th { border-bottom: 1px solid; text-align: center; }

._colhdbordernoside_four th:nth-child(n+2), ._colhdbordernoside_four td:nth-child(n+2) { border-left: 1px solid; padding-left: 0.5em; }

._colhdbordernoside_four td:nth-child(-n+4){ text-align: right; }

/*Shipping arrivals and departures on page 19*/ ._colhdbordernoside_five { border-collapse: collapse; border-top: 1px solid; border-bottom: 1px solid; margin:0 auto 0 auto; }

._colhdbordernoside_five tr:nth-child(2) th { border-bottom: 1px solid; }

._colhdbordernoside_five th { text-align: center; }

._colhdbordernoside_five th:nth-child(n+2), ._colhdbordernoside_five td:nth-child(n+2) { border-left: 1px solid; }

._colhdbordernoside_five td:nth-child(2), ._colhdbordernoside_five td:nth-child(n+6){ text-align: right; }

/*Sarawak Almanac on page 19*/ ._colhdbordernoside_six { border-collapse: collapse; border-top: 1px solid; border-bottom: 1px solid; margin:0 auto 0 auto; }

._colhdbordernoside_six th { border-bottom: 1px solid; text-align: center; }

/*rows affected by the column 5 spanning*/ ._colhdbordernoside_six th:nth-child(n+2), ._colhdbordernoside_six tr:nth-child(n+5):nth-child(-n+10) td:nth-child(9), ._colhdbordernoside_six tr:nth-child(n+5):nth-child(-n+10) td:nth-child(n+2):nth-child(-n+7), ._colhdbordernoside_six tr:nth-child(n+12):nth-child(-n+18) td:nth-child(9), ._colhdbordernoside_six tr:nth-child(n+12):nth-child(-n+18) td:nth-child(n+2):nth-child(-n+7), ._colhdbordernoside_six tr:nth-child(n+20):nth-child(-n+35) td:nth-child(9), ._colhdbordernoside_six tr:nth-child(n+20):nth-child(-n+35) td:nth-child(n+2):nth-child(-n+7){ border-left: 1px solid; }

._colhdbordernoside_six tr:nth-child(n+5):nth-child(-n+10) td:nth-child(n+7):nth-child(-n+10), ._colhdbordernoside_six tr:nth-child(n+5):nth-child(-n+10) td:nth-child(n+2):nth-child(-n+5), ._colhdbordernoside_six tr:nth-child(n+12):nth-child(-n+18) td:nth-child(n+7):nth-child(-n+10), ._colhdbordernoside_six tr:nth-child(n+12):nth-child(-n+18) td:nth-child(n+2):nth-child(-n+5), ._colhdbordernoside_six tr:nth-child(n+20):nth-child(-n+35) td:nth-child(n+7):nth-child(-n+10), ._colhdbordernoside_six tr:nth-child(n+20):nth-child(-n+35) td:nth-child(n+2):nth-child(-n+5){ text-align: right; }

/*rows with column 5 that spans other rows*/ ._colhdbordernoside_six tr:nth-child(4) td:nth-child(10), ._colhdbordernoside_six tr:nth-child(4) td:nth-child(n+2):nth-child(-n+8), ._colhdbordernoside_six tr:nth-child(11) td:nth-child(10), ._colhdbordernoside_six tr:nth-child(11) td:nth-child(n+2):nth-child(-n+8), ._colhdbordernoside_six tr:nth-child(19) td:nth-child(10), ._colhdbordernoside_six tr:nth-child(19) td:nth-child(n+2):nth-child(-n+8){ border-left: 1px solid; }

._colhdbordernoside_six tr:nth-child(4) td:nth-child(n+8):nth-child(-n+11), ._colhdbordernoside_six tr:nth-child(4) td:nth-child(n+2):nth-child(-n+6), ._colhdbordernoside_six tr:nth-child(11) td:nth-child(n+8):nth-child(-n+11), ._colhdbordernoside_six tr:nth-child(11) td:nth-child(n+2):nth-child(-n+6), ._colhdbordernoside_six tr:nth-child(19) td:nth-child(n+8):nth-child(-n+11), ._colhdbordernoside_six tr:nth-child(19) td:nth-child(n+2):nth-child(-n+6){ text-align: right; }

/*Meteorological readings page 20*/ ._colhdbordernoside_seven { border-collapse: collapse; border-top: 1px solid; border-bottom: 1px solid; margin:0 auto 0 auto; }

._colhdbordernoside_seven th { border-bottom: 1px solid; text-align: center; }

._colhdbordernoside_seven th:nth-child(n+2), ._colhdbordernoside_seven td:nth-child(n+2) { border-left: 1px solid; padding-left: 0.5em; }

._colhdbordernoside_seven td:nth-child(11), ._colhdbordernoside_seven td:nth-child(-n+8){ text-align: right; }

._colhdbordernoside_seven td:nth-child(9), ._colhdbordernoside_seven td:nth-child(10) { text-align: center; }