/* BODY STYLES */ body { font-family: serif; font-size: 100%; text-align: left !important; word-wrap: break-word; /* allows long words to break and wrap onto the next line; values: normal (no break) or break-word */ -webkit-nbsp-mode: normal; /* specifies behavior of non-breaking spaces: normal (no break); space (works like normal spaces) */ -webkit-line-break: after-white-space; /* specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text */ -epub-hyphens:auto; -webkit-hyphens:auto; margin: .25em; orphans: 2; /* specifies minimum num of lines to be left at bottom of page; default = 2 */ widows: 2; /* specifies minimum num of lines that must be left at top of page; default = 2 */ } h { page-break-after: avoid; -webkit-hyphens: none !important; hyphens: none !important; } h1.toc-marker { font-size: x-small; font-weight: normal; color: green; text-decoration: underline; } /* COPYRIGHT PAGE */ p.copyright { font-size: 85%; text-indent: 0em; margin: 0em 0em 0em 0em; } p.copyright-first { font-size: 85%; text-indent: 0em; margin: 2em 0em 0em 0em; } p.copyright-space { font-size: 85%; text-indent: 0em; margin: 1em 0em 0em 0em; } /* ENDORSEMENTS */ p.endorsement-title { font-size: 110%; font-style: normal; font-weight: bold; font-variant: normal; text-indent: 0em; text-align: center; page-break-after: avoid; margin: 2em 7% 1em 7%; } p.endorsement-text-first { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; margin: 3em 0em 0em 0em; /* (top, right, bottom, left) */ } p.endorsement-text { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; margin: 1em 0em 0em 0em; /* (top, right, bottom, left) */ } p.endorsement-source { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: right; page-break-before: avoid; margin: .4em 0em 0em 15%; } /* DEDICATION PAGE */ p.dedication-first { font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; margin: 3em 12% 0em 12%; } /* Epigraph */ p.epigraph { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: justify; margin: 3em 10% 0em 10%; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } p.epigraph-source { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: right; page-break-before: avoid; margin: .5em 10% 0em 10%; /* (top, right, bottom, left) */ } /* TABLE OF CONTENTS */ p.contents1 { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; margin: 0em 0em .5em 0em; } p.contents1-space { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; margin: 1.25em 0em .5em 0em; } /* CHAPTER number/title */ h1.chapter-number { font-size: 260%; font-style: normal; font-weight: normal; letter-spacing: 0px; text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-decoration: none; /* none, line-through, underline, etc. */ text-align: center; color: #a32f20; margin: 1em 0em 1.5em 0em; /* (top [brings num down from top], right, bottom, left) */ } h1.chapter-title { font-size: 170%; font-style: normal; font-weight: normal; font-variant: normal; /* normal or small-caps */ letter-spacing: 2px; text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; margin: 1em 7% 3em 7%; /* (top, right, bottom, left) */ } p.time-stamp { font-style: normal; font-weight: bold; font-variant: normal; /* pseudo small-caps */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; margin: 0em 0em 1em 0em; } /* Various TEXT STYLES */ .drop-cap { /* 2 line drop cap */ font-size: 3.8em; font-style: normal; font-weight: normal; display: inline; padding: 1px; float: left; line-height: .5em; } .drop-cap-italic { /* 2 line drop cap */ font-size: 3.8em; font-style: italic; font-weight: normal; display: inline; padding: 1px; float: left; line-height: .5em; } p.text { text-indent: 1em; margin: 0em 0em 0em 0em; orphans: 2; widows: 2; } p.text-space { text-indent: 1em; margin: 1em 0em 0em 0em; orphans: 2; widows: 2; } p.text-left { text-indent: 0em; margin: 0em 0em 0em 0em; orphans: 2; widows: 2; } p.text-first { text-indent: 0em; margin: 0em 0em 0em 0em; orphans: 2; widows: 2; } p.text-first-space { font-variant: normal; text-indent: 0em; margin: 3em 0em 0em 0em; /* follows something like epigraph source */ orphans: 2; widows: 2; } p.text-left-space { font-variant: normal; text-indent: 0em; margin: 1em 0em 0em 0em; orphans: 2; widows: 2; } p.text-centered { text-indent: 0em; text-align: center; margin: 0em 0em 0em 0em; orphans: 2; widows: 2; } p.text-centered-space { text-indent: 0em; text-align: center; margin: 1.16em 0em 0em 0em; orphans: 2; widows: 2; } /* SUBHEADS */ p.heading-1 { font-size: 110%; font-style: normal; font-weight: bold; font-variant: normal; /* options: normal, small-caps */ text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1.83em 2em .83em 0em; /* (top, right, bottom, left) */ } p.heading-2 { font-size: 110%; font-style: italic; font-weight: bold; font-variant: normal; /* options: normal, small-caps */ text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1.33em 2em .5em 1em; } p.heading-3 { font-style: normal; font-weight: bold; font-variant: normal; /* pseudo small-caps */ text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1.16em 2em .33em 2em; } p.heading-4 { font-style: italic; font-weight: bold; font-variant: normal; /* pseudo small-caps */ text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1em 2em .083em 3em; } /* EXTRACTS */ p.extract-space { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0em; margin: 1em 1em 0em 1em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } p.extract { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 1em; margin: 0em 1em 0em 1em; orphans: 2; widows: 2; } p.extract-source { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: right; page-break-before: avoid; margin: .33em 1em 0em 1.66em; } /* ABOUT THE AUTHOR */ p.about-author-first { text-indent: 0em; margin: 3em 0em 0em 0em; orphans: 2; widows: 2; } /* BOOKS BY . . . list (i.e., other books by author) */ h1.books-by { /* style for title line of book list by author */ font-size: 130%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: center; margin: 2em 0em 0em 0em; /* (top, right, bottom, left) */ } div.books-by-divider-rule { /* use in conjunction with the
tag */ margin-top: .33em; margin-bottom: 1em; margin-left: 10%; margin-right: 10%; } p.books-list { font-size: 90%; font-style: italic; font-weight: normal; text-indent: 0em; text-align: center; margin: 0em 0em .4em 0em; } p.books-list-series-title { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; /* utilize pseudo-small-caps */ text-indent: 0em; text-align: center; margin: 2em 0em .66em 0em; } /* FIGURES */ img { max-width: 100%; max-height: 100%; } body.cover { margin:0; padding:0; font-size:0 } p.figure-marker { display: block; text-align: center; text-weight: bold; text-indent: 0em; margin-top: 1.16em; margin-bottom: 1.16em; } /* DIVIDER */ p.divider { font-size: medium; font-style: normal; font-weight: normal; text-align: center; text-indent: 0em; margin: 1.16em 0em 1.16em 0em; } p.divider-sub { text-align: center; text-indent: 0em; font-size: small; letter-spacing: -1px; color: #ccc; margin: 1.16em 0em 1.16em 0em; } p.extra-space { margins:0em; margin-top: .75em; margin-bottom: 1em; } /* HYPERLINK STYLE DATA */ a:active { /* mouse button held down */ color: red; } a:hover { background: #b39a40; } a:link { /* not visited */ color: blue; text-decoration: underline; } a:visited { color: #cc66ff; } p.ad-hyperlink { font-size: small; text-align: center; /* used for hyperlinks under any ad mentioning a website */ margin: .42em 0em 0em 0em; /* (top, right, bottom, left) */ } span.hyperlink { font-style: normal; font-weight: normal; } /* CHARACTER STYLES */ span.strike { text-decoration: line-through; } span.superscript { font-size: xx-small; vertical-align: text-top; } span.subscript { font-size: xx-small; vertical-align: text-bottom; } span.underline { text-decoration: underline; } span.regular { font-style: normal; font-weight: normal; } span.italic { font-style: italic; font-weight: normal; } span.skew { font-style: italic; font-weight: normal; } span.bold { font-style: normal; font-weight: bold; } span.bold-italic { font-style: italic; font-weight: bold; } span.small-caps { font-size: 80%; } /* MOBI CSS CODE */ @media amzn-mobi { body { font-family: "serif"; orphans: 2; widows: 2; } .drop-cap { /* 2 line drop cap */ font-weight: bold; font-style: normal; font-size: 3.2em; } } /* KF8 CSS CODE (Kindle Fire) */ @media amzn-kf8 { body { font-family: "serif"; orphans: 2; widows: 2; } a:link { color: blue; text-decoration: underline; } .drop-cap { /* 2 line drop cap */ font-weight: normal; font-style: normal; font-size: 3.2em; display: inline; margin-top: -.25em; margin-bottom: -.32245em; float: left; } .drop-cap-italic { /* 2 line drop cap */ font-weight: normal; font-style: italic; font-size: 3.2em; display: inline; margin-top: -.25em; margin-bottom: -.32245em; float: left; } }