@page { /* The following margins are recommended for epub by B&N. Use px NOT em */ margin-top: 30px; margin-bottom: 20px; } /* =========================================== Project Specific Code =========================================== */ /*Picked up CSS from Church of Mercy*/ /*Project Specific*/ /*div.colophon, div.marketing_blurb */ div.colophon[id="id-1.4"] { margin: 1em 2em; text-align: center; } div.colophon[id="id-1.4"] h2 { font-size: 1.4em; font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; font-weight: bold; margin-bottom: 0; text-align: center; text-transform: none; } div.colophon[id="id-1.4"] h2[id="pgbreak1"] { page-break-before: always; } div.colophon[id="id-1.4"] h2 em.citetitle { font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; font-weight: bold; font-style: italic; margin-bottom: 0; } div.colophon[id="id-1.4"] div.epigraph { text-align: center; } div.colophon[id="id-1.4"] div.epigraph p, div.colophon[id="id-1.4"] p { margin: 0 0 .3em 0; text-align: center; font-style: normal; } div.colophon[id="id-1.4"] div.epigraph + div.epigraph { margin-top: 2em; } div.colophon[id="id-1.4"] div.epigraph p.attribution { margin-top: 0; text-align: center; text-indent: 0; } div.colophon[id="id-1.4"] div.epigraph p.attribution em.citetitle { font-style: italic; font-variant: normal; } /* ============================================ General Code ============================================ */ /* Paragraphs */ p, p.no-indent { margin: 0; text-align: justify; text-indent: 0; widows: 2; orphans: 2; } div.blockquote p.noindent { text-indent: 0; } div.preface p, div.chapter p, div.appendix p, div.acknowledgments p, div.colophon p, div.ata p, div.glossary p { margin: 0; text-align: justify; text-indent: 0; widows: 2; orphans: 2; } p + p, div.preface p + p, div.chapter p + p, div.appendix p + p, div.acknowledgments p + p, div.colophon p + p, div.ata p + p, div.glossary p + p { text-indent: 1em; } div.preface p.signature, div.chapter p.signature { margin-top: .1em; margin-left: 7em; text-align: right; text-indent: 0; } /* Epigraphs, Blockquotes, Attributions */ div.blockquote { margin: 1em; } div.epigraph { margin: 1em 3em; } div.epigraph p { text-align: center; text-indent: 0; font-size: .9em; } div.blockquote p { text-align: justify; text-indent: 0; font-size: .9em; widows: 2; orphans: 2; } div.chapter[id="ch02-4452_MyLifeWithSaints10th"] div.blockquote p { text-indent: 1em; } div.blockquote p + p { text-indent: 1em; } div.epigraph p.attribution { text-align: center; font-size: .9em; font-style: normal; font-variant: small-caps; } div.epigraph p.attribution em.citetitle { font-style: italic; font-variant: small-caps; } div.blockquote p.attribution { text-align: right; font-size: .85em; font-style: normal; } /* Poem, Verse */ div.epigraph div.poem div.stanza + div.stanza, div.blockquote div.poem div.stanza + div.stanza { margin-top: .5em; } div.blockquote div.poem p.verse-line, div.poem p.verse-line { margin-top: 0; margin-left: 4em; text-align: left; text-indent: -4em; font-size: .9em; widows: 2; orphans: 2; } div.chapter[id="ch08-4452_MyLifeWithSaints10th"] div.blockquote div.poem p.verse-line { margin-left: 0; text-align: center; text-indent: 0; } div.blockquote div.poem p.verse-line-ind1, div.poem p.verse-line-ind1 { margin-top: 0; margin-left: 4em; text-align: left; text-indent: -3em; font-size: .9em; widows: 2; orphans: 2; } div.blockquote div.poem p.verse-line-ind2, div.poem p.verse-line-ind2 { margin-top: 0; margin-left: 4em; text-align: left; text-indent: -2em; font-size: .9em; widows: 2; orphans: 2; } div.blockquote div.poem p.verse-line-ind3, div.poem p.verse-line-ind3 { margin-top: 0; margin-left: 4em; text-align: left; text-indent: -1em; font-size: .9em; widows: 2; orphans: 2; } div.epigraph div.poem p.verse-line, div.epigraph div.poem p.verse-line-ind1, div.epigraph div.poem p.verse-line-ind2, div.epigraph div.poem p.verse-line-ind3 { margin: 0; text-align: center; text-indent: 0; font-size: .9em; } /* Lists */ div.orderedlist, div.itemizedlist { margin-top: .5em; margin-bottom: .4em; margin-left: .5em; text-indent: 0; } div.blockquote div.orderedlist { margin-left: 0; margin-right: 0; } ol.orderedlist { text-align: left; list-style-type: decimal; list-style-position: outside; } ul.itemizedlist { text-align: left; text-indent: 0; list-style-type: disc; list-style-position: outside; } /*This adds space between bullet and text, must be pixels, padding-left: 5px;*/ li.listitem p { margin-bottom: .1em; padding-left: 5px; } /* Inlines */ em, em.citetitle, em.emphasis, em.foreignphrase { font-family: inherit; font-style: italic; font-weight: normal; } strong { font-family: inherit; font-weight: bold; } strong em, em strong, h1 em, h2 em { font-family: inherit; font-style: italic; font-weight: bold; } /*hr { margin: 0 2em 2em 2em; border-bottom: 1.5px black solid; }*/ a { text-decoration: none; color: #6A4C36; /* #6A4C36 darker brown #855a42 brown, #a57753 brown, #845f43 brown*/ } /*TOC chapter-part spans*/ span.toc-part-label, span.toc-chapter-label { font-size: 1em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: normal; } /*p:first-child::first-letter {} OR p:first-child:first-letter {}*/ /*p:first-line { line-height: 100%; OR line-height: 1em;}*/ span.dropcap { font-size: 2.5em; font-weight: normal; line-height: 1em; color: #845f43; /*lighter brown*/ } span.smallcaps { font-size: .85em; } span.text-break { font-style: normal; font-weight: bold; font-size: 3em; } span.underline { text-decoration: underline; } span.term { font-weight: bold; } /* Images */ /*img { width: 100%; height: auto; text-indent: 0; }*/ /* -webkit-height: 99vh; height: 100%; width: auto;*/ div[id="cover-image"] img { margin: 0 auto; text-align: center; height: 99% !important; width: auto; } /* Dingbat */ div.text-break { margin: 1em 0; text-align: center; text-indent: 0; } div.text-break img { margin: 0 auto; text-align: center; width: 6% !important; height: auto; } /* Title page */ /*div.book div.titlepage h1.title { margin: 1em 1em 0 1em; text-align: center; text-indent: 0; font-size: 3.6em; font-style: normal; font-weight: normal; letter-spacing: 1px; /\* color: ;*\/ } div.book h3.author { margin: 0 0 4em 0; text-align: center; text-indent: 0; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-size: 1.65em; font-style: normal; font-weight: normal; letter-spacing: 3px; /\*3px*\/ } div.LP-titlepage-logo { margin: 0; text-align: center; text-indent: 0; } div.LP-titlepage-logo img { margin: 0 auto; text-align: center; width: 32% !important; height: auto; }*/ /*This will center title page image, toggle off if not using*/ div.book div.titlepage { margin: 0; text-align: center; text-indent: 0em; max-height: 96%; width: auto; } div.book div.titlepage img { margin: 0 auto; text-align: center; height: 90%; width: auto; } /* Dedication */ div.dedication, dedication[id="dedication-2"] { margin: 6em 4em; } div.dedication p { text-align: center; text-indent: 0; } div.dedication div.epigraph p em.foreignphrase { font-style: italic; } /* TOC */ div.toc { margin-left: 3em; margin-right: 3em; } div.toc p.toc-part-line, div.toc p.toc-preface-line, div.toc p.toc-appendix-line, div.toc p.toc-bibliography-line, div.toc p.toc-glossary-line { margin-top: .7em; margin-left: 0; text-align: left; text-indent: 0; } div.toc p.toc-chapter-line { margin-top: .3em; margin-left: 2.2em; text-align: left; text-indent: -2.2em; } div.toc p.toc-section-line, div.toc p.toc-chapter-line span.toc-chapter-subtitle { margin-top: 0; margin-left: 0; text-indent: -6em; text-align: left; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-size: .85em; } /* Headings */ h1, h2, h3, h4, h5, h6 { display: block; page-break-inside: avoid; page-break-after: avoid; text-align: center; text-indent: 0; font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; font-style: normal; font-weight: normal; /* next line should prevent head hyphenation in ibooks*/ -webkit-hyphens: none !important; /* next line should prevent head hyphenation in Nook*/ adobe-text-layout: optimizeSpeed; /* next line should prevent hyphenation in other ADE-based engines like Kobo, Safari, Chrome*/ adobe-hyphenate: none; -epub-hyphens: none; /*ePub3*/ -moz-hyphens: none; /*Mozilla, Firefox*/ hyphens: none; /*generic*/ } /* Chapters */ /* page break is added due to separate file structure, this addition makes epigraph-facing work */ div.chapter { page-break-before: always; } /* Part Openers--Chapter Openers Add div.titlepage in middle if not working */ div.chapter h1.chapter-label { margin-top: 1em; margin-bottom: 0; font-size: 1.2em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: normal; } /* If there is a part-chapter number above part head, use margin-top: 1em; If no part number use margin-top: 2em; */ div.chapter h1.title { margin: 0; font-size: 1.9em; } /* Section Openers */ div.toc h3.title, div.appendix h1.title, div.bibliography h1.title, div.acknowledgments h1.title, div.acknowledgments h2.title, div.colophon h1.title, div.endnotes h1.title, div.ata h1.title { margin: 2em 0 1em 0; font-size: 1.9em; } h2.title { margin-top: 1em; margin-bottom: .1em; text-align: left; text-indent: 0; font-size: 1.2em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: bold; text-transform: uppercase; } /*h3.title { margin-top: 1em; margin-bottom: 0; text-align: left; font-size: 1.1em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: bold; }*/ h3.subtitle { margin-top: .5em; margin-bottom: 1em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-size: 1.2em; } /* Resources, Appendix, Bibliography, Endnotes */ div.bibliolist p.bibliomixed, div.bibliography p.bibliomixed, div.endnotes p { margin-bottom: .3em; margin-left: 1.8em; text-align: left; text-indent: -1.8em; } div.appendix[id="a03-4452_MyLifeWithSaints10th"] div.section p.noindent, div.appendix[id="a03-4452_MyLifeWithSaints10th"] p.noindent { margin-top: .3em; margin-left: 1.8em; text-align: left; text-indent: -1.8em; hyphens: none; } /* Sidebar full width */ div.sidebar { margin: 2em; } div.sidebar hr { /* page-break-before: avoid;*/ page-break-after: avoid; border-bottom: 8px #c3c3c3 solid; margin-top: .8em; margin-bottom: .8em; padding: 0; } div.sidebar p { text-align: justify; text-indent: 0; font-size: .9em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-style: normal; font-weight: normal; } div.sidebar p + p + p, div.sidebar div.text-break + p { margin-left: 1em; margin-right: 1em; margin-bottom: 0; text-indent: 1em; font-size: .9em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; } div.sidebar div.text-break + p.sidebar { text-indent: 0; } div.sidebar p.spafter + p, div.sidebar p.sans, div.sidebar p.sans2, div.sidebar div.text-break p.sans { margin-left: 1em; margin-right: 1em; margin-bottom: 0; text-indent: 0; font-size: .9em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; } div.sidebar p.sans2 { text-indent: 1em; } div.sidebar p.spafter { page-break-before: avoid; margin-bottom: 1em; text-indent: 0; font-size: .9em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; } div.sidebar p.spafter em.citetitle, div.sidebar p em.citetitle, div.sidebar p em.foreignphrase { font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-style: italic; } div.sidebar div.text-break { margin: .7em auto; text-align: center; } div.sidebar div.text-break img { width: 6%; height: auto; } /* Tables th, thead(header), td(cell)*/ div.informaltable[id="ch4"] table { page-break-inside: avoid; margin: 1em 25%; /*auto doesn't center, use percent*/ border: none; border-collapse: collapse; text-indent: 0; text-align: center; } div.informaltable[id="ch4"] table td { page-break-inside: avoid; border: none; padding: .2em; text-align: left; width: 25%; } /* About the Author, Marketing/Sales table */ div.ata table td { margin: .5em; text-align: center; border: 0; padding-bottom: 1em; width: 49%; vertical-align: top; } div.ata table { page-break-before: always; margin: 1em auto; text-align: center; text-indent: 0; border: 0; width: 100%; } div.ata table img { margin: 0 auto .3em auto; text-align: center; height: auto; width: 50% !important; } div.ata table p, div.ata table p.title, div.ata table td { text-align: center; text-indent: 0; } div.ata table h2, div.ata table h3 { margin: 1em 0 .5em 0; text-align: center; text-indent: 0; font-size: 1.3em; font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; font-weight: bold; } div.ata table thead td { width: 100%; } /* Copyright page */ div.copyright { margin: 0; text-align: left; text-indent: 0; } div.copyright img { margin: 0; text-align: left; padding-top: 2em; width: 34% !important; height: auto; } div.LP-address p { margin-bottom: 0; text-indent: 0; font-size: .7em; } /*May need this style for multiple
div.legalnotice[id="id-1.1.13"] p + p*/ div.legalnotice, div.copyright p.copyright, div.legalnotice p.art-credit, div.legalnotice[id="id-1.1.9"] p + p, div.book_ids, div.legalnotice[id="id-1.1.10"] p + p { margin-top: 1em; } div.copyright p, div.legalnotice p { text-align: left; text-indent: 0; font-size: .7em; } div.legalnotice p, div.copyright copyright-statement { margin-top: 0; } /* Keep this body statement last */ body { /* Left & right margin specs & padding recommended for epub by B&N. Use px NOT em */ margin-left: 30px; margin-right: 30px; padding: 0; font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; /* next line should prevent head hyphenation in ibooks*/ -webkit-hyphens: none !important; /* next line should prevent head hyphenation in Nook*/ adobe-text-layout: optimizeSpeed; /* next line should prevent hyphenation in other ADE-based engines like Kobo, Safari, Chrome*/ adobe-hyphenate: none; -epub-hyphens: none; /*ePub3*/ -moz-hyphens: none; /*Mozilla, Firefox*/ hyphens: none; /*generic*/ }