Template:ORUCN/s2v3 styles.css

/* * Work-specific styles for the Official Records of the Union and Confederate Navies, * Series 2, Volume 3 */

/** * Styling for the List of Papers tables from page 26 onwards */ ._orucns2v3_paperlist { margin: auto; max-width:60em; font-size: 92%; /* fine */ border-top: 1px solid black; border-bottom: 1px solid black; border-collapse: collapse; }

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

._orucns2v3_paperlist td { line-height: 1.0; vertical-align: top; padding: 2px 0.5em; }

/* Hanging indents */ ._orucns2v3_paperlist td:nth-child(1), ._orucns2v3_paperlist td:nth-child(3) { text-indent: -1em; padding-left: 1.5em; /* 1em hang plus 0.5 spacing */ /* hyphenate to improve justification - not all browsers */ }

._orucns2v3_paperlist td:nth-child(2) { text-align: center; width:5em; /* don't let dates wrap */ }

/* page nums */ ._orucns2v3_paperlist td:nth-child(4) { text-align: right; }

/* central v-rule borders */ ._orucns2v3_paperlist tr :nth-child(n+2) { border-left:1px solid black }

/* Continued rows */

/* First two cells are hidden to allow nth-child selectors to work */ ._orucns2v3_paperlist tr._continued td:nth-child(-n+2) { display: none; }

._orucns2v3_paperlist tr._continued td:nth-child(3) { text-indent: 0; /* no continuation indent */ }