Index:The Acts of the Indian Legislature and the Governor General for the year 1931.pdf/styles.css

/* LISTS OF ACTS */ ._actlist{ margin: 0 auto; }

._actlist td{ vertical-align: top; }

/* first column (Roman numeral) */ ._actlist td:nth-child(1){ text-align: right; padding-right: 1em; }

/* second column ("An Act") */ ._actlist td:nth-child(2){ text-align: center; white-space: nowrap; }

/* third column (name of act) */ ._actlist td:nth-child(3){ padding-left: 1em; text-indent: -1em; }

/* INDEX TABLES */ ._indextable { margin: 0 auto; border-collapse: collapse; border-top: 3px solid black; border-bottom: 1px solid black; }

/* headers */ ._indextable th{ font-weight: normal; font-variant: small-caps; text-align: center; vertical-align: top; height: 1em; border-bottom: 1px solid black; }

._indextable th:nth-child(1), ._indextable th:nth-child(2){ border-right: 1px solid black; }

/* first column (acts and amendments) */ ._indextable td:nth-child(1){ border-right: 1px solid black; vertical-align: top; /* fake hanging indent */ padding-left: 4em; text-indent: -4em; }

/* act names in small caps */ ._actname { font-variant: small-caps; } /* act sections */ ._actsect{ border-top: 1px solid black; }

/* second column (act number?) */ ._indextable td:nth-child(2){ border-right: 1px solid black; width: 10%; text-align: center; vertical-align: bottom; }

/* third column (section number?) */ ._indextable td:nth-child(3){ text-align: center; vertical-align: bottom; }