/* modified to work with AeP */ /* impulse style */ a, a:visited, a:active, a:link { text-decoration:underline; color: inherit; } 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: 5em; page-break-after: avoid; text-align: center; margin-bottom: 1em; } .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-indent: 0; text-align: center; font-size: 1.2em; margin-top: 4em; margin-bottom:5em; } .book-author-book-title { text-indent: 0; 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; text-indent: 0; vertical-align: middle; margin-top: 20px; margin-bottom: 20px; } p.prelims-publisher { text-indent: 0em; text-align: center; text-indent: 0; line-height: 1.2em; } p.prelims-publisher-space-after { text-indent: 0em; text-align: center; text-indent: 0; line-height: 1.2em; margin-bottom: 1em; } p.prelims-publisher-logo { margin-top: 3em; text-align: center; text-indent: 0; margin-bottom: 3em; } p.prelims-HC-green-website { text-indent: 0em; text-align: center; text-indent: 0; line-height: 1.2em; } p.prelims-dedication { text-align: center; text-indent: 0; margin-top: 2em; line-height: 1.2em; } p.prelims-dedication-space-after { text-align: center; text-indent: 0; margin-top: 2em; line-height: 1.2em; margin-bottom: 1em; } .prelims-books-by-head { text-align: center; text-indent: 0; margin-bottom: 1.5em; line-height: 1.2em; } .prelims-books-by-subhead { text-align: center; text-indent: 0; margin-bottom: 0.5em; line-height: 1.2em; } p.prelims-books-by-text { line-height: 1em; font-style: italic; text-align: center; text-indent: 0; } p.prelims-books-by-text-space-after { line-height: 1em; font-style: italic; text-align: center; text-indent: 0; 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-left: 5em; 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: 5em; margin-right: 2em; font-style: italic; margin-bottom: 1em; } /* * 2a Part Headings */ .part-number-only { text-indent: 0; text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .part-number-1-line-title { text-indent: 0; text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .part-number-2-line-title { text-indent: 0; text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .part-title-with-part-number { text-indent: 0; text-align: center; page-break-after: avoid; margin-bottom: 2em; } /* * 3a Chapter Headings */ .chapter-number-1-line-title { text-indent: 0; text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-book, .chapter-author { text-indent: 0; text-align: center; font-size: 1.2em; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-number-2-line-title { text-align: center; text-indent: 0; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-number-only { text-align: center; text-indent: 0; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-number-spelt { text-align: center; text-indent: 0; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-with-chapter-number { text-align: center; text-indent: 0; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-only-on-1-line { text-align: center; text-indent: 0; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-only-on-2-lines { text-align: center; text-indent: 0; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } div.chapter-image-head { width: 100%; max-height: 100%; text-align: center; text-indent: 0; } img.chapter-image-head { max-width: 100%; max-height: 100%; } /* * 3b Sub-Headings and Breaks */ .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 { text-align: left; page-break-after: avoid; font-size:100%; font-style:italic; text-indent:0em; } .subhead-a-centred { text-align: centred; page-break-after: avoid; margin-top: 1em; font-size:100%; font-style:bold; text-indent:0em; } .subhead-a-centred-new-page { text-align: centred; page-break-after: avoid; margin-top: 3em; font-size:100%; font-style:bold; text-indent:0em; } .subhead-b, .subhead-b, p.subhead-b { text-align: left; page-break-after: avoid; } .subhead-c, .subhead-c, p.subhead-c { text-align: left; 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-align: 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-indent { font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.extract-indent { font-size: 0.8em; text-indent: 1em; 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: 5em; margin-right: 2em; } p.extract-source-space-after { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 1em; margin-left: 5em; 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: 5em; 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: 5em; 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: 5em; margin-right: 2em; } p.letter-source-space-after { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 1em; margin-left: 5em; 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; text-align: left; } p.list-level-1-space-after { text-indent: 0em; text-align: left; 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; text-align: left; } p.list-numbered-list-level-1-space-after { text-indent: 0em; text-align: left; 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; text-align: left; } p.list-bulleted-list-level-1-space-after { text-indent: 0em; text-align: left; 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; text-indent: 0; page-break-after: avoid; margin-top: 1em; 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 */