Template:HCPP vtoc/styles.css

/* * Stylesheet for volume TOCs for House of Commons Parliamentary Papers. * Broadly, a TOC 1-out-1 scheme, but with some special formatting for title * and section title rows. * * Invoke via */

/* centre in page */ ._hcpp_vtoc { margin: auto; max-width:45em; font-size: 95%; line-height: 130%; }

/* the main title rows */ ._hcpp_vtoc ._title { text-align: center; letter-spacing: 0.15em; }

._hcpp_vtoc td { padding-top: 0.4em; }

/* section title rows */ ._hcpp_vtoc ._section td:nth-child(2) { text-indent: 2em; /* override default from nth-child(2) */ padding-top: 1em; }

/* paper number column */ ._hcpp_vtoc td:nth-child(1){ text-align:right; white-space: nowrap; vertical-align: top; }

/* page num column */ ._hcpp_vtoc td:nth-child(3){ text-align:right; white-space: nowrap; vertical-align: bottom; }

/* paper name column */ ._hcpp_vtoc td:nth-child(2) { text-indent: -2em; padding-left: 2.5em; padding-right: 0.5em; }