/* modified to work with AeP */ /* 26/09/14 Changed all px measurements to em to meet v1.3 spec */ /* 02/10/14 Moved cover image to basestyle */ /* 07/10/14 tidied up TOC styling */ /* 22/10/14 Removed any text-align: left (as this is the default) to meet HC spec */ /* 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 } /* * 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.5em; line-height: 1.2em; margin-top: 0; margin-bottom: 0 } p.toc-head { text-align: center; 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.3em; margin-top: 0; margin-bottom: 0; margin-left: 2em } /* * 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-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 { 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.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-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-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-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-space-after { font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; 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 } /* * 4c Lists */ 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-numbered-list-level-1 { text-indent: 0; list-style-type: none } li.list-numbered-list-level-1-space-after { text-indent: 0; margin-bottom: 1em; list-style-type: none } /* * 4d Footnotes and Endnotes */ /* * 5a End of Book */ /* Stencils */ .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-about-author-head { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 2em } /* Character Styles */ .bold { font-weight: bold } .italic { font-style: italic }