/* Base Stylesheet for Palimpsest eBooks. First Revision 9/12/2011 Second Revision 26/01/2012 Third Revision 24/04/2012 (After releasing HC guide lines on 24/04/12) Forth Revision 30/05/2012 (After getting the reply of query on 24/05/12) Fifth Revision 31/05/2012 (Added chronology classes) Sixth Revision 10/10/2013 (To avoid overrides the alignment settings on the Amazon Kindle) Seventh Revision 07/02/2013 (Addition of e-head) Eighth Revision 15/02/2013 (Remove toc link color) Ninth Revision 03/04/2013 (Remove black color Properties) Ten-th Revision 01/11/2013 (Remove position:relative in sup/sub) Eleven-th Revision 11/12/2013 (Added 4 new classes:chapter-ornament, loi-head, loi-text, loi-text-space-afer) Twleve-th Revision 28/03/2014 (Added various class after conjunction with publishers) ************************** * DO NOT EDIT THIS FILE. * ************************** ================== Working guidelines: =================== every style must use a class name. class names must be predictable (see naming convention) use h1 only for title pages use h2 for chapter headings use h3, h4, h5 for ABC heads use h5 and h6 for captions There should be four variants of most block styles: left centered additional line space at end All headings should attempt to avoid page breaks. ======================= Style naming convention ======================= Use lower case words joined with hyphens Start with a functional description. Additional spacing should be indicated using '-space-before' 'space-after' */ /* Basic content. Normal paragraphs. Note that we don't ever use the 'normal' paragraph. */ body { margin-left: 3%; margin-right: 3%; margin-top: 3%; margin-bottom: 3%; } p { text-indent: 1em; /* text indent one EM by default. */ margin-top: 0; margin-bottom: 0; orphans: 2; /* widow and orphan control won't do much on kindle – solves some issues on iPad */ widows: 2; } /* Headings Set up the defaults for h1-h6 and then modify */ h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0; font-weight: normal; } /* Use h1 for title page only */ h1.book-title { margin-top: 1em; page-break-after: avoid; text-align: center; margin-bottom: 2em; /* Make sure that any subtitle is separated. */ } /* Subtitle for book is an h2 */ h2.book-subtitle { page-break-after: avoid; text-align: center; margin-bottom: 1em; } h2.book-author { page-break-after: avoid; text-align: center; margin-bottom: 1em } h2.book-second-author { page-break-after: avoid; text-align: center; margin-bottom: 1em } /* Other title page text */ p.title-page-text { text-align: center; text-indent: 0px; } /* This paragraph style is basically the same as above but we are using it to have a specific style for imprint/publisher logos */ p.publisher-logo { margin-top: 5m; text-indent: 0em; text-align: center; margin-bottom: 0em; } /* Copyright/Imprint. Simple styles here because they may change. */ p.copyright { text-indent: 0em; text-align: center; } p.copyright-space-after { text-indent: 0em; text-align: center; margin-bottom: 1em; } p.copyright-logo { text-align: center; text-indent: 0em; vertical-align: middle; margin-top: 20px; margin-bottom: 20px; } p.copyright-indented { } p.copyright-indented-space-after { margin-bottom: 1em; } h3.about-book-head { line-height: 1.2; text-align: center; text-indent: 0px; } h3.about-book-head-hidden { line-height: 1.2; text-align: center; text-indent: 0px; } p.about-book-text { text-indent: 0; } p.about-book-text-space-after { text-indent:0; margin-bottom: 1em; } p.about-book-text-indented { } p.about-book-text-indented-space-after { margin-bottom: 1em; } /* Books by the same author */ h3.books-by-head { text-align: center; margin-bottom: 1.5em; } h4.books-by-subtitle { text-align: center; margin-bottom: 0.5em; } p.books-by-text { text-indent: 0em; margin-bottom: 0.5em; font-style: italic; text-align: center; } p.books-by-text-space-after { text-indent: 0em; line-height: 1em; font-style: italic; text-align: center; margin-bottom: 1em; } /* About the author */ h3.author-head { text-align: center; page-break-after: avoid; font-weight: normal; margin-bottom: 2em; } h3.author-head-hidden { text-align: center; page-break-after: avoid; font-weight: normal; margin-bottom: 2em; } p.author-text { text-align: justify; text-indent: 0; margin-top: 0; } p.author-text-space-after { text-align: justify; text-indent: 0; margin-top: 0; margin-bottom: 1em; } p.author-text-indented { text-align: justify; text-indent: 1em; margin-top: 0; } p.author-text-indented-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 1em; } h2.author-note-head { text-align: justify; margin-top: 2em; margin-bottom: 3em; } p.author-note-text { line-height: 1.2; text-align: justify; text-indent: 0px; } p.author-note-text-space-after { line-height: 1.2; text-align: justify; text-indent: 0px; margin-bottom: 1em; } p.author-note-text-indented { line-height: 1.2; text-align: justify; } p.author-note-text-indented-space-after { line-height: 1.2; text-align: justify; text-indent: 1em; margin-bottom: 1em; } /* Dedication */ p.dedication { text-indent: 0em; text-align: center; margin-top: 15%; } p.dedication-space-after { text-indent: 0em; text-align: center; margin-top: 15%; margin-bottom: 1em; } /* Praise */ h4.praise-head { font-weight: bold; text-align: center; margin-bottom: 1em; } h4.praise-head-hidden { font-weight: bold; text-align: center; margin-bottom: 1em; } h5.praise-subtitle { font-weight: normal; text-align: center; margin-bottom: 1em; } p.praise-text { text-indent: 0em; font-weight: normal; text-align: center; } p.praise-text-space-after { text-indent: 0em; font-weight: normal; text-align: center; margin-bottom: 1em; } p.praise-source { text-indent: 0em; font-weight: normal; text-align: center; margin-bottom: 1em; font-style: italic; } p.praise-source-space-after { text-indent: 0em; font-weight: normal; text-align: center; margin-bottom: 1em; font-style: italic; } span.praise-source { font-style: italic; font-weight: normal; font-size: 80%; } /* Table of contents */ p.toc-head { text-align: justify; font-weight: bold; /* CHECK THIS! */ text-indent: 0; margin-bottom: 1em } p.toc-text { text-align: justify; font-weight: normal; text-indent: 0; } p.toc-text-space-after { text-align: justify; font-weight: normal; text-indent: 0; margin-bottom: 1em; } p.toc-text-indented { text-align: justify; font-weight: normal; text-indent: 1em; } p.toc-text-indented-space-after { text-align: justify; font-weight: normal; text-indent: 1em; margin-bottom: 1em; } p.toc-text-indented-more { text-align: justify; font-weight: normal; text-indent: 2em; } p.toc-text-indented-more-space-after { text-align: justify; font-weight: normal; text-indent: 2em; margin-bottom: 1em; } /* List of Illustrations */ p.loi-head { text-align: justify; font-weight: bold; text-indent: 0; margin-bottom: 1em } p.loi-text { text-align: justify; font-weight: normal; text-indent: 0; } p.loi-text-space-afer { text-align: justify; font-weight: normal; text-indent: 0; margin-bottom: 1em; } /* Body Text */ p.flush-left { text-align: justify; text-indent: 0; margin-top: 0; margin-bottom: 0; } p.flush-left-space-after { text-align: justify; text-indent: 0; margin-top: 0; margin-bottom: 1em; } p.flush-left-space-after-more { text-align: justify; text-indent: 0; margin-top: 0; margin-bottom: 2em; } p.flush-left-opener { text-align: justify; text-indent: 0; margin-top: 0; margin-bottom: 0; } p.flush-left-opener-space-after { text-align: justify; text-indent: 0; margin-top: 0; margin-bottom: 1em; } p.flush-left-opener-space-after-more { text-align: justify; text-indent: 0; margin-top: 0; margin-bottom: 2em; } p.flush-right { text-indent: 0; text-align: right; margin-top: 0; margin-bottom: 0; } p.flush-right-space-after { text-indent: 0; text-align: right; margin-top: 0; margin-bottom: 1em; } p.flush-centered { text-indent: 0; text-align: center; margin-top: 0; margin-bottom: 0; } p.flush-centered-space-after { text-indent: 0; text-align: center; margin-top: 0; margin-bottom: 1em; } p.letter-indented-space-after { text-align: justify; text-indent: 1em; margin-top: 0em; margin-bottom: 1em; font-size: 0.8em; margin-left: 2em; margin-right: 2em; font-style: italic; } p.letter-indented { text-align: justify; text-indent: 1em; margin-top: 0; font-size: 0.8em; margin-bottom: 0; margin-left: 2em; margin-right: 2em; font-style: italic; } p.letter-flush-left-space-after { text-align: justify; text-indent: 0em; margin-top: 0; margin-bottom: 1; margin-left: 2em; font-size: 0.8em; margin-right: 2em; font-style: italic; } p.letter-flush-left { text-align: justify; text-indent: 0em; margin-top: 0; margin-bottom: 0; margin-left: 2em; font-size: 0.8em; margin-right: 2em; font-style: italic; } p.indented { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 0; } p.center-space-after { text-align: center; text-indent: 0em; margin-top: 0; margin-bottom: 1em; } p.indented-page-break { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 0em; page-break-after:always; } p.indented-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 1em; } p.indented-space-after-more { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 1em; } p.hanging-indent { text-align: justify; text-indent: 1em; margin-top: 0; text-indent: -1em; padding-left: 1em; } p.hanging-indent-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 1em; } /* Headings*/ h2.part-number { text-align: center; page-break-after: avoid; margin-top: 15%; margin-bottom: 2em; } h2.part-title { text-align: center; page-break-after: avoid; margin-bottom: 2em; } h2.part-subtitle { text-align: center; page-break-after: avoid; margin-bottom: 2em; } h2.chapter-number { text-align: center; page-break-after: avoid; margin-top: 2em; /* Revised 24/04/2012 */ margin-bottom: 3em; /* Revised 24/04/2012 */ } span.chapter-number { } h2.chapter-title1 { text-align: center; page-break-after: always; margin-top: 4em; /* Revised 24/04/2012 */ margin-bottom: 0em; /* Revised 24/04/2012 */ } h2.chapter-title { text-align: center; page-break-after: avoid; margin-top: 2em; /* Revised 24/04/2012 */ margin-bottom: 3em; /* Revised 24/04/2012 */ } h2.chapter-title-hidden /*To be used where there is no chapter title present*/ { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 3em; } h3.chapter-subtitle { text-align: center; page-break-after: avoid; margin-bottom: 2em; } /* This is deliberately empty – it's a placeholder */ span.chapter-number { } p.chapter-ornament { text-indent: 0; text-align:center; margin-top: 1em; margin-bottom: 1em; } /* Use h3 for A heads and equivalents (highest level heads in a chapter). */ h3.a-head /* Revised 24/05/2012 */ { page-break-after: avoid; } h3.a-head-space-after /* Revised 24/05/2012 */ { margin-bottom: 1em; page-break-after: avoid; } /* Use h4 for B heads and other subheads under A heads. */ h4.b-head /* Revised 24/05/2012 */ { page-break-after: avoid; } h4.b-head-space-after { page-break-after: avoid; margin-bottom: 1em; } /* Use h5 for C heads and other subheads under B heads. */ h5.c-head /* Revised 24/05/2012 */ { page-break-after: avoid; } h5.c-head-space-after /* Revised 24/05/2012 */ { page-break-after: avoid; margin-bottom: 1em; } /* Use h6 for D heads and other subheads under C heads. */ h6.d-head /* Revised 24/05/2012 */ { page-break-after: avoid; } h6.d-head-space-after /* Revised 24/05/2012 */ { page-break-after: avoid; margin-bottom: 1em; } p.e-head /* Revised 07/02/2013 */ { page-break-after: avoid; } p.e-head-space-after /* Revised 07/02/2013 */ { page-break-after: avoid; margin-bottom: 1em; } /* Displayed material */ p.dialogue { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.dialogue-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.dialogue-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.dialogue-indented-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.diary-head { text-align: justify; 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 { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.diary-date { text-align: justify; 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 { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.diary { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.diary-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.diary-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.diary-indented-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.display { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.display-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.display-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.display-indented-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.display-centered { font-size: 0.8em; text-align: center; text-indent: 1em; margin-top: 0; margin-bottom: 0em; margin-left: 1.5em; margin-right: 2em; } p.display-centered-space-after { font-size: 0.8em; text-align: center; text-indent: 1em; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.display-hanging-indent { text-align: justify; font-size: 0.8em; text-indent: 2em; margin-top: 0; margin-bottom: 0em; text-indent: -1em; padding-left: 1.5em; margin-right: 2em; } p.display-hanging-indent-space-after { text-align: justify; font-size: 0.8em; text-indent: 2em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 1.5em; margin-right: 2em; } p.extract { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.extract-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.extract-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.extract-indented-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.extract-hanging-indent { line-height: 1.2; text-align: justify; text-indent: 1em; text-indent: -1em; margin-top: 0em; margin-right: 1em; margin-bottom: 0em; margin-left: 2em; } p.extract-hanging-indent-space-after { line-height: 1.2; text-align: justify; text-indent: 1em; text-indent: -1em; margin-top: 0em; margin-right: 1em; margin-bottom: 1em; margin-left: 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.email-head { text-align: justify; 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 { text-align: justify; 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 { text-align: justify; 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 { text-align: justify; 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 { text-align: justify; 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-indented { text-align: justify; font-family:sans-serif; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.email-indented-space-after { text-align: justify; font-family:sans-serif; font-size: 0.8em; text-indent: 1em; 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.epigraph { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-left: 1.5em; margin-right: 2em; } p.epigraph-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-left: 1.5em; margin-right: 2em; margin-bottom: 1em; } p.epigraph-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-left: 1.5em; margin-right: 2em; } p.epigraph-indented-space-after { text-align: justify; 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; margin-bottom: 0em; } p.epigraph-source-space-after { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 0; margin-left: 50%; margin-right: 2em; margin-bottom: 1em; } span.epigraph-source { font-size: 0.8em; font-style: italic; } p.letter { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.letter-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; 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.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.message { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.message-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.message-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.message-indented-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.message-head { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.newspaper-head { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0em; margin-left: 1.5em; margin-right: 2em; } p.newspaper-head-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.newspaper-subtitle { text-align: left; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0em; margin-left: 1.5em; margin-right: 2em; } p.newspaper-subtitle-space-after { text-align: left; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.newspaper { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.newspaper-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.newspaper-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.newspaper-indented-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } /* Prose */ p.prose { text-indent: 0; } p.prose-space-after { text-indent:0; margin-bottom: 1em; } p.prose-indented { } p.prose-indented-space-after { margin-bottom: 1em; } /* Poetry */ div.verse { margin-bottom: 1em; } p.poetry-title-page-start { margin-bottom: 0.5em } p.poetry-title-run-on { margin-bottom: 0.5em } p.poetry-subtitle { margin-bottom: 0.5em } p.poetry-left-1 { text-indent: 0; line-height: 1.1em; } p.poetry-left-1-space-after { line-height: 1.1em; text-indent: 0; margin-bottom: 1em; } p.poetry-left-2 { text-indent: 4em; line-height: 1.1em; } p.poetry-left-2-space-after { line-height: 1.1em; text-indent: 4em; margin-bottom: 1em; } p.poetry-left-3 { text-indent: 8em; line-height: 1.1em; } p.poetry-left-3-space-after { line-height: 1.1em; text-indent: 8em; margin-bottom: 8em; } p.poetry-left-4 { line-height: 1.1em; text-indent: 12em; } p.poetry-left-4-space-after { line-height: 1.1em; text-indent: 12em; margin-bottom: 1em; } p.poetry-centered { text-align: center; text-indent: 0; line-height: 1.1em; } p.poetry-centered-space-after { text-align: center; text-indent: 0; line-height: 1.1em; margin-bottom: 1em; } p.poetry-right { text-align: right; text-indent: 0; line-height: 1.1em; } p.poetry-right-space-after { text-align: right; text-indent: 0; line-height: 1.1em; margin-bottom: 1em; } p.poetry-source { text-align: right; font-size: 0.8em; } p.poetry-source-space-after { text-align: right; font-size: 0.8em; margin-bottom: 1em; } /* Lists. Use these for the indent levels. Currently only three levels are supported. Use non-breaking spaces to separate the marker. */ p.list-level-1 { text-indent: 0em; } p.list-level-2 { text-indent: 2em; } p.list-level-3 { text-indent: 4em; } p.list-level-1-space-after { text-indent: 0em; margin-bottom: 1em; } p.list-level-2-space-after { text-indent: 2em; margin-bottom: 1em; } p.list-level-3-space-after { text-indent: 4em; margin-bottom: 1em; } p.numbered-list-level-1 { text-indent: 0em; } p.numbered-list-level-2 { text-indent: 2em; } p.numbered-list-level-3 { text-indent: 4em; } p.numbered-list-level-1-space-after { text-indent: 0em; margin-bottom: 1em; } p.numbered-list-level-2-space-after { text-indent: 2em; margin-bottom: 1em; } p.numbered-list-level-3-space-after { text-indent: 4em; margin-bottom: 1em; } p.bulleted-list-level-1 { text-indent: 0em; } p.bulleted-list-level-2 { text-indent: 2em; } p.bulleted-list-level-3 { text-indent: 4em; } p.bulleted-list-level-1-space-after { text-indent: 0em; margin-bottom: 1em; } p.bulleted-list-level-2-space-after { text-indent: 2em; margin-bottom: 1em; } p.bulleted-list-level-3-space-after { text-indent: 4em; margin-bottom: 1em; } /* Adding space after for default lists. */ ul, ol { margin-bottom: 1em } /* Misc */ p.section-symbol-break { text-indent: 0; text-align:center; margin-top: 1em; margin-bottom: 1em; } p.section-symbol-break-page-end { line-height: 1.2; text-align: center; text-indent: 0px; margin-top: 1em; margin-bottom: 1em; } p.figure-heading { page-break-after: avoid; } p.caption { font-size: 0.8em; /* Revised 24/04/2012 */ text-indent: 0em; text-align: center; page-break-after: avoid; } p.caption-space-after { font-size: 0.8em; /* Revised 24/04/2012 */ text-indent: 0em; text-align: center; page-break-after: avoid; margin-bottom: 1em; } p.caption-source { font-size: 0.8em; /* Revised 24/04/2012 */ text-indent: 0em; page-break-after: avoid; text-align: center; margin-bottom: 1em; } /* This is deliberately empty – it's a placeholder */ span.caption-source { } h6.box-head { text-align: center; page-break-after: avoid; font-weight: bold; } p.box-text-flush-left { text-align: justify; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.0em; margin-right: 1.0em; } p.box-text-flush-left-space-after { text-align: justify; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.0em; margin-right: 1.0em; } p.box-text-indented { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.0em; margin-right: 1.0em; } p.box-text-indented-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 1em; margin-left: 1.0em; margin-right: 1.0em; } p.box-text-centered { text-indent: 0; text-align:center; margin-top: 0; margin-bottom: 0; margin-left: 1.0em; margin-right: 1.0em; } p.box-text-centered-space-after { text-indent: 0; text-align:center; margin-top: 0; margin-bottom: 1em; margin-left: 1.0em; margin-right: 1.0em; } /*Endmatter */ h2.abbreviations-head { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 3em; } p.abbreviations-text { text-align: justify; text-indent: 0px; margin: 0em; } p.abbreviations-text-space-after { text-align: justify; text-indent: 0px; margin-top: 0em; margin-right: 0em; margin-bottom: 1em; margin-left: 0em; } p.abbreviations-text-indented { line-height: 1.2; text-align: justify; margin: 0em; } p.abbreviations-text-indented-space-after { line-height: 1.2; text-align: justify; margin-top: 0em; margin-right: 0em; margin-bottom: 1em; margin-left: 0em; } h2.advert-heading { text-align: center; text-indent: 0px; margin: 0em; } h3.advert-a-head { text-align: left; text-indent: 0px; margin: 0em; } h4.advert-b-head { text-align: left; text-indent: 0px; margin: 0em; } h2.advert-author { text-align: center; text-indent: 0px; margin: 0em; } p.advert-text { line-height: 1.2; text-align: justify; text-indent: 0px; margin: 0em; } p.advert-text-space-after { line-height: 1.2; text-align: justify; text-indent: 0px; margin-top: 0em; margin-right: 0em; margin-bottom: 1em; margin-left: 0em; } p.advert-text-indented { line-height: 1.2; text-align: justify; text-indent: 1em; margin: 0em; } p.advert-text-indented-space-after { line-height: 1.2; text-align: justify; text-indent: 1em; margin-top: 0em; margin-right: 0em; margin-bottom: 1em; margin-left: 0em; } p.advert-text-centered { line-height: 1.2; text-align: center; text-indent: 0px; margin: 0em; } p.advert-text-centered-space-after { line-height: 1.2; text-align: center; text-indent: 0px; margin-top: 0em; margin-right: 0em; margin-bottom: 1em; margin-left: 0em; } p.advert-review { line-height: 1.2; text-align: justify; text-indent: 0px; margin: 0em; } p.advert-review-space-after { line-height: 1.2; text-align: justify; text-indent: 0px; margin-top: 0em; margin-right: 0em; margin-bottom: 1em; margin-left: 0em; } p.advert-review-source { line-height: 1.2; text-align: right; text-indent: 0px; margin-top: 0em; margin-right: 0em; margin-bottom: 1em; margin-left: 0em; } p.advert-details /*details such as ISBN and price*/ { line-height: 1.2; text-align: justify; text-indent: 0px; margin: 0em; } p.advert-link /*Weblinks*/ { line-height: 1.2; text-align: justify; text-indent: 0px; margin: 0em; } h3.read-on-head { line-height: 1.2; text-align: center; text-indent: 0px; } h3.read-on-head-hidden { line-height: 1.2; text-align: center; text-indent: 0px; } h2.read-on-chapter-number { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 3em; } h2.read-on-chapter-title { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 3em; } h3.read-on-chapter-subtitle { text-align: center; page-break-after: avoid; margin-bottom: 2em; } p.read-on-text { text-indent: 0; } p.read-on-text-space-after { text-indent:0; margin-bottom: 1em; } p.read-on-text-indented { } p.read-on-text-indented-space-after { margin-bottom: 1em; } p.read-on-text-centered { text-align: center; text-indent: 0; } p.read-on-text-centered-space-after { text-align: center; text-indent: 0; margin-bottom: 1em; } p.read-on-text-right { text-align: right; text-indent: 0; } p.read-on-text-right-space-after { text-align: right; text-indent: 0; margin-bottom: 1em; } p.read-on-extract { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.read-on-extract-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.read-on-extract-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.read-on-extract-indented-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.read-on-extract-centered { text-align: center; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 0; margin-left: 1.5em; margin-right: 2em; } p.read-on-extract-centered-space-after { text-align: center; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-bottom: 1em; margin-left: 1.5em; margin-right: 2em; } p.read-on-extract-source { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 0; margin-left: 50%; margin-right: 2em; } p.read-on-extract-source-space-after { font-size: 0.8em; text-align: right; margin-top: 0; margin-bottom: 1em; margin-left: 50%; margin-right: 2em; } h2.bibliography-head { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 3em; } p.bibliography { text-align: justify; text-indent: 1em; margin-top: 0; text-indent: -1em; padding-left: 1em; } p.bibliography-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 1em; } p.bibliography-indented { text-align: justify; text-indent: 1em; margin-top: 0; padding-left: 1em; } p.bibliography-indented-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom:1em; padding-left: 1em; } h2.chronology-head { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 3em; } p.chronology-date { text-align: justify; text-indent: 1em; margin-top: 0; text-indent: -1em; padding-left: 1em; } p.chronology { text-align: justify; text-indent: 1em; margin-top: 0; text-indent: -1em; padding-left: 1em; } p.chronology-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 1em; } p.chronology-indented { text-align: justify; text-indent: 1em; margin-top: 0; padding-left: 1em; } p.chronology-indented-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom:1em; padding-left: 1em; } h2.glossary-head { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 3em; } p.glossary { text-align: justify; text-indent: 1em; margin-top: 0; text-indent: -1em; padding-left: 1em; } p.glossary-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 1em; } p.glossary-indented { text-align: justify; text-indent: 1em; margin-top: 0; padding-left: 1em; } p.glossary-indented-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom:1em; padding-left: 1em; } h2.acknowledgements-head { line-height: 1.2; text-align: center; margin-top: 2em; margin-bottom: 3em; } h2.acknowledgements-head-hidden /*For use when there is no Acknowledgements heading*/ { line-height: 1.2; text-align: center; margin-top: 2em; margin-bottom: 3em; } p.acknowledgements-text { text-indent: 0; } p.acknowledgements-text-space-after { text-indent:0; margin-bottom: 1em; } p.acknowledgements-text-indented { } p.acknowledgements-text-indented-space-after { margin-bottom: 1em; } h2.endmatter-chapter-title-hidden { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 3em; } h3.endmatter-a-head /*Any other endmatter section head*/ { page-break-after: avoid; } h3.endmatter-a-head-space-after /*Any other endmatter section head*/ { page-break-after: avoid; margin-bottom: 1em; } h4.endmatter-b-head { page-break-after: avoid; } h4.endmatter-b-head-space-after { page-break-after: avoid; margin-bottom: 1em; } h5.endmatter-c-head { page-break-after: avoid; } h5.endmatter-c-head-space-after { page-break-after: avoid; margin-bottom: 1em; } /*Footnotes and endnotes */ p.footnote-flush-left { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; text-indent: -1em; padding-left: 1em; } p.footnote-flush-left-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 1em; } p.footnote-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; padding-left: 1em; } p.footnote-indented-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-bottom:1em; padding-left: 1em; } h2.endnotes-head { text-align: center; text-indent: 0px; margin-top: 2em; margin-bottom: 3em; } p.endnote-subtitle { line-height:1.2; text-indent: 0px; text-align: left; page-break-after: avoid; margin-bottom: 2em; } p.endnote-heading { text-align: justify; text-indent: 0em; margin-top: 0; } p.endnote-flush-left { text-align: justify; text-indent: 1em; margin-top: 0; text-indent: -1em; padding-left: 1em; } p.endnote-flush-left-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 1em; } p.endnote-indented { text-align: justify; text-indent: 1em; margin-top: 0; padding-left: 1em; } p.endnote-indented-space-after { text-align: justify; text-indent: 1em; margin-top: 0; margin-bottom:1em; padding-left: 1em; } /* Index */ h2.index-head { text-align: center; text-indent: 0px; margin-top: 2em; margin-bottom: 3em; } p.index-a-head { text-align: justify; text-indent: 0em; font-size: 0.7em; margin-top: 0; margin-bottom:0; } p.index-1 { text-align: justify; font-size: 0.7em; text-indent: 1em; margin-top: 0; text-indent: -1em; padding-left: 1em; } p.index-1-space-after { text-align: justify; font-size: 0.7em; text-indent: 1em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 1em; } p.index-2 { text-align: justify; font-size: 0.7em; text-indent: 2em; margin-top: 0; text-indent: -1em; padding-left: 2em; } p.index-2-space-after { text-align: justify; font-size: 0.7em; text-indent: 2em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 2em; } p.index-3 { text-align: justify; font-size: 0.7em; text-indent: 3em; margin-top: 0; text-indent: -1em; padding-left: 3em; } p.index-3-space-after { text-align: justify; font-size: 0.7em; text-indent: 3em; margin-top: 0; margin-bottom: 1em; text-indent: -1em; padding-left: 3em; } /* Cover page */ body.cover-page { margin: 0; padding: 0; } div.cover-image { text-align: center; } img.cover-image { max-width: 100%; height: 100%; } /* Large Images. */ img.full-height-image /* Revised 24/05/2012 */ { height: 100%; } img.full-width-image /* Revised 24/05/2012 */ { width: 100%; } /* Pages which require a larger top margin. */ body.prelims-page { margin-top: 15%; } h2.prelims-chapter-title-hidden /*For use in any prelim section that does not have a heading*/ { text-align: center; page-break-after: avoid; margin-top: 2em; margin-bottom: 3em; } h3.prelims-a-head /*Any other prelims section head*/ { text-align: left; } h3.prelims-a-head-space-after /*Any other prelims section head*/ { text-align: left; margin-bottom: 1em; } h4.prelims-b-head { text-align: left; } h4.prelims-b-head-space-after { text-align: left; margin-bottom: 1em; } h5.prelims-c-head { text-align: left; } h5.prelims-c-head-space-after { text-align: left; margin-bottom: 1em; } p.prelims-epigraph { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-left: 1.5em; margin-right: 2em; } p.prelims-epigraph-space-after { text-align: justify; font-size: 0.8em; text-indent: 0; margin-top: 0; margin-left: 1.5em; margin-right: 2em; margin-bottom: 1em; } p.prelims-epigraph-indented { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-left: 1.5em; margin-right: 2em; } p.prelims-epigraph-indented-space-after { text-align: justify; font-size: 0.8em; text-indent: 1em; margin-top: 0; margin-left: 1.5em; margin-right: 2em; margin-bottom: 1em; } p.prelims-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: 0em; } p.prelims-epigraph-source-space-after { 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; } /* Full page images */ div.full-page-image { page-break-after: always; page-break-before: always; page-break-inside: avoid; } /* Block images – these must be contained within a div element No top margin as we use bottom margins throughout. */ div.image { text-indent: 0; margin-bottom: 1em; } div.centered-image { text-align: center; } div.image-container { page-break-inside: avoid; } div.image-left { margin-top:1em; margin-bottom:1em; } div.image-right { text-align:right; margin-top:1em; margin-bottom:1em; } div.image-centered { text-align:center; margin-top:1em; margin-bottom:1em; } /* Shading. We have defined two sets of styles for shading – these are identical except that one uses div elements and one uses paragraph elements. The div elements are useful when several paragraphs must be shaded. NOTE – no padding is defined. It is necessary to use empty paras (perhaps with a single non breaking space in them) to add padding to the background on a Kindle. */ div.shading-25, p.shading-25 { background-color: #C0C0C0; } div.shading-50, p.shading-50 { background-color: #808080; } div.shading-50-white, p.shading-50-white { background-color: #808080; color: white; } div.shading-75, p.shading-75 { background-color: #404040; } div.shading-75-white, p.shading-75-white { background-color: #404040; color: white; } div.shading-25-space-after, p.shading-25-space-after { background-color: #C0C0C0; margin-bottom: 1em; } div.shading-50-space-after, p.shading-50-space-after { background-color: #808080; margin-bottom: 1em; } div.shading-50-white-space-after, p.shading-50-white-space-after { background-color: #808080; color: white; margin-bottom: 1em; } div.shading-75-space-after, p.shading-75-space-after { background-color: #404040; margin-bottom: 1em; } div.shading-75-white-space-after, p.shading-75-white-space-after { background-color: #404040; color: white; margin-bottom: 1em; } /* Table */ table { font-size:90%; border:1px solid black; border-collapse:collapse; } th,td { vertical-align:top; padding:4pt; border:1px solid black;} /* Links */ a a:visited a:active a:link { text-decoration:none; } a.toc-link { text-decoration: none; } /* Placeholders only. */ span.drama-speaker { } span.drama-direction { } span.drop-cap { } /* Generics */ .small-caps { font-variant: small-caps; } sup { height: 0; line-height: 1; font-size:75%; vertical-align: top; } sub { height: 0; line-height: 1; font-size:75%; vertical-align: bottom; } .underline { text-decoration: underline; } .strikethrough { text-decoration: line-through; } span.handwriting { font-family: cursive; } span.sans { font-family: sans-serif; } span.sans-bold { font-family: sans-serif; font-weight: bold; } span.sans-italic { font-family: sans-serif; font-style:italic; } span.sans-bold-italic { font-family: sans-serif; font-weight: bold; font-style:italic; } span.sans-small-caps { font-family: sans-serif; font-variant:small-caps; } span.bold { font-family: sans-serif; font-weight:bold; } span.bold-italic { font-family: sans-serif; font-style:italic; font-weight:bold; } span.underline { text-decoration:underline; } span.email-italic { font-family: sans-serif; font-style:italic; } span.email-bold { font-family: sans-serif; font-weight:bold; } span.email-bold-italic { font-family: sans-serif; font-style:italic; font-weight:bold; } span.sup-italic { font-style:italic; vertical-align:super; } span.sup-bold { font-weight:bold; vertical-align:super; } span.sup-bold-italic { font-weight:bold; font-style:italic; vertical-align:super; } span.sub-italic { font-style:italic; vertical-align:sub; } span.sub-bold { font-weight:bold; vertical-align:sub; } span.sub-bold-italic { font-weight:bold; font-style:italic; vertical-align:sub; } span.underline-bold { font-weight:bold; text-decoration:underline; } span.underline-bold-italic { font-weight:bold; font-style:italic; text-decoration:underline; } span.underline-bold-small-caps { font-weight:bold; text-decoration:underline; font-variant:small-caps; } span.underline-bold-italic-small-caps { font-weight:bold; font-style:italic; text-decoration:underline; font-variant:small-caps; } span.underline-italic { font-style:italic; text-decoration:underline; } span.underline-italic-small-caps { font-style:italic; text-decoration:underline; font-variant:small-caps; } span.underline-small-caps { text-decoration:underline; font-variant:small-caps; } span.endnote-ref { vertical-align:super; } span.small-caps-italic { font-style:italic; font-variant:small-caps; } span.small-caps-bold { font-weight:bold; font-variant:small-caps; } span.small-caps-bold-italic { font-style:italic; font-weight:bold; font-variant:small-caps; } span.small-caps-underline { font-variant:small-caps; text-decoration:underline; } span.drop-bold { font-weight:bold; } .dropcap { float:left; font:normal 290%/85% serif; line-height:90%; padding-right:0.02em; margin-bottom:-0.1em; } span.drop-cap-italic { font-style:italic; } span.drop-cap-bold { font-weight:bold; } span.drop-cap-bold-italic { font-weight:bold; font-style:italic; } span.label-1 { } span.label-2 { } span.label-3 { } span.label-4 { } span.label-5 { } span.ent { } span.ent1 { } span.ent2 { } span.ent3 { } span.ent4 { } span.ent5 { } span.fraction { } p.centerba1 { text-align: center; margin-top:1em; margin-bottom:1em; } p.centerba2 {font-size: 1.1em; text-align: center;} .babreak {page-break-after: always;} h2.ba{ text-align: center; margin-top: 3em; page-break-after: always; font-size: x-large; font-weight: normal; }