Antagonists are annoying.
*/ p.first { text-indent:0; margin-top: 120px;} p.date { text-indent:0; margin-top:100px;} p.first2 { text-indent:0; margin-top: 10px;} span.dropcap { font-size: 3.2em; font-weight: normal; line-height: 1; height: 0.9em; float: left; margin: 0 0.1em -0.1em 0; font-family:NAMEofFONT; } span.afterA { margin-left: -0.75em; } span.firstbit { font-variant:small-caps;} /* If using svg dropcap, then make sure to put the letter after the image in a svgdropcap7 span class. This way it won't show where the image displays, but it will display on mobi 7 for backwards campatibility */ img.svgdropcap { float: left; width: 4em; margin-right: .3em; } .svgdropcap7 { display:none;} /* ========== BODY PARAGRAPH STYLES ========== */ p.norm1 { text-indent:1.4em; margin-top:30px; } p.section { text-indent:0; margin-top:45px; } p.undersection { text-indent:0; margin-top:15px; } p.divider { text-indent:0; margin-top:45px; text-align: center; } /* ---------- Front Matter ---------- */ p.review { text-indent:0; margin-top:20px; } p.reviewer { text-indent:0; margin-left: 1.4em; text-align:right; } p.also { text-align:center; margin-top:60px; } p.otherbooks { text-indent:0; margin-top:90px; text-align:center; text-decoration: underline; } p.series { text-indent:0; margin-top:30px; text-align:center; } p.thebooks { text-indent:0; text-align:center; } p.ded { text-align: center; text-indent:0; margin-top:120px; font-style:italic; } p.epigraph { text-align: center; text-indent:0; margin-top:120px; font-style:italic; } p.epiauthor { text-align: right; text-indent:0; margin-top:10px; } p.copy1 { font-size:x-small; text-align:center; text-indent:0; margin-top:90px; } p.copy2 { font-size:x-small; text-align:left; text-indent:0; margin-top:20px; } p.copy3 { font-size:x-small; text-align:center; text-indent:0; margin-top:20px; } /* You can do two ISBNs in the following manner:ISBN: 921-22-1092801921-22-1092833
*/ .epubisbn { display:inline; } .kindleisbn { display:none; } /* ---------- Table of Contents ---------- */ h2 + p.tc1 { text-indent:0; margin-top:30px; text-align:left; } p.tc1 { text-indent:0; text-align:left; } p.tc2top { text-indent:0; margin-top: 30px; margin-left: 1.4em; text-align:left; } p.tc2 { text-indent:0; margin-left: 1.4em; text-align:left; } /* If the entries in the table of contents are more than a couple words, then erase above and use these. (Take them out of the comment.) Also do the same under the old-mobi 7 media query p.tc1first { margin:30px 0 0 1.4em; text-indent: -1.4em; } p.tc1 { margin:0 0 0 1.4em; text-indent: -1.4em; } p.tc2first { margin:0 0 0 2.8em; text-align: left; text-indent: -1.4em; padding-top:30px; } p.tc2 { margin:0 0 0 2.8em; text-align: left; text-indent: -1.4em; } Remember that if you use the hanging indents in this section, you'll need to add the mobi7hack for the level 2 items:Second Level TOC Entry
*/ /* ---------- Special Bits ---------- */ p.centeredbit { text-indent:0; margin-top:30px; text-align:center; } p.centered { text-indent:0; margin-top:0; text-align:center; } /* ---------- Letters & Articles ---------- */ p.salutation { text-indent:0; margin-top: 30px; margin-right:1.4em; margin-left:1.4em;} p.letter { font-family: sans-serif; text-indent:0; margin-top: 15px; margin-right:1.4em; margin-left:1.4em;} p.signature { text-indent:0; margin-top: 15px; margin-right:1.4em; margin-left:1.4em;} p.headline { text-indent:0; margin-top:30px; margin-right:1.4em; margin-left:1.4em;} p.extracthead { text-indent: 0; margin-top: 30px; font-weight:bold; font-family: sans-serif; margin-left: 1.4em; margin-right: 1.4em; } p.extracthead2 { text-indent: 0; font-weight:bold; font-family: sans-serif; margin-left: 1.4em; margin-right: 1.4em; } p.letterhead1 { font-family: sans-serif; font-size: 1.3em; font-weight: bold; text-indent:0; margin-top:30px; margin-right:1.4em; margin-left:1.4em; text-align: center; } p.letterhead2 { font-family: sans-serif; font-size: 1.1em; font-weight: bold; text-indent:0; margin-top:0; margin-right:1.4em; margin-left:1.4em; text-align: center; } p.extract { font-family: sans-serif; text-indent:0; margin-top:30px; margin-right:1.4em; margin-left:1.4em;} p.normextract { text-indent:0; margin-top:30px; margin-right:1.4em; margin-left:1.4em;} p.journal { font-family: sans-serif; text-indent:0; margin-top:30px; margin-right:1.4em; margin-left:1.4em;} p.signoff { font-family: sans-serif; text-indent:0; margin-top:10px; margin-right:1.4em; margin-left:1.4em; text-align: right; } p.journalnt { font-family: ArchitectsDaughter; font-size: 1em; text-indent:0; margin-top:30px; margin-right:1.4em; margin-left:1.4em;} p.calligraphy { font-family: Calligraffiti, cursive; font-size: 1.1em; text-indent:0; margin-top:30px; text-align:center; } p.journaljh { font-family: belligerent; font-size: 1.15em; text-indent:0; margin-top:30px; margin-right:1.4em; margin-left:1.4em;} /* ---------- Character Styles ---------- */ span.allcaps { font-size: 0.93em; } span.smallcaps { font-size: 0.8em; } span.under { text-decoration:underline; } span.strike {text-decoration: line-through;} sup { font-size: 0.65em; line-height:0.65em; } sup.frac { font-size: 0.6em; vertical-align:.5em; } sub.frac { font-size: 0.6em; vertical-align:-0.1em; } a:link { color:#3399CC; } a:visited { color:#3399CC; } /* ========== IMAGES ========== */ /* 1. If floating images to the right or left, use "hide7" if the images should just be hidden in mobi 7. If they should display in mobi 7 as centered images, then use the first ones. */ div.image { margin-top:0; text-align:center; padding: .5em 0 .5em 0; } div.imageright { margin-top:0; padding-top:0; float:right; margin-left: 10px; } div.imageleft { margin-top:0; padding-top:0; float:left; margin-right: 10px; } div.imagerighthide7 { margin-top:0; padding-top:0; float:right; margin-left: 10px; } div.imagelefthide7 { margin-top:0; padding-top:0; float:left; margin-right: 10px; } div.fullpage { margin-top:0; padding-top:0; } /* ========== COVER ========== */ #cover img { width:auto; height:100%; } div.cover { margin-top: 0; padding-top:0; } svg { width:100%; height: 100%;} /* ========== NONFICTION ELEMENTS ========== */ /* ---------- Lists ---------- */ ul { adobe-text-layout: optimizeSpeed; } ol { adobe-text-layout: optimizeSpeed; } ol.decimal {list-style-type: decimal;} ol.upper-alpha {list-style-type: upper-alpha;} ol.lower-alpha {list-style-type: lower-alpha;} ol.upper-roman {list-style-type: upper-roman;} ol.lower-roman {list-style-type: lower-roman;} ul.disc {list-style-type: disc;} ul.circle {list-style-type: circle;} ul.square {list-style-type: square;} li { line-height: 1.4em; text-align: left; orphans: 2; widows: 2; } ol { margin-top: 1.4em; margin-bottom: 1.4em; } ul { margin-top: 1.4em; margin-bottom: 1.4em; } ol ol { margin-top: 0; margin-bottom: 0; } ul ul { margin-top: 0; margin-bottom: 0; } ol ul { margin-top: 0; margin-bottom: 0; } ul ol { margin-top: 0; margin-bottom: 0; } /* ---------- Tables ---------- */ table { border-collapse: collapse; border-spacing: 0; width: 100%; page-break-inside: avoid; } /* ---------- Pull-Quotes & Sidebars ---------- */ /* 1. If using pull-quote or sidebar, remember to insertthe line of poetry
(That way the nbsp is hidden from the KF8 file, which doesn't need that hack. Use poem1 for the first line (or first line of each stanza, or whenever you need a one-line break above.) Use poem for the others. Remember to use