/* 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 */ /* 13/05/15 Updated selectors (+ space-after variants) to match the ID style definition: email-source, extract-source, letter-source Corrected indentation in ALL list styles */ /* * 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-author { page-break-after: avoid; text-align: center; text-indent: 0; margin-top: 4em; margin-bottom: 5em } /* * 1b Prelims */ p.prelims-copyright { text-indent: 0; text-align: center; line-height: 1.2em } p.prelims-copyright-space-after { text-indent: 0; text-align: center; line-height: 1.2em; margin-bottom: 1em } p.prelims-publisher { text-indent: 0; text-align: center; line-height: 1.2em } p.prelims-dedication { text-align: center; margin-top: 2em; line-height: 1.2em } 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 } 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 } /* * 2a Part Headings */ /* * 3a Chapter Headings */ .chapter-title-only-on-1-line { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em } /* * 3b Sub-Headings and Breaks */ /* * 4a Main Text */ p.text-flush-left { 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-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 } /* * 4b Extracts */ 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.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-date-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.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 } /* * 4c Lists */ /* * 4d Footnotes and Endnotes */ /* * 5a End of Book */ /* 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 } /* Character Styles */ .bold { font-weight: bold } .italic { font-style: italic }