/* =========================================== Project Specific Code =========================================== */ /* Activity */ div.activity { page-break-inside: avoid; margin: 2.5em .5em 0 .5em; text-align: center; text-indent: 0; } div.activity p, div.chapter div.activity p.activity, div.activity div.simplesect p.activity, div.activity div.simplesect p { font-size: 1em; font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; text-align: center; font-style: italic; } div.activity div.simplesect div.poem { margin-top: .4em; } div.activity div.simplesect div.poem p.verse-line, div.activity div.simplesect div.blockquote p.verse-line { font-size: 1em; margin-left: 4em; text-align: left; text-indent: -3em; } div.activity div.simplesect div.poem p.verse-line-ind1, div.activity div.simplesect div.blockquote p.verse-line-ind1 { font-size: 1em; margin-left: 4em; text-align: left; text-indent: -2em; } /*Nov 23, Dec1*/ div.chapter[id="sect1_qdn_frr_j4"] div.activity div.simplesect p + p, div.chapter[id="sect1_q5m_frr_j4"] div.activity div.simplesect p + p { margin-top: .4em; } p.activity em, div.activity em.foreignphrase { font-family: inherit; font-style: normal; } div.activity img.activity { margin: 0 auto .1em auto; width: 11%; height: auto; } /* ============================================ General Code ============================================ */ @page { /* The following margins are recommended for epub by B&N. Use px NOT em */ margin-top: 30px; margin-bottom: 20px; } /* Paragraphs */ p { margin: 0em; text-align: justify; line-height: 1.5; text-indent: 0em; widows: 2; orphans: 2; } p + p { text-indent: 1em; } div.partintro p { margin: 0em; text-align: justify; line-height: 1.5; text-indent: 0em; } div.preface p, div.chapter p, div.appendix p, div.acknowledgments p, div.colophon p, div.ata p { margin: 0em; text-align: justify; line-height: 1.5; text-indent: 0em; widows: 2; orphans: 2; } div.preface p + p, div.chapter p + p, div.appendix p + p, div.acknowledgments p + p, div.colophon p + p, div.ata p + p { text-indent: 1em; } div.appendix[id="a02-4145_IgnatianBookofDays"] p + p { margin-top: .5em; text-indent: 0; } /* Might need to add div.preface p.signature for this to work in preface */ div.preface p.signature { text-align: right; text-indent: 0em; } p.title { margin-top: 1em; margin-bottom: 1em; text-indent: 0em; } /* Epigraphs, Blockquotes, Attributions */ div.blockquote { margin: 1em; } div.epigraph { margin: 1em 0 2em 0; } div.epigraph p { margin-left: 0; margin-right: 0; text-indent: 0; text-align: justify; font-size: .95em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-style: italic; widows: 2; orphans: 2; } div.epigraph p.indent { margin-top: .3em; margin-bottom: .3em; margin-left: 2em; text-indent: 0; } p.indent + p.indent { margin-top: 0; margin-bottom: .3em; margin-left: 2em; text-indent: 0; } div.epigraph p + p, div.blockquote p + p { text-indent: 1em; } div.epigraph p.attribution, div.blockquote p.attribution { text-indent: 0; text-align: right; font-size: .85em; font-style: normal; } div.epigraph p.attribution em { font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-style: italic; } div.epigraph em, div.epigraph em.foreignphrase { font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-style: normal; } div.epigraph strong { font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: bold; } /*July 31*/ div.chapter[id="sect1_pyh_frr_j4"] div.epigraph p + p { margin-top: .6em; } /*Jan8, Jan25,*/ div.chapter[id="sect1_zhx_2rr_j4"] div.epigraph p + p, div.chapter[id="sect1_apy_2rr_j4"] div.epigraph p + p { margin-top: .3em; margin-left: 1.1em; text-indent: 0; } div.blockquote p { text-align: justify; text-indent: 0em; font-size: .95em; widows: 2; orphans: 2; } /* Poem, Verse */ div.poem { margin-left: 1em; } div.epigraph div.poem div.stanza + div.stanza, div.blockquote div.poem div.stanza + div.stanza { margin-top: .5em; } div.epigraph div.poem p.verse-line, div.blockquote div.poem p.verse-line, div.poem p.verse-line { margin-top: 0em; margin-left: 4em; text-align: left; text-indent: -4em; font-size: .9em; widows: 2; orphans: 2; } div.epigraph div.poem p.verse-line-ind1, div.blockquote div.poem p.verse-line-ind1, div.poem p.verse-line-ind1 { margin-top: 0em; margin-left: 4em; text-align: left; text-indent: -3em; font-size: .9em; widows: 2; orphans: 2; } div.epigraph div.poem p.verse-line-ind2, div.blockquote div.poem p.verse-line-ind2, div.poem p.verse-line-ind2 { margin-top: 0em; margin-left: 4em; text-align: left; text-indent: -2em; font-size: .9em; widows: 2; orphans: 2; } div.epigraph div.poem p.verse-line-ind3, div.blockquote div.poem p.verse-line-ind3, div.poem p.verse-line-ind3 { margin-top: 0em; margin-left: 4em; text-align: left; text-indent: -1em; font-size: .9em; widows: 2; orphans: 2; } /* Lists */ div.orderedlist, div.itemizedlist { margin-top: .5em; margin-bottom: .4em; margin-left: .5em; text-indent: 0em; } div.blockquote div.orderedlist { margin-left: 0em; margin-right: 0em; } ol.orderedlist { text-align: left; list-style-type: decimal; list-style-position: outside; } ol ol { margin-left: .5em; list-style-type: lower-alpha; } ol ol ol { margin-left: .5em; list-style-type: lower-roman; } /* If there is a paragraph above bulleted list, to close up space NOT working */ div.itemizedlist p > ul.itemizedlist { margin-top: 0em; margin-bottom: .3em; } div.itemizedlist p.title { margin-left: 0em; margin-right: 0em; text-align: center; text-indent: 0em; } ul.itemizedlist { text-indent: 0em; text-align: left; list-style-type: disc; list-style-position: outside; } ul ul { margin-left: .5em; list-style-type: disc; } /*This adds space between bullet and text, must be pixels, padding-left: 5px;*/ li.listitem p { margin-bottom: .1em; padding-left: 5px; } /* Inlines */ code.uri { font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; text-decoration: none; color: blue; } em, em.citetitle, em.emphasis, em.foreignphrase { font-family: inherit; font-weight: normal; font-style: italic; } div.epigraph span.citetitle { font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-style: normal; } /*em.foreignphrase { font-family: Gentium; }*/ strong { font-family: inherit; font-weight: bold; } strong em, em strong, h1 em, h2 em, h3 em, h4 em { font-family: inherit; font-weight: bold; font-style: italic; } hr { margin: 0 2em 2em 2em; border-bottom: 1.5px black solid; } a { text-decoration: none; color: blue } /* Examples */ .example { page-break-after: avoid; font-weight: normal; font-style: italic; } /* Footnote */ div.footnote { margin-bottom:.5em; } /* Spans */ span.inline-footnote-marker { font-size: .7em; vertical-align: .3em; } /*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; } span.dropcap { font-size: 2em; font-weight: bold; } span.smallcaps { font-size: .85em; font-variant: small-caps; } span.text-break { font-style: normal; font-weight: bold; font-size: 3em; } span.underline { text-decoration: underline; } span.term { font-weight: bold; } span.fraction sup, sup { font-size: .6em; vertical-align: .5em; font-weight: bold; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; } span.main { font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: bold; } /* Images */ img { max-width: 100%; height: auto; text-indent: 0em; } /* -webkit-height: 99vh; height: 100%; width: auto;*/ div[id="cover-image"] img { margin: 0 auto; text-align: center; height: 99%; width: auto; } /* Dingbat */ div.text-break { margin: 1em 0; text-align: center; text-indent: 0em; } div.text-break img { margin: 0 auto; text-align: center; width: 22%; height: auto; } /* Title page */ div.book[id="book"] h1.title { margin-top: 1em; margin-bottom: 2em; text-align: center; text-indent: 0; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-size: 2em; font-weight: normal; font-style: normal; letter-spacing: 1px; } div.book h2.subtitle { margin: 0 1.5em 3em 1.5em; text-align: center; text-indent: 0; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-size: 1.1em; font-weight: normal; font-style: normal; } div.book h3.author { margin-top: 1em; margin-bottom: 5em; text-align: center; text-indent: 0; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-size: 1.4em; font-weight: bold; font-style: normal; letter-spacing: 4px; } div.LP-titlepage-logo { margin: 0; text-align: center; text-indent: 0em; } div.LP-titlepage-logo img { margin: 0 auto; text-align: center; width: 34%; height: auto; } /* Dedication */ div.dedication { margin-top: 3em; } div.dedication p { text-align: center; text-indent: 0em; font-style: italic; } /* TOC */ div.toc p.toc-part-line, div.toc p.toc-preface-line, div.toc p.toc-appendix-line, div.toc p.toc-bibliography-line { margin-top: 1em; margin-left: 0; text-align: center; text-indent: 0; } div.toc p.toc-preface-line { margin-bottom: 1em; } /*p.toc-chapter-line*/ div.toc p.toc-part-line { margin-top: .3em; text-align: center; } div.part p.toc-chapter-line { margin-top: .2em; text-indent: 0; font-size: .8em; text-align: center; } /* Headings */ h1, h2, h3, h4, h5, h6 { display: block; page-break-inside: avoid; page-break-after: avoid; text-align: left; line-height: 1.2; text-indent: 0em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: bold; font-style: normal; /* next line should prevent head hyphenation in some platforms*/ -webkit-hyphens: none; /* next line should prevent head hyphenation in Nook*/ adobe-text-layout: optimizeSpeed; /* next line should prevent hyphenation in other ADE-based engines*/ adobe-hyphenate: none; } h1 { font-size: 1.5em; font-weight: normal; } div.part div.titlepage h1.title { font-weight: bold; text-align: center; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-size: 1.2em; } h2 { font-size: 1.2em; margin-right: 1em; } /* Part Openers--Chapter Openers Add div.titlepage in middle if not working */ div.part h1.part-label, div.chapter h1.chapter-label { margin-top: .5em; margin-bottom: .3em; font-size: 1em; font-weight: normal; } /* Day */ div.chapter h1.title { margin: 0 0 .1em 0; font-size: 1.3em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: normal; } div.part h1.title { margin: 0 0 .1em 0; font-size: 1.3em; font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; font-weight: bold; } /* Section Openers */ div.toc h3.title, div.preface h1.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.5em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: bold; text-indent: 0; } div.toc h3.title { text-align: center; } h2.title { margin-top: 1em; margin-bottom: 0em; text-indent: 0em; font-size: 1.2em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-weight: bold; } /* Day titles */ /* h3 */ h3.subtitle { margin-top: 0; margin-bottom: .1em; font-size: 1.3em; font-family: Arial, Trebuchet, Verdana, Lucida, Helvetica, sans-serif; font-style: normal; font-weight: bold; } h3.subtitle em { font-style: italic; font-weight: bold; } /* Resources, Appendix, Bibliography, Endnotes */ div.appendix div.itemizedlist { margin-top: 0em; margin-left: 0em; } div.bibliolist p.bibliomixed, div.bibliography p.bibliomixed { margin-bottom: .3em; margin-left: 2em; text-align: left; text-indent: -2em; } div.footnote-hr div.footnote p { margin-bottom: .3em; margin-left: 1.6em; text-align: left; text-indent: -1.6em; } /* Indices */ div.index div.dt { margin-bottom: .5em; } div.index div.dl { margin-top: 0em; } div.index div.h3 { margin-bottom: 0em; } /* Tables th, thead(header), td(cell)*/ table { page-break-inside: avoid; width: 100%; border: black .5px solid; margin: 1.5em auto; border-collapse: collapse; } th { margin: 0; border: black .5px solid; font-weight: bold; font-size: smaller; line-height: 1.3; padding: .2em; text-align: left; } thead td { font-weight: bold; } td { margin: 0; border: black .5px solid; font-weight: normal; font-size: smaller; line-height: 1.3; padding: .2em; text-align: left; } /* About the Author, Marketing/Sales table */ div.ata table td { border: 0; margin: .5em; width: 49%; vertical-align: top; text-align: center; padding-bottom: 1em; } div.ata table { width: 100%; margin: 1em auto; border: 0; page-break-before: always; text-indent: 0em; text-align: center; } div.ata table img { margin: 0 auto .3em auto; text-align: center; height: auto; width: 50%; } div.ata table p, div.ata table p.title, div.ata table td { text-indent: 0em; text-align: center; } div.ata table h2, div.ata table h3 { margin: 1em 0 .5em 0; text-align: center; font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; font-size: 1.3em; font-weight: bold; text-indent: 0em; } /* Copyright page */ div.copyright { margin: 0em; text-align: left; text-indent: 0em; } div.copyright img { margin: 0em; padding-top: 2em; text-align: left; width: 34%; height: auto; } div.LP-address p { margin-bottom: 0em; text-indent: 0em; font-size: x-small; } /*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.book_ids { margin-top: 1em; } div.copyright p, div.legalnotice p { text-indent: 0em; font-size: x-small; text-align: left; } div.legalnotice p, div.copyright copyright-statement { margin-top: 0em; } /* Font embedding -- DEACTIVATED by default */ /* Font embedding should be avoided unless specifically necessary */ /* font-weight: normal & font-style: normal to keep font from being doubled and obscured */ /* @font-face { font-family: "GaramondPro"; font-style: normal; font-weight: normal; src:url(images/AGaramondPro-Regular.otf); } */ /* Keep this body statement last */ body { font-size: medium; line-height: 1.5; /* Left & right margin specs & padding recommended for epub by B&N. Use px NOT em */ margin-left: 30px; margin-right: 30px; padding: 0em; font-family: "Times New Roman", Georgia, Palatino, Caecilia, serif; /* turns off hyphenation on Nook */ adobe-text-layout: optimizeSpeed; adobe-hyphenate: none; }