/* Livingstone CSS Basic Template 2.6 */ /* September 18, 2012 */ /* ---------------------------------------- */ /* Global attributes are defined in this section */ @font-face { font-family:"Amarante Regular"; font-style:normal; font-weight:normal; src : url("font/Amarante-Regular.ttf"); } @page { margin : 0.5em; } body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, pre, code, blockquote { margin:0; padding:0; border-width:0; } td, th { border-style:solid; border-width:1px; } table { border-collapse:collapse; } body { -epub-ruby-position:over; -epub-hyphens:auto; -webkit-hyphens:auto; text-decoration:none; font-variant:normal; } h1, h2, h3, h4, h5, p.Title, p.Subtitle, p.devo-title, p.chapter-subtitle, p.chapter-number, li, ul, p.outline1, p.outline2, p.outline3, p.outline4, p.outline5, p.poetry1, p.poetry2, p.poetry3, p.poetry4, p.author, p.publisher, p.toc1, p.toc2, p.poetry-title, p.caption, p.attribution, p.attribution-next, p.index1, p.index2, p.dedication, p.part-title, p.part-subtitle { -epub-hyphens:none !important; -webkit-hyphens:none !important; } /* ---------------------------------------- */ /* ============== SET CUSTOM HEADER FONT BELOW =============== */ /* Custom header fonts with only "Regular" or "Roman" faces are "limited" and require overrides below */ h1, h2, h3, p.Title, p.devo-title, p.chapter-subtitle, p.chapter-number, p.part-title { font-family:"Amarante Regular", serif; line-height:1.2; text-align:center; text-indent:0em; } /* ---------------------------------------- */ /* Basic styles are defined in this section */ p { font-weight:normal; font-style:normal; line-height:1.5; text-indent:1em; } h1 { font-style:normal; font-weight:bold; margin-top:3em; margin-bottom:0.5em; } h2 { font-weight:bold; font-style:italic; margin-top:2em; margin-bottom:1em; } h3 { font-style:normal; font-weight:bold; margin-top:1.5em; margin-bottom:0.5em; } h4 { font-weight:bold; font-style:normal; font-size:100%; line-height:1.2; text-align:left; text-indent:0em; margin-top:1em; } h5 { font-weight: normal; font-style: italic; font-size:100%; line-height:1.2; text-align:left; text-indent:0em; margin-top:1em; } li { display:block; font-weight:normal; font-style:normal; font-size:100%; line-height:1.5; text-align:left; text-indent:0em; margin-top:1em; } /* ---------------------------------------- */ /* Class styles are defined in this section */ p.attribution { text-align:right; text-indent:0em; margin-top:0.5em; margin-right:3em; margin-left:3em; } p.attribution-next { text-align:right; text-indent:0em; margin-right:3em; margin-left:3em; } p.author { font-weight:bold; text-align:center; margin-top:2.5em; margin-bottom:0.5em; line-height:1.2; text-indent:0em; } p.body-first { text-indent:0em; } p.body-first-space { text-indent:0em; margin-top:1em; } p.bullet1 { text-align:left; } p.bullet1-first { text-align:left; margin-top:0.5em; } p.caption { text-align:center; text-indent:0em; margin-top:0.5em; margin-bottom:1em; } p.chapter-number { font-weight:bold; text-align:center; text-indent:0em; margin-top:1em; margin-bottom:0.5em; } p.chapter-subtitle { font-weight:bold; text-align:center; text-indent:0em; margin-top:0.5em; margin-bottom:2em; } p.COMMENT { color:#ff0000; font-family:Verdana, sans-serif; text-align:left; text-indent:0em; } p.copyright-page { text-align:left; text-indent:0em; } p.copyright-page-space { text-align:left; text-indent:0em; margin-top:0.5em; } p.dedication { text-align:center; text-indent:0; } p.devo-title { font-weight:bold; text-align:center; text-indent:0em; margin-top:2em; margin-bottom:0.5em; } p.divider { text-align:center; text-indent:0em; margin-top:1em; margin-bottom:1em; } p.endnote { text-indent:0; } p.endnote-next { margin-left:1em; } p.extract-first { text-indent:0em; margin-top:1em; margin-right:3em; margin-left:3em; } p.extract-flush-left { text-indent:0em; margin-right:3em; margin-left:3em; } p.extract-text { text-align:justify; text-indent:1.5em; margin-right:3em; margin-left:3em; } p.index1 { line-height:1.2; text-align:left; } p.index2 { line-height:1.2; text-align:left; } p.normal-space { margin-top:1em; } p.number1 { text-align:left; } p.number1-first { text-align:left; margin-top:0.5em; } p.outline1 { text-align:left; margin-top:0.5em; } p.outline2 { text-align:left; } p.outline3 { text-align:left; } p.outline4 { text-align:left; } p.outline5 { text-align:left; } p.part-subtitle { font-style:italic; text-align:center; text-indent:0em; margin-bottom:1em; } p.part-title { font-weight:bold; text-align:center; text-indent:0em; margin-top:1em; margin-bottom:0.5em; } p.poetry-title { font-style:italic; text-align:center; text-indent:0em; margin-top:1em; } p.poetry1 { text-align:left; } p.poetry1-first { text-align:left; margin-top:1em; } p.poetry2 { text-align:left; } p.poetry3 { text-align:left; } p.poetry4 { text-align:left; } p.prayer { margin-top:0.5em; } p.publisher { line-height:1.2; text-align:center; text-indent:0em; margin-top:1em; margin-bottom:0.5em; } p.question { text-align:left; margin-top:0.5em; } p.rule { border-bottom-style:solid; border-width:1px; text-align:center; text-indent:0em; margin-bottom:1em; } p.scripture-verse { font-style:italic; text-indent:0em; margin-top:0.5em; } p.scripture-verse-center { font-style:italic; text-align:center; text-indent:0em; margin-top:0.5em; } p.scripture-verse-next { font-style:italic; text-indent:1.5em; } p.scripture-reference { text-align:left; text-indent:0em; margin-top:0.5em; } p.scripture-reference-center { text-align:center; text-indent:0em; margin-top:0.5em; } p.section-break { display:none; } p.Subtitle { font-style:normal; font-weight:normal; text-align:center; margin-top:1em; line-height:1.2; text-indent:0em; } p.Title { font-style:normal; font-weight:bold; text-align:center; margin-top:0.5em; } p.toc1 { text-align:left; } p.toc2 { text-align:left; } li.bullet1 { } li.number1 { } li.number1-first { } /* ---------------------------------------- */ /* Span styles are defined in this section */ span.italic { font-style:italic; } span.bold { font-weight:bold; } span.scaps { font-size : 70%; } span.italic-scaps { font-style:italic; font-size : 70%; } sup { vertical-align:super; } span.bold-italic { font-style:italic; font-weight:bold; } span.bold-italic-scaps { font-style:italic; font-size : 70%; font-weight:bold; } span.bold-scaps { font-size : 70%; font-weight:bold; } /* ---------------------------------------- */ /* !!!!!!--Overrides ensure proper appearance of "limited" header fonts--!!!!!! */ h1 { font-weight:normal; } h2 { font-weight:normal; font-style:normal; } h3 { font-weight:normal; } p.author { font-weight:normal; } p.chapter-number { font-weight:normal; } p.chapter-subtitle { font-weight:normal; } p.devo-title { font-weight:normal; } p.part-title { font-weight:normal; } p.Title { font-weight:normal; } /* !!!!!!--End of "limited" header font overrides--!!!!!! */ /* ---------------------------------------- */ /* This media query adjusts indents and font sizes for older Kindle devices */ @media amzn-mobi { h1, p.Title, p.chapter-subtitle, p.part-title {font-size:xx-large;} h2, p.Subtitle, p.chapter-number, p.devo-title, p.COMMENT {font-size:x-large;} h3, p.author, p.part-subtitle {font-size:large;} p.attribution, p.attribution-next, p.caption, p.extract-first, p.extract-flush-left, p.extract-text, p.index1, p.index2, p.scripture-verse, p.scripture-verse-center, p.scripture-verse-next, p.dedication {font-size:small;} p.copyright-page, p.copyright-page-space, p.endnote, p.endnote-next, p.scripture-reference, p.scripture-reference-center {font-size:x-small;} p.bullet1 {margin-left:0; text-indent:-25px;} p.bullet1-first {margin-left:0; text-indent:-25px;} p.number1 {margin-left:0; text-indent:-35px;} p.number1-first {margin-left:0; text-indent:-35px;} p.endnote {margin-left:0; text-indent:-30px;} p.index1 {margin-left:0; text-indent:-30px;} p.index2 {margin-left:0; text-indent:-60px;} p.poetry1 {margin-left:0; text-indent:-120px;} p.poetry1-first {margin-left:0; text-indent:-120px;} p.poetry2 {margin-left:0; text-indent:-120px;} p.poetry3 {margin-left:0; text-indent:-120px;} p.poetry4 {margin-left:0; text-indent:-120px;} p.outline1 {margin-left:0; text-indent:-30px;} p.outline2 {margin-left:0; text-indent:-60px;} p.outline3 {margin-left:0; text-indent:-90px;} p.outline4 {margin-left:0; text-indent:-120px;} p.outline5 {margin-left:0; text-indent:-150px;} p.question {margin-left:0; text-indent:-60px;} p.toc1 {margin-left:0; text-indent:-60px;} p.toc2 {margin-left:0; text-indent:-90px;} span.nb-space {display:inline;} } /* ---------------------------------------- */ /* !!!!!!--Sets Kindle device proper appearance even with overrides above--!!!!!! */ @media amzn-mobi { h1, p.Title, p.chapter-subtitle, p.part-title {font-weight:bold;} h2 {font-weight:bold; font-style:italic;} p.chapter-number, p.devo-title {font-weight:bold;} h3, p.author {font-weight:bold;} } /* !!!!!!--End of Kindle override overrides--!!!!!! */ /* ---------------------------------------- */ /* This media query adjusts indents and font sizes for all other devices */ /* =============== SET CUSTOM BODY FONT BELOW =============== */ /* !-Custom body fonts MUST have bold, italic, bold-italic faces) */ @media not amzn-mobi { p, h4, h5, li {font-family:serif;} p.Title {font-size:300%;} p.part-title {font-size:225%;} h1, p.chapter-subtitle, p.Subtitle {font-size:175%;} h2, p.chapter-number, p.devo-title, p.author, p.COMMENT {font-size:150%;} h3, p.part-subtitle {font-size:120%;} p.attribution, p.attribution-next, p.caption, p.extract-first, p.extract-flush-left, p.extract-text, p.index1, p.index2, p.scripture-verse, p.scripture-verse-center, p.scripture-verse-next, p.dedication {font-size:90%;} p.copyright-page, p.copyright-page-space, p.endnote, p.endnote-next, p.scripture-reference, p.scripture-reference-center {font-size:75%;} p.bullet1 {margin-left:0.7em; text-indent:-0.7em;} p.bullet1-first {margin-left:0.7em; text-indent:-0.7em;} p.number1 {margin-left:1em; text-indent:-1em;} p.number1-first {margin-left:1em; text-indent:-1em;} p.endnote {margin-left:1em; text-indent:-1em;} p.index1 {margin-left:1em; text-indent:-1em;} p.index2 {margin-left:2em; text-indent:-1em;} p.poetry1 {margin-left:4em; text-indent:-3em;} p.poetry1-first {margin-left:4em; text-indent:-3em;} p.poetry2 {margin-left:4em; text-indent:-2em;} p.poetry3 {margin-left:4em; text-indent:-1em;} p.poetry4 {margin-left:4em; text-indent:0em;} p.outline1 {margin-left:1em; text-indent:-1em;} p.outline2 {margin-left:2em; text-indent:-1em;} p.outline3 {margin-left:3em; text-indent:-1em;} p.outline4 {margin-left:4em; text-indent:-1em;} p.outline5 {margin-left:5em; text-indent:-1em;} p.question {margin-left:2em; text-indent:-1em;} p.toc1 {margin-left:2em; text-indent:-1em;} p.toc2 {margin-left:3em; text-indent:-1em;} span.nb-space {display:none;} } /* ---------------------------------------- */ /* This tag overrides unnecessary character style overrides from InDesign */ span[style ~= 'char-style-override'] { font-family:inherit !important; font-size:inherit !important; font-weight:inherit !important; font-style:inherit !important; display:inherit !important; text-indent:inherit !important; text-align:inherit !important; white-space:inherit !important; width:inherit !important; vertical-align:inherit !important; margin:inherit !important; text-transform:inherit !important; text-decoration:inherit !important; font-variant:inherit !important; padding:inherit !important; border-width:inherit !important; border-style:inherit !important; }