body { margin-left: 3%; margin-right: 3%; margin-top: 3%; margin-bottom: 3%; } p { text-align: justify; text-indent: 0em; margin-top: 0; margin-bottom: 0; orphans: 2; 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; font-size: 1.6em; page-break-after: avoid; text-align: center; margin-bottom: 1em; } h1.book_title_2 { margin-top: 0em; font-size: 1.6em; page-break-after: avoid; text-align: center; margin-bottom: 1em; } /* Subtitle for book is an h2 */ /* Other title page text */ p.title_page { text-align: center; } /* Use h2 for parts and chapters. Default style is to use the centred chapter head. */ h2.chapter_head { text-align: center; page-break-after: avoid; font-size: 1.2em; margin-top: 0em; margin-bottom: 4em; } h2.chapter_number { text-align: center; page-break-after: avoid; font-size: 2em; margin-top: 2em; margin-bottom: 1em; } h2.chapter_number_1 { text-align: center; page-break-after: avoid; font-size: 2em; margin-top: 2em; margin-bottom: 4em; } h3.a_head { text-align: center; margin-top: 0em; margin-bottom: 1em; page-break-after: avoid; } /* Use h4 for B heads and other subheads under A heads. Default for B and C heads is flush left */ /* Cover page */ body.cover_page { margin: 0; padding: 0; } div.cover_image { text-align: center; margin: 0; padding: 0; } img.cover_image { max-width: 100%; height: 100%; } /* Body Text. */ p.flush_left { text-indent: 0; margin-top: 0; margin-bottom: 0; line-height: 1.2em; } p.star { text-indent: 0; margin-top: 1em; text-align: center; margin-bottom: 1em; line-height: 1.2em; } p.flush_left_space_after { text-indent: 0; margin-top: 0; margin-bottom: 1em; line-height: 1.2em; } p.indented { text-indent: 1.2em; margin-top: 0; margin-bottom: 0; line-height: 1.2em; } div.break_after { page-break-after: always; } /* Table of contents */ h2.toc_head { text-align: center; font-weight: bold; line-height: 1.5em; text-indent: 0; margin-top: 2em; margin-bottom: 2em; } p.toc_text { font-weight: normal; text-indent: 0; line-height: 1.5em; } p.toc_text_indent { font-weight: normal; margin-left: 1em; text-indent: 0em; line-height: 1.5em; } p.toc_text_space_after { font-weight: normal; text-indent: 0; line-height: 1.5em; margin-bottom: 1em; } p.toc_text_indent_space_after { font-weight: normal; margin-left: 1em; text-indent: 0em; line-height: 1.5em; margin-bottom: 1em; } /* About the author */ h3.author_head { text-align: center; page-break-after: avoid; font-weight: normal; margin-top: 2em; margin-bottom: 2em; } ul, ol { margin-top: 1em; margin-bottom: 1em } /* Copyright/Imprint. Simple styles here because they may change. */ p.copyright { text-indent: 0em; text-align: center; line-height: 1.2em; font-size: 0.9em; } p.copyright_space_after { text-indent: 0em; text-align: center; margin-bottom: 1em; line-height: 1.2em; font-size: 0.9em; } /* Dedication */ p.dedication { font-weight: normal; text-align: center; margin-top: 5em; margin-bottom: 1em; } .small { font-size: 0.75em; } /* Links */ a { text-decoration:none; } a.toc_link { text-decoration:none; } p.center { text-indent: 0; margin-top: 0em; text-align: center; margin-bottom: 0em; line-height: 1.2em; } p.center_space_after { text-indent: 0; margin-top: 0em; text-align: center; margin-bottom: 1em; line-height: 1.2em; } h1.book_title_3 { padding-top: 1em; font-size: 1.6em; page-break-after: avoid; text-align: center; margin-bottom: 1em; } p.center_add { padding-top: 1em; margin-top: 1em; text-align: center; margin-bottom: 0em; line-height: 1.2em; } p.center_space_after_sp1 { text-indent: 0; font-size: 1.4em; margin-top: 0em; text-align: center; margin-bottom: 1em; line-height: 1.2em; } p.titan { text-indent: 0; font-size: 2em; margin-top: 0em; text-align: center; margin-bottom: 0em; line-height: 1.2em; }