/* modified to work with AeP */ /* Impulse style */ /* 26/09/14 Changed all px measurements to em to meet v1.3 spec */ /* 02/10/14 Moved cover image to basestyle */ /* 22/10/14 Removed any text-align: left (as this is the default) to meet HC spec */ /* 13/11/14 Added styles to support Impulse_Print and eBook_Prelims stencil */ /* 07/01/15 Removed reference to to meet HC spec 1.3b */ /* 29/01/15 Removed reference to a.toc-link to meet HC spec 1.3b */ 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: 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; text-indent: 0; margin-top: 4em; margin-bottom: 5em; } .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: 1.250em; margin-bottom: 1.250em; } 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: 2em; line-height: 1.2em; } p.prelims-dedication-space-after { text-align: center; margin-top: 2em; 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; } div.toc_fm{ padding-bottom: 1em; } div.toc_bm{ padding-top: 1em; } p.toc_fm, p.toc_bm { font-weight: normal; text-indent: 0; line-height: 1.5em; margin-top:0; margin-bottom:0; } div.toc_part div.toc_chap p.toc_chap{ text-indent: 1em; } div.toc_part{ margin-bottom: 1em; } p.toc-head { font-size: 1.5em; font-weight: bold; text-indent: 0; margin-bottom: 1em; } p.toc_chap { font-weight: normal; text-indent: 0; line-height: 1.5em; margin-top:0; margin-bottom:0; } p.toc_part { font-weight: normal; text-indent: 0; line-height: 1.5em; margin-top: 0; margin-bottom: 0; } 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: 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-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .part-number-1-line-title { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .part-number-2-line-title { text-align: center; page-break-after: avoid; margin-top: 2em; 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: 2em; margin-bottom: 2em; } .chapter-title-book, .chapter-author { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-number-2-line-title { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-number-only { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-number-spelt { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-with-chapter-number { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-only-on-1-line{ text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .chapter-title-only-on-2-lines { text-align: center; page-break-after: avoid; margin-top: 2em; 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 { page-break-after: avoid; font-style:italic; text-indent:0em; margin-top: 1em; } .subhead-b { page-break-after: avoid; margin-top: 1em; } .subhead-c { page-break-after: avoid; margin-top: 1em; } p.time-break { text-indent: 0; text-align:center; margin-top: 1em; margin-bottom: 1em; line-height: 1.2em; } /* * 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-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: 2em; margin-right: 2em; } p.extract-source-space-after { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 1em; margin-left: 2em; 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 */ li.list-level-1 { text-indent: 0em; list-style-type: none; } li.list-level-1-space-after { text-indent: 0em; margin-bottom: 1em; list-style-type: none; } li.list-level-2 { text-indent: 2em; list-style-type: none; } li.list-level-2-space-after { text-indent: 2em; margin-bottom: 1em; list-style-type: none; } li.list-level-3 { text-indent: 4em; list-style-type: none; } li.list-level-3-space-after { text-indent: 4em; margin-bottom: 1em; list-style-type: none; } li.list-numbered-list-level-1 { text-indent: 0em; list-style-type: none; } li.list-numbered-list-level-1-space-after { text-indent: 0em; margin-bottom: 1em; list-style-type: none; } li.list-numbered-list-level-2 { text-indent: 2em; list-style-type: none; } li.list-numbered-list-level-2-space-after { text-indent: 2em; margin-bottom: 1em; list-style-type: none; } li.list-numbered-list-level-3 { text-indent: 4em; list-style-type: none; } li.list-numbered-list-level-3-space-after { text-indent: 4em; margin-bottom: 1em; list-style-type: none; } li.list-bulleted-list-level-1 { text-indent: 0em; list-style-type: none; } li.list-bulleted-list-level-1-space-after { text-indent: 0em; margin-bottom: 1em; list-style-type: none; } li.list-bulleted-list-level-2 { text-indent: 2em; list-style-type: none; } li.list-bulleted-list-level-2-space-after { text-indent: 2em; margin-bottom: 1em; list-style-type: none; } li.list-bulleted-list-level-3 { text-indent: 4em; list-style-type: none; } li.list-bulleted-list-level-3-space-after { text-indent: 4em; margin-bottom: 1em; list-style-type: none; } /* * 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: 2em; 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; } h2.footnotes-head { text-align: center; text-indent: 0; margin-top: 2em; margin-bottom: 3em; } h3.footnotes-a-head { margin-top: 1em; margin-bottom: 0.5em; } /* Stencils */ .st-about-author-head{ text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .st-about-harperimpulse-head, .st-smartlink-backad, .st-prelims-title { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .st-about-publisher-head{ text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .st-acknowledgements{ text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .st-also-by{ text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .st-praise-head{ text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .st-prelims-title { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .st-smartlink-backad{ text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em; } .back-ad-blurb-text-centered{ text-indent: 0; text-align: center; font-size: 120%; margin-top: 0.5em; margin-bottom: 2.0em; line-height: 1.5em; } .BackAdImage{ text-align: center; } p.endmatter-smartlink-text-flush-centered-space-after { text-indent: 0; text-align: center; font-weight: bold; font-size: 120%; margin-top: 0.5em; margin-bottom: 0.5em; line-height: 1.5em; } /* Character Styles */ div.quote{ margin-top: 2em; } .bold{ font-weight: bold; } .bold-italic{ font-weight: bold; font-style: italic; } .caption-source{ font-style: italic; } .drop-cap, .dropcaps1line, .dropcaps2line, .dropcaps3line{ font-size: 2.0em; font-weight: bold; } .epigraph-source{ font-style: italic; } .handwritten{ font-style: italic; } .italic{ font-style: italic; } .message{ font-family: monospace; } .strikethrough{ text-decoration: line-through; } .underline{ text-decoration: underline; } .all-caps{ text-transform: uppercase; } .sup{ font-size : 0.8em; } .sub{ font-size : 0.8em; } .small-caps-italic{ font-style: italic; } .small-caps-underline{ text-decoration: underline; }