/* Theme Name: Bronte Theme URI: https://pressbooks.com/themes/pressbooks-bronte Description: Named for Emily Bronte, this theme is designed for literary fiction, romance, memoirs. It's got decorative title font (Great Vibes), but otherwise a classic design. Tags: Fiction, Romance, Memoir. Author: Pressbooks (Book Oven Inc.) Author URI: https://pressbooks.com Copyright 2011-2017 Book Oven Inc. (Pressbooks.com) code@pressbooks.com Version: 1.6.3 Template: pressbooks-book */ @font-face { font-family: 'Belleza'; src: url(XXXXXXXXXXXXXXXX) format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: "Bergamot Ornaments"; src: url(XXXXXXXXXXXXXXXX) format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: "Cinzel"; font-weight: normal; font-style: normal; src: url(XXXXXXXXXXXXXXXX) format("truetype"); } @font-face { font-family: "Cinzel"; font-weight: bold; font-style: normal; src: url(XXXXXXXXXXXXXXXX) format("truetype"); } @font-face { font-family: "Cinzel"; font-weight: 600; font-style: normal; src: url(XXXXXXXXXXXXXXXX) format("truetype"); } @font-face { font-family: "Great Vibes"; font-weight: normal; font-style: normal; src: url(XXXXXXXXXXXXXXXX) format("truetype"); } /* This file must validate as CSS 2.01 with absolutely no errors + http://jigsaw.w3.org/css-validator/ + http://idpf.org/epub/20/spec/OPS_2.0.1_draft.htm#Section3.0 */ /* PRESSBOOKS EPUB FALL-BACK STYLESHEET FOR VARIOUS SPECIAL THINGS in development copyright 2013-2014 Book Oven Inc. */ .license-attribution img { height: 2em; width: auto; } /* HEADERS */ h1, h2, h3, h4, h5, h6, h1.front-matter-title, h1.part-title, h2.chapter-title, h1.back-matter-title { hyphens: none; -webkit-hyphens: none; page-break-after: avoid; } /* DISPLAY NONE IN VARIOUS CIRCUMSTANCES ========================= */ .display-none { display: none; } /* this ONLY works/is declared in EPUB, ignored in MOBI & PDF */ .epub-display-none, .not-epub { display: none; } .web-only { display: none; } .pdf-only { display: none; } /* This is used in the PDF to generate a short book title & chapter title for running headers in the case that the chapter title is too long. It's spurious in the EPUB, should always be display: none; */ .short-book-title { display: none; } .short-title, h6.short-title { display: none; } /* Invisible Parts are invisible */ .part.invisible { display: none; } /* Numberless chapters have no chapter numbers */ div.chapter.numberless h3.chapter-number { display: none; } /* Blank page ... this is to add a blank page in PDF ... */ div.blank-page { display: none; } /* SECTION BREAKS */ div.ugc > h3.section-break { text-align: center; text-indent: 0; margin-top: 1em; margin-bottom: 1em; } div.ugc > h3.section-break-space { visibility: hidden; text-align: center; text-indent: 0; margin-top: 0; margin-bottom: 0; } div.ugc > h3.section-break-page { text-align: center; text-indent: 0; margin-top: 1em; margin-bottom: 1em; page-break-after: always; } /* PAGE-BREAKS */ .page-break-after { page-break-after: always; } .page-break-before { page-break-before: always; } /* PARAGRAPH STYLING */ .no-indent, p.no-indent, div.ugc p.no-indent, div.ugc.chapter-ugc p.no-indent, div.ugc > p.no-indent, div.chapter-ugc > p.no-indent, div.front-matter p.no-indent, div.back-matter p.no-indent, div.ugc p.indent.no-indent, div.ugc.chapter-ugc p.indent.no-indent { text-indent: 0 !important; margin-top: 1em !important; } body, p { widows: 2; } /* FOOTNOTES, ENDNOTES & SUPS */ sup, sup.footnote { font-size: 0.8em; line-height: 1; } /* Footnote - internal "para" styling */ span.fn_p { display: block; text-indent: 1.5em; } span.fn_blockquote { display: block; font-size: 0.95em; margin-left: 1.5em; margin-top: 0.5em; margin-bottom: 0.5em; } /* NO WRAP, NO HYPHENS */ .nowrap, span.nowrap { white-space: nowrap; } .no-hyphens, span.no-hyphens, p.no-hyphens { hyphens: none; -webkit-hyphens: none; } /* TOC SECTIONS */ #toc ul.sections { padding-top: 0.5em !important; padding-bottom: 0.5em !important; margin-left: 2em !important; } #toc li.section { font-style: italic; } /* TABLES */ table { margin-top: 1.5em; margin-bottom: 1.5em; border-collapse: collapse; text-align: left; font-size: 0.9em; } table caption { font-weight: bold; margin-bottom: 0.5em; line-height: 1.1; } table td, table th { padding: 5px; line-height: 1.1; text-align: left; vertical-align: middle; } table p { text-align: left; } table.lines tr { border-top: 1px solid #000; border-bottom: 1px solid #000; } table.no-lines tr, table.no-lines td { border-top: 0; border-bottom: 0; } table.shaded, th.shaded, tr.shaded, td.shaded { background-color: #eee; } th.border, tr.border, td.border { border: 1px solid #000; } table, table tr, table th { page-break-inside: avoid !important; } .no-border, table.no-border, table.no-border tbody, table.no-border th, table.no-border tr, table.no-border td, table.no-border tfoot, table.no-border thead { border-top: none; border-right: none; border-bottom: none; border-left: none; } /* TEXTBOXES */ .textbox, .bcc-box { border: 1px solid #000; margin: 10px 0; padding: 10px; } .textbox p, .bcc-box p { margin-top: 0; } .textbox.shaded, .bcc-box.shaded { background-color: #eee; } .textbox.learning-objectives, .bcc-box.learning-objectives, .bcc-highlight.bcc-box, .bcc-highlight.textbox, .bcc-box.bcc-highlight { border-radius: 4px; margin-bottom: 15px; padding: 2% 3%; margin-inside: auto; margin-outside: auto; float: none; background-color: #f7f7f9; } .textbox.learning-objectives h3, .bcc-box.learning-objectives h3, .bcc-highlight.bcc-box h3, .bcc-highlight.textbox h3, .bcc-box.bcc-highlight h3 { color: #fff; margin: -2% -3% 15px; padding: 15px 0; text-align: center; } .textbox.learning-objectives h3, .bcc-box.learning-objectives h3, .bcc-highlight.bcc-box h3, .bcc-highlight.textbox h3, .bcc-box.bcc-highlight h3 { border-top-left-radius: 4px; border-top-right-radius: 4px; background-color: #111; } .textbox.key-takeaways, .bcc-box.key-takeaways, .bcc-success.bcc-box, .bcc-success.textbox, .bcc-box.bcc-success { border-radius: 4px; margin-bottom: 15px; padding: 2% 3%; margin-inside: auto; margin-outside: auto; float: none; background-color: #eaf5ea; } .textbox.key-takeaways h3, .bcc-box.key-takeaways h3, .bcc-success.bcc-box h3, .bcc-success.textbox h3, .bcc-box.bcc-success h3 { color: #fff; margin: -2% -3% 15px; padding: 15px 0; text-align: center; } .textbox.key-takeaways h3, .bcc-box.key-takeaways h3, .bcc-success.bcc-box h3, .bcc-success.textbox h3, .bcc-box.bcc-success h3 { border-top-left-radius: 4px; border-top-right-radius: 4px; background-color: #3a7a33; } .textbox.exercises, .bcc-box.exercises, .bcc-info.bcc-box, .bcc-info.textbox, .bcc-box.bcc-info { border-radius: 4px; margin-bottom: 15px; padding: 2% 3%; margin-inside: auto; margin-outside: auto; float: none; background-color: #e3eff6; } .textbox.exercises h3, .bcc-box.exercises h3, .bcc-info.bcc-box h3, .bcc-info.textbox h3, .bcc-box.bcc-info h3 { color: #fff; margin: -2% -3% 15px; padding: 15px 0; text-align: center; } .textbox.exercises h3, .bcc-box.exercises h3, .bcc-info.bcc-box h3, .bcc-info.textbox h3, .bcc-box.bcc-info h3 { border-top-left-radius: 4px; border-top-right-radius: 4px; background-color: #0b6396; } .textbox.examples, .bcc-box.examples { border-radius: 4px; margin-bottom: 15px; padding: 2% 3%; margin-inside: auto; margin-outside: auto; float: none; background-color: #f3e1e3; } .textbox.examples h3, .bcc-box.examples h3 { color: #fff; margin: -2% -3% 15px; padding: 15px 0; text-align: center; } .textbox.examples h3, .bcc-box.examples h3 { border-top-left-radius: 4px; border-top-right-radius: 4px; background-color: #7a333a; } .textbox-caption { display: block; font: bold 0.875em ""; margin: 0; } .interactive-content__icon { display: none; } .interactive-content p { margin-bottom: 0; text-align: left; } /* INDEX */ .index .ugc { text-align: left; font-size: 0.9em; } div.index .ugc p, div.index .ugc p.indent, div.index .ugc p.nonindent, .index div + p { padding-left: 1.5em !important; text-indent: -1.5em !important; text-align: left; } .index .ugc h3.section-break-space { visibility: hidden; text-align: center; text-indent: 0; margin-top: 1em; margin-bottom: 1em; } .index .ugc p.sub-entry { padding-left: 2.5em; } /* DROPCAPS */ span.firstcharacter { font-weight: bold; font-size: 2em; line-height: 1 !important; display: inline-block; margin-bottom: 0; padding-bottom: 0; } /* SIDEBAR */ div.sidebar { width: 35%; float: right; margin-left: 0.75em; margin-right: 0; padding: 0.75em; background-color: #e6e6e6; font-size: 0.8em; font-style: italic; text-align: left !important; } .clear { clear: both; } .front-matter .license-attribution > p, .chapter .license-attribution > p, .back-matter .license-attribution > p { text-align: left; line-height: 1.4; font-size: 0.8em; font-style: italic; margin-top: 2em; page-break-inside: avoid; } .front-matter .license-attribution img, .chapter .license-attribution img, .back-matter .license-attribution img { margin-bottom: 0.25em; } /* GENERAL DEFAULT STYLES =========================== */ body { line-height: 1.4em; text-align: left; } a { text-decoration: none; } /* BODY HEADINGS ================= */ h1, h2, h3, h4, h5, h6 { line-height: 1.3em; margin-top: 1em; margin-bottom: 0.5em; font-weight: normal; text-indent: 0; text-align: center; hyphens: none; page-break-after: avoid; } div.ugc > h1 { font-size: 1.3em; page-break-after: avoid; hyphens: none; } div.ugc > h2 { font-size: 1.2em; page-break-after: avoid; hyphens: none; } div.ugc > h3 { font-size: 1.1em; page-break-after: avoid; hyphens: none; } div.ugc > h4 { font-size: 1em; page-break-after: avoid; hyphens: none; } div.ugc > h5 { font-size: 0.875em; page-break-after: avoid; hyphens: none; } div.ugc > h5 { font-size: 0.75em; page-break-after: avoid; hyphens: none; } div.ugc h1 + p, div.ugc h2 + p, div.ugc h3 + p, div.ugc h4 + p, div.ugc h5 + p div.ugc h6 + p { margin-top: 0; text-indent: 0; } /* PARAGRAPHS & BODY TEXT ========================== */ p { line-height: 1.4em; margin: 0; text-align: left; text-indent: 1.5em; } p + p { text-indent: 1.5em; margin-top: 0; } div.ugc p.indent { line-height: 1.4em; margin: 0; text-align: left; text-indent: 1.5em; } div.ugc p.nonindent, p.nonindent, .nonindent { line-height: 1.4em; margin: 0; text-align: left; text-indent: 0; } p.no-indent, .no-indent { line-height: 1.4em; text-align: left; text-indent: 0; margin-top: 1em; } div.front-matter p.no-indent, .no-indent { line-height: 1.4em; text-align: left; text-indent: 0; margin-top: 1em; } div.back-matter p.no-indent, .no-indent { line-height: 1.4em; text-align: left; text-indent: 0; margin-top: 1em; } p.hanging-indent, .hanging-indent { line-height: 1.4em; text-align: left; text-indent: 0; margin: 0; padding-left: 1em; text-indent: -1em; } /* TABLES */ table { font-size: 0.8em; display: block; margin: 25px 0; page-break-inside: avoid; } table caption { text-align: left; } table caption span { font-style: italic; } thead th { font-weight: lighter; } thead th span { font-weight: bold; } table span { font-weight: bold; } td { border-bottom: 1px dotted #000; padding: 5px; } /* DEFINITION LISTS */ dt { font-weight: lighter; font-size: 0.9em; color: #0197B2; text-transform: uppercase; margin: 20px 0; } dd { font-weight: lighter; font-style: italic; font-size: 0.85em; margin: 20px 0; } dt, dd { display: inline; margin: 0; } dd:after { content: "\A"; white-space: pre; } /* ORDERED AND UNORDERED LISTS */ ul { margin-left: 1em; padding-left: 1em; } ol { margin-left: 1em; padding-left: 1em; } div.ucg p + ul { margin-top: 1em; } div.ucg p + ol { margin-top: 1em; } /* BLOCKQUOTES */ .blockquote, blockquote { font-size: 1em; font-style: italic; margin: 1em 3em 1em 3em; } .bq_2, blockquote.bq_2 { font-size: 1.2em; font-style: italic; text-align: left; hyphens: none; -webkit-hyphens: none; margin: 1em 3em 1em 3em; } .bq_2 p, blockquote.bq_2 p { text-align: left; hyphens: none; -webkit-hyphens: none; } p.bl_nonindent { margin: 0 1em 0; text-indent: 0; } p.bl_indent { margin: 0 1em 0; text-indent: 1.5em; } /* SEPARATORS */ hr { margin: 10px auto; text-align: center; width: 20%; } hr.break-symbols, hr.break-symbol { border: none; font-size: 1.1em; margin-bottom: 20px; } hr.break-symbols::after, hr.break-symbol::after { display: block; content: "\066D"; text-align: center; } h3.section-break { text-align: center; text-indent: 0; margin-top: 1em; margin-bottom: 1em; } h3.section-break-page { text-align: center; text-indent: 0; margin-top: 1em; margin-bottom: 1em; page-break-after: always; } div.ugc.chapter-ugc > h3.section-break-symbol { visibility: hidden; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; line-height: 0; font-size: 0; page-break-before: auto; page-break-after: auto; } div.ugc.chapter-ugc > h3.section-break-symbol:after { visibility: visible; content: "X"; font-size: 1.67rem; text-align: center; display: block; margin-top: 1em; margin-bottom: 1em; padding: 0; line-height: 1em; color: #A4A4A4; } /* SPECIAL */ cite { font-weight: normal; } span.uppercase_decoration { color: #0197B2; text-transform: uppercase; } /* TITLE PAGE ================ */ #title-page { hyphens: none; -webkit-hyphens: none; } #title-page h1.title { font-size: 2.5em; margin-top: 2em; font-weight: normal; font-style: normal; margin-bottom: 0; padding-bottom: 5px; text-align: center; hyphens: none; } #title-page h2.subtitle { font-style: normal; font-size: 1.1em; margin-top: 0; padding-top: 5px; color: #A4A4A4; } #title-page h3.author { font-size: 1.5em; font-weight: normal; hyphens: none; } #title-page h4.publisher { float: bottom; font-size: 0.9em; margin-top: 2em; text-align: center; hyphens: none; } #title-page h5.publisher-city { float: bottom; font-size: 0.9em; margin-top: 1em; text-align: center; margin-top: 0; hyphens: none; } /* FRONT-MATTER STYLING ======================= */ /* COPYRIGHT */ #copyright-page p { font-size: 0.875em; text-indent: 0; text-align: left; margin-bottom: 0.5em; } /* DEDICATION */ div.dedication { margin-top: 5em; margin-right: 10%; margin-left: 10%; font-style: italic; text-align: center; text-indent: 0; } div.dedication p { font-style: italic; text-align: center; text-indent: 0; margin-top: 1em; } /* EPIGRAPH */ div.epigraph { margin-top: 5em; margin-right: 10%; margin-left: 10%; } /* TABLE OF CONTENTS ======================= */ #toc ul { line-height: 1.3em; text-align: center; } #toc ul, #toc li { list-style: none; margin: 0; padding: 0; text-align: center; } #toc li { margin-bottom: 5px; } #toc ul .front-matter, #toc ul .back-matter { margin-bottom: 3px; font-style: italic; } #toc .front-matter { font-style: italic; } #toc .front-matter .introduction { font-style: normal; } #toc li.introduction span.toc-chapter-title { font-style: normal; } #toc .back-matter { font-style: italic; } #toc .front-matter + .chapter, #toc .chapter + .back-matter { margin-top: 1.3em; } #toc a { border: none; color: inherit; text-align: center; } #toc a:after { font-style: normal; text-decoration: none; } #toc .part { font-weight: bold; font-size: 1.4em; margin: 1.3em 0 0.5em; } #toc li.chapter span.toc-chapter-title { font-size: 0.9em; font-style: normal; text-align: center; } span.chapter-author { display: none; } span.chapter-subtitle { display: none; } /* CHAPTER & PART TITLES: TITLES, NUMBERS, SUBTITLE, AUTHOR, APHORISM FONT-MATTER & BACKMATTER ============================================= */ /* DISPLAY NONE: REMOVES CHAPTER NUMBERING ON FRONT-MATTER + BACK-MATTER TITLES */ .display-none, .front-matter-number, .back-matter-number h3.front-matter-number, h3.front-matter-number.dedication, h3.back-matter-number { display: none; } /* TOC TITLE */ #toc h1 { text-align: center; font-size: 2em; font-weight: lighter; line-height: 1.2em; margin-top: 0px; hyphens: none; -webkit-hyphens: none; } /* FRONT-MATTER TITLES */ div.front-matter-title-wrap { margin-bottom: 2.5em; margin-top: 3em; hyphens: none; -webkit-hyphens: none; } div.front-matter-title-wrap h1.front-matter-title { text-align: center; font-size: 1.5em; font-weight: lighter; line-height: 1.2em; hyphens: none; } /* PART TITLE */ div.part-title-wrap { margin-top: 2em; margin-bottom: 2em; hyphens: none; -webkit-hyphens: none; } div.part-title-wrap > h3.part-number { display: block; font-weight: lighter; font-size: 1.5em; color: #A4A4A4; page-break-after: avoid; } div.part-title-wrap > h3.part-number:before { text-transform: uppercase; content: 'Part '; } div.part-title-wrap > h1.part-title { font-size: 3em; hyphens: none; } /* CHAPTER TITLES */ div.chapter-title-wrap { margin-bottom: 2.5em; margin-top: 3em; hyphens: none; -webkit-hyphens: none; } div.chapter-title-wrap > h3.chapter-number { font-size: 3em; font-weight: bold; color: #A4A4A4; font-weight: normal; font-style: normal; display: block; } div.chapter-title-wrap > h2.chapter-title { font-size: 2.5em; font-weight: normal; font-style: normal; hyphens: none; -webkit-hyphens: none; } /* CHAPTER SUBTITLES, CHAPTER AUTHOR & APHORIMS */ h2.chapter-subtitle { text-align: center; font-size: 1em; font-weight: normal; margin: -1em 0 2em 0; hyphens: none; -webkit-hyphens: none; } h2.chapter-author { font-size: 0.7em; text-align: center; font-weight: lighter; text-transform: uppercase; margin: 2em 0 2em 0; hyphens: none; -webkit-hyphens: none; } .aphorism { font-size: 0.9em; margin: 0.5cm auto 1.5cm; padding: 0; font-style: italic; text-align: right; } .aphorism cite { display: block; } .aphorism cite::before { content: "–"; } /* BACK-MATTER TITLES */ div.back-matter-title-wrap { font-weight: normal; margin-bottom: 2.5em; margin-top: 3em; hyphens: none; } div.back-matter-title-wrap > h1.back-matter-title { font-size: 1.5em; font-weight: normal; font-style: normal; text-align: center; hyphens: none; -webkit-hyphens: none; } /* SPECIAL STYLING ======================= */ /* ASIDES, PULLQUOTES */ aside { border-top: 1px solid #000; border-bottom: 1px solid #000; margin: 2em 10%; padding: 10px 0; text-indent: 0; } .pullquote { border: 1px solid #000; border-width: 1px 0; margin: 15px 15px 15px 0; padding: 5px 0; text-align: center; width: 45%; display: block; } .pullquote-left { border-width: 1px 0; float: left; margin: 15px 15px 15px 0; padding: 5px 0; text-align: center; width: 45%; } .pullquote-right { border: 1px solid #000; border-width: 1px 0; float: right; margin: 15px 0 15px 15px; padding: 5px 0; text-align: center; width: 45%; } /* TEXTBOXES & DARK BACKGROUNDS */ div.textbox, div.bcc-box { border: 1px dotted; font-size: 0.95em; margin: 2em 2em 2em 2em; padding: 2em; page-break-before: always; } div.textbox.shaded, div.bcc-box.shaded { background-color: #eee; } .textbox p, .bcc-box p { margin: 10px; padding: 10px; } div.textbox blockquote, div.bcc-box blockquote, div.textbox .blockquote, div.bcc-box .blockquote { font-size: 0.9em; font-style: normal; padding: 0 0 0 0.1%; } div.dark_background { background-color: #EEE; border: 1px dotted; margin: 2em 0.5em 2em 0.5em; padding: 2em; page-break-before: always; } div.dark_background_border { background-color: #EEE; border: 3px double; margin: 2em 0.5em 2em 0.5em; padding: 2em; page-break-before: always; } div.dark_background_border blockquote, div.dark_background_border .blockquote { font-size: 0.9em; margin: 0 0 0 0; font-style: italic; border-bottom-style: dotted; border-bottom-width: 0.5px; padding-bottom: 0.4em; } div.dark_background_border cite { display: block; font-style: normal; text-align: right; page-break-before: avoid; } /* FOOTNOTES */ .footnotes { display: block; font-size: 0.8em; margin: 1em 0.5em 2em 2em; } .footnotes-wrap { list-style: none; display: block; margin: 10px 10px 10px 40px; } .footnotes p + p { text-indent: 0; text-align: left; } .footnotes p a { display: block; text-decoration: none; } /* BACK-MATTER =================*/ /* BIBLIOGRAPHY */ .bibliography p { text-indent: 0; margin-bottom: 1em; } /* INDEX */ .index .ugc { text-align: left; } .index .ugc div { margin-bottom: 4em; } .index .ugc p { font-size: 0.9em; padding-left: 14pt; text-indent: -14pt; text-align: left; } .index .ugc p.sub-entry { padding-left: 30px; } /* NOTES */ .notes p { text-indent: 0; margin-bottom: 1em; } /* DROPCAPS - (NOTE: WRAP FIRST CHAR IN A SPAN) */ .firstcharacter { float: left; font-size: 5em; line-height: 1em; padding-right: 15px; margin-right: 5px; margin-top: -15px; margin-bottom: -15px; color: #A4A4A4; } /* IMAGES AND CAPTIONS */ /* =============== IMAGES & CAPTIONS ================= */ /* CAPTIONS */ p.wp-caption-text { font-size: 0.9em; padding-bottom: 0.5em; } /* IMAGES - GENERIC */ img { height: auto; margin: 0; padding-left: 0; padding-right: 0; display: inline-block; page-break-inside: avoid !important; } /* DIV WRAPPER AROUND CAPTIONED IMAGES AND IMAGES WITH NO CAPTIONS */ div.wp-caption, div.wp-nocaption { height: auto; width: 80% !important; text-align: center; margin: 1em 10%; page-break-inside: avoid !important; } /* ALIGN CENTER, RIGHT AND LEFT IMAGES */ /* FOR LEFT AND RIGHT, MAKE ENCLOSING DIV WIDTH=50%, AND STRETCH IMAGE TO WIDTH=100% */ .aligncenter, .wp-caption.aligncenter { text-align: center !important; width: auto !important; page-break-inside: avoid !important; } .wp-caption.aligncenter img, .aligncenter img { display: inline-block !important; margin-left: auto !important; margin-right: auto !important; width: auto !important; text-align: center; page-break-inside: avoid !important; } .alignleft, .wp-caption.alignleft, .wp-nocaption.alignleft { width: 50% !important; margin-right: 1em !important; margin-left: 0 !important; padding-left: 0 !important; margin-top: 1em; float: left; page-break-inside: avoid !important; } .alignleft img, .wp-caption.alignleft img, .wp-nocaption.alignleft img { width: 100% !important; page-break-inside: avoid !important; } .alignright, .wp-caption.alignright, .wp-nocaption.alignright { width: 50% !important; margin-right: 0 !important; margin-left: 1em !important; padding-right: 0 !important; margin-top: 1em; float: right; page-break-inside: avoid !important; } .alignright img, .wp-caption.alignright img, .wp-nocaption.alignright img { width: 100% !important; page-break-inside: avoid !important; } /* CSS FOR MOBI */ @media all{ div.wp-caption, div.wp-nocaption { height: auto !important; width: auto !important; margin-left: auto !important; margin-right: auto !important; text-align: center !important; page-break-inside: avoid !important; } div.wp-caption img, div.wp-nocaption img { width: auto; page-break-inside: avoid !important; } } /* PRESSBOOKS MOBI FALL-BACK STYLESHEET ... OVERRIDES JUST ABOUT EVERYTHING copyright 2013-2014 Book Oven Inc. Version: 2.0 */ /* embedded fonts broken = ornament fonts broken, so replace them in KF8 */ @media all{ .chapter-title-wrap h2.chapter-title::before { content: ""; } .chapter-title-wrap h2.chapter-title::after { content: ""; } #title-page h1.title::before { content: ""; } #title-page h1.title::after { content: ""; } } /* MOBI, oh how we love you mobi ... */ /* publogo begone in mobi ... styling not working */ /* toc page styling */ /* this ONLY works/is declared in MOBI, ignored in EPUB & PDF */ /* standard styling for mobi */ /* headers */ /* blockquotes & textboxes */ /* title page */ /* FRONT-MATTER STYLING ======================= */ /* chapter titles */ /* Other styling */ div.part-title-wrap > .part-number, div.chapter-title-wrap > .chapter-number { display: none !important; } p + p, .indent, div.ugc p.indent { text-indent: 1em; margin-top: 0em; } div.part-title-wrap > .part-number, div.chapter-title-wrap > .chapter-number { display: none !important; } p + p, .indent, div.ugc p.indent { text-indent: 1em; margin-top: 0em; }