/* modified to work with AeP */ a, a:visited, a:active, a:link { text-decoration:none; } ul, ol { margin-bottom: 1em } .small-caps { font-variant: small-caps; } /* * 0 Master Page Items */ /* Section intentionally empty as master page items (page numbers, running heads, etc) should never appear in an epub */ /* * 1a Book Cover Pages */ h1.book-title { margin-top: 10%; page-break-after: avoid; text-align: center; margin-bottom: 2em; } .book-subtitle { page-break-after: avoid; text-align: center; margin-bottom: 1em; } .half-title { page-break-after: avoid; text-align: center; margin-bottom: 1em; } .book-author { page-break-after: avoid; text-align: center; margin-bottom: 1em } .book-author-book-title { page-break-after: avoid; text-align: center; margin-bottom: 1em } p.book-author-text { text-indent: 0; margin-top: 0; line-height: 1.2em; } p.book-author-text-space-after { text-indent: 0; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; } p.book-author-text-indented { text-indent: 1em; margin-top: 0; line-height: 1.2em; } p.book-author-text-indented-space-after { text-indent: 1em; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; } /* * 1b Prelims */ p.prelims-copyright { text-indent: 0em; text-align: center; line-height: 1.2em; } p.prelims-copyright-space-after { text-indent: 0em; text-align: center; line-height: 1.2em; margin-bottom: 1em; } p.prelims-copyright-logo { text-align: center; vertical-align: middle; margin-top: 20px; margin-bottom: 20px; } p.prelims-publisher { text-indent: 0em; text-align: center; line-height: 1.2em; } p.prelims-publisher-space-after { text-indent: 0em; text-align: center; line-height: 1.2em; margin-bottom: 1em; } p.prelims-publisher-logo { margin-top: 3em; text-align: center; margin-bottom: 3em; } p.prelims-HC-green-website { text-indent: 0em; text-align: center; line-height: 1.2em; } p.prelims-dedication { text-align: center; margin-top: 15%; line-height: 1.2em; } p.prelims-dedication-space-after { text-align: center; margin-top: 15%; line-height: 1.2em; margin-bottom: 1em; } .prelims-books-by-head { text-align: center; margin-bottom: 1.5em; line-height: 1.2em; } .prelims-books-by-subhead { text-align: center; margin-bottom: 0.5em; line-height: 1.2em; } p.prelims-books-by-text { line-height: 1em; font-style: italic; text-align: center; } p.prelims-books-by-text-space-after { line-height: 1em; font-style: italic; text-align: center; margin-bottom: 1em; } /* * 1c Table of Contents */ /* Section intentionally empty as a manual TOC should never appear in an epub */ /* * 1d Epigraphs */ p.epigraph { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-left: 1.5em; margin-right: 2em; } p.epigraph-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-left: 1.5em; margin-right: 2em; margin-bottom: 1em; } p.epigraph-indented { font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-left: 1.5em; margin-right: 2em; } p.epigraph-indented-space-after { font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-left: 1.5em; margin-right: 2em; margin-bottom: 1em; } p.epigraph-source { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 0; margin-left: 50%; margin-right: 2em; font-style: italic; margin-bottom: 1em; } p.epigraph-source-space-after { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 1em; margin-left: 50%; margin-right: 2em; font-style: italic; margin-bottom: 1em; } /* * 2a Part Headings */ .part-number-only { text-align: center; page-break-after: avoid; margin-top: 15%; margin-bottom: 2em; } .part-number-1-line-title { text-align: center; page-break-after: avoid; margin-top: 15%; margin-bottom: 2em; } .part-number-2-line-title { text-align: center; page-break-after: avoid; margin-top: 15%; margin-bottom: 2em; } .part-title-with-part-number { text-align: center; page-break-after: avoid; margin-bottom: 2em; } /* * 3a Chapter Headings */ .chapter-number-1-line-title { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 2em; } .chapter-title-book, .chapter-author { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 2em; } .chapter-number-2-line-title { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 2em; } .chapter-title-number-only { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 2em; } .chapter-title-number-spelt { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 2em; } .chapter-title-with-chapter-number { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 2em; } .chapter-title-only-on-1-line { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 2em; } .chapter-title-only-on-2-lines { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 2em; } div.chapter-image-head { width: 100%; max-height: 100%; text-align: center; } img.chapter-image-head { max-width: 100%; max-height: 100%; } /* * 3b Sub-Headings and Breaks */ p.section-symbol-break { text-indent: 0; text-align:center; margin-top: 1em; margin-bottom: 1em; line-height: 1.2em; } .subhead-a, .subhead-a, p.subhead-a { page-break-after: avoid; font-size:1em; font-style:italic; text-indent:0em; } .subhead-b, .subhead-b, p.subhead-b { page-break-after: avoid; } .subhead-c, .subhead-c, p.subhead-c { page-break-after: avoid; } /* * 4a Main Text */ p.text-flush-left { text-indent: 0; margin-top: 0; margin-bottom: 0; line-height: 1.2em; } p.text-flush-left-opener { text-indent: 0; margin-top: 0; margin-bottom: 0; line-height: 1.2em; } p.text-flush-left-space-after { text-indent: 0; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; } p.text-flush-right { text-indent: 0; text-align: right; margin-top: 0; margin-bottom: 0; line-height: 1.2em; } p.text-flush-right-space-after { text-indent: 0; text-align: right; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; } p.text-flush-centered { text-indent: 0; text-align: center; margin-top: 0; margin-bottom: 0; line-height: 1.2em; } p.text-flush-centered-space-after { text-indent: 0; text-align: center; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; } p.text-indented { text-indent: 1em; margin-top: 0; margin-bottom: 0; line-height: 1.2em; } p.text-indented-space-after { text-indent: 1em; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; } p.text-hanging-indent { text-indent: 1em; margin-top: 0; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } p.text-hanging-indent-space-after { text-indent: 1em; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } /* * 4b Extracts */ p.poetry-flush-left { text-indent: 0; line-height: 1.1em; } p.extract { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.extract-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.extract-source { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 0; margin-left: 50%; margin-right: 2em; } p.extract-source-space-after { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 1em; margin-left: 50%; margin-right: 2em; } p.extract-date { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.extract-date-space-after { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.dialogue { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.dialogue-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.diary { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.diary-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.diary-head { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.diary-head-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.diary-date { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.diary-date-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.email { font-family: sans-serif; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.email-space-after { font-family:sans-serif; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.email-head { font-family: sans-serif; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.email-head-space-after { font-family: sans-serif; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.email-date { font-family: sans-serif; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.email-date-space-after { font-family: sans-serif; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.email-source { font-family:sans-serif; font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 0; margin-left: 50%; margin-right: 2em; } p.email-source-space-after { font-family:sans-serif; font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 1em; margin-left: 50%; margin-right: 2em; } p.letter { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.letter-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.letter-date { font-size: 0.8em; text-indent: 0; text-align:right; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.letter-date-space-after { font-size: 0.8em; text-indent: 0; text-align:right; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.letter-source { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 0; margin-left: 50%; margin-right: 2em; } p.letter-source-space-after { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 1em; margin-left: 50%; margin-right: 2em; } p.message { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.message-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.message-head { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.message-head-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.newspaper { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.newspaper-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.newspaper-head { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.newspaper-head-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.newspaper-subhead { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.newspaper-subhead-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.recipe { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.recipe-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.recipe-head { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.recipe-head-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.recipe-list { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.recipe-list-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } /* * 4c Lists */ p.list-level-1 { text-indent: 0em; } p.list-level-1-space-after { text-indent: 0em; margin-bottom: 1em; } p.list-level-2 { text-indent: 2em; } p.list-level-2-space-after { text-indent: 2em; margin-bottom: 1em; } p.list-level-3 { text-indent: 4em; } p.list-level-3-space-after { text-indent: 4em; margin-bottom: 1em; } p.list-numbered-list-level-1 { text-indent: 0em; } p.list-numbered-list-level-1-space-after { text-indent: 0em; margin-bottom: 1em; } p.list-numbered-list-level-2 { text-indent: 2em; } p.list-numbered-list-level-2-space-after { text-indent: 2em; margin-bottom: 1em; } p.list-numbered-list-level-3 { text-indent: 4em; } p.list-numbered-list-level-3-space-after { text-indent: 4em; margin-bottom: 1em; } p.list-bulleted-list-level-1 { text-indent: 0em; } p.list-bulleted-list-level-1-space-after { text-indent: 0em; margin-bottom: 1em; } p.list-bulleted-list-level-2 { text-indent: 2em; } p.list-bulleted-list-level-2-space-after { text-indent: 2em; margin-bottom: 1em; } p.list-bulleted-list-level-3 { text-indent: 4em; } p.list-bulleted-list-level-3-space-after { text-indent: 4em; margin-bottom: 1em; } /* * 4d Footnotes and Endnotes */ p.footnote-flush-left { font-size: 0.8em; text-indent: 1em; margin-top: 0; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } p.footnote-flush-left-space-after { font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } p.footnote-indented { font-size: 0.8em; text-indent: 1em; margin-top: 0; line-height: 1.2em; padding-left: 1em; } p.footnote-indented-space-after { font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom:1em; line-height: 1.2em; padding-left: 1em; } p.endnote-flush-left { text-indent: 1em; margin-top: 0; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } p.endnote-flush-left-space-after { text-indent: 1em; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } p.endnote-indented { text-indent: 1em; margin-top: 0; line-height: 1.2em; padding-left: 1em; } p.endnote-indented-space-after { text-indent: 1em; margin-top: 0; margin-bottom:1em; line-height: 1.2em; padding-left: 1em; } /* * 5a End of Book */ .end-title { text-align: center; page-break-after: avoid; margin-top: 10%; margin-bottom: 2em; } p.bibliography { text-indent: 1em; margin-top: 0; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } p.bibliography-space-after { text-indent: 1em; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } p.glossary { text-indent: 1em; margin-top: 0; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } p.glossary-space-after { text-indent: 1em; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; text-indent: -1em; padding-left: 1em; } /* index-1 et al should never appear */