/* BODY STYLES */ body { font-family: serif; font-size: 100%; text-align: left; 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-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%; } p.dedication-space { font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; margin: 1em 12% 0em 12%; } /* 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; } p.contents2 { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; margin: 0em 0em .5em 1em; } p.contents2-space { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; margin: 1.25em 0em .5em 1em; } /* CHAPTER number/title */ span.chapter-number { font-size: 200%; font-style: normal; font-weight: normal; letter-spacing: 0px; text-decoration: underline; /* none, line-through, underline, etc. */ } h1.chapter-title { font-size: 170%; font-style: normal; font-weight: normal; font-variant: normal; /* normal or small-caps */ letter-spacing: 2px; text-indent: 0em; text-align: center; margin: 1em 7% 3em 7%; /* (top, right, bottom, left) */ } h1.chapter-title-w-sub { font-size: 170%; font-style: normal; font-weight: normal; letter-spacing: 2px; text-indent: 0em; text-align: center; margin: 1em 7% .25em 7%; } p.chapter-subtitle { font-size: 110%; font-style: italic; font-weight: normal; font-variant: normal; /* normal or small-caps */ text-indent: 0em; text-align: center; margin: 0em 7% 3em 7%; } /* Epigraph */ p.epigraph { font-size: 90%; font-style: italic; font-weight: normal; font-variant: normal; text-indent: 0em; margin: 0em 2em 0em 2em; /* (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 2em 0em 15%; /* (top, right, bottom, left) */ } p.epigraph-center { font-size: 90%; font-style: italic; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; margin: 0em 2em 0em 2em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } p.epigraph-center-source { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; page-break-before: avoid; margin: .5em 2em 0em 2em; /* (top, right, bottom, left) */ } p.epigraph-space { font-size: 90%; font-style: italic; font-weight: normal; font-variant: normal; text-indent: 0em; margin: 1em 2em 0em 2em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } /* Various TEXT STYLES */ .drop-cap { /* 3 line drop cap */ font-style: normal; font-weight: normal; font-size: 4.8em; display: inline; padding-top: 2.5px; float: left; line-height: .69em; color: #a8a9ab; } 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) */ } /* 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-left { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0em; 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; } /* NUMBERED LIST (OL code) */ li.list-numbered { font-style: normal; font-variant: normal; text-indent: 0em; margin: .16em 0em 0em .5em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } li.list-numbered-space { font-style: normal; font-variant: normal; text-indent: 0em; margin: 1em 0em 0em .5em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } /* UNNUMBERED LIST (non-bullet list) */ p.list-unnumbered { font-style: normal; font-weight: normal; font-variant: normal; text-indent: -1em; /* Hanging Indent */ padding-left: 1em; margin: 0em 0em 0em 1em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } p.list-unnumbered-space { font-style: normal; font-weight: normal; font-variant: normal; text-indent: -1em; /* Hanging Indent */ padding-left: 1em; margin: 1em 0em 0em 1em; orphans: 2; widows: 2; } /* SIDEBARS */ div.sidebar { /* lightly shaded box area w darker gray border */ border-top: 3px solid #d4d5d7; border-right: 3px solid #d4d5d7; border-bottom: 3px solid #d4d5d7; border-left: 3px solid #d4d5d7; padding: 1em; margin-top: 1em; margin-bottom: 1em; margin-left: 1em; margin-right: 1em; background-color: #e8e8e8; } p.sidebar-title { border-bottom: 2px solid #a8a9ab; padding-bottom: 4px; font-family: sans-serif; font-size: 105%; font-weight: bold; font-style: normal; text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; padding-top: .5em; page-break-after: avoid; margin: 0em 0 1em 0; /* (top, right, bottom, left) */ } p.sidebar-head { font-family: sans-serif; font-size: 85%; font-weight: bold; font-style: normal; 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 0em .83em 0em; } p.sidebar-first { font-family: sans-serif; font-size: 80%; font-style: normal; font-weight: normal; text-align: left; text-indent: 0em; margin: 0em 0em 0em 0em; } p.sidebar { font-family: sans-serif; font-size: 80%; font-style: normal; font-weight: normal; text-align: left; text-indent: 1em; margin: 0em 0em 0em 0em; } p.sidebar-extract { font-family: sans-serif; font-size: 80%; font-style: normal; font-weight: normal; text-align: left; text-indent: 1em; margin: 0em 1em 0em 1em; } li.sidebar-numbered-list-space { /* for OL code */ font-family: sans-serif; font-size: 80%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: left; margin: 1em 0em 0em 0em; } li.sidebar-numbered-list { /* for OL code */ font-family: sans-serif; font-size: 80%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: left; margin: .16em 0em 0em 0em; } li.sidebar-bulleted-list { font-family: sans-serif; font-size: 80%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: left; margin: 0em 0em 0em 0em; /* (top, right, bottom, left) */ } p.sidebar-unnumbered-list { /* no number or bullet */ font-family: sans-serif; font-size: 80%; font-style: normal; font-weight: normal; font-variant: normal; text-align: left; text-indent: -1em; padding-left: 1em; margin: 0em 0em 0em 1.24em; /* (top, right, bottom, left) */ } p.sidebar-unnumbered-sub { /* no number or bullet */ font-family: sans-serif; font-size: 80%; font-style: normal; font-weight: normal; font-variant: normal; text-align: left; text-indent: -1em; padding-left: 1em; margin: 0em 0em 0em 2.24em; /* (top, right, bottom, left) */ } /* ABOUT THE AUTHOR */ p.about-author-first { text-indent: 0em; margin: 3em 0em 0em 0em; orphans: 2; widows: 2; } /* END NOTES and FOOTNOTES */ a.footnote-link { font-size: 85%; font-style: normal; font-weight: normal; vertical-align: text-top; } a.footnote-anchor { font-style: normal; font-weight: normal; font-size: 85%; vertical-align: text-top; } p.notes-heading { font-size: 85%; font-style: normal; font-weight: bold; font-variant: normal; text-transform: none; /* options: none, capitalize, uppercase, lowercase */ font-variant: normal; /* options: normal, small-caps, or delete line */ text-indent: 0em; page-break-after: avoid; margin: 1em 0em .33em 0em; } p.notes { font-size: 85%; font-style: normal; font-weight: normal; text-indent: 1em; margin: 0em; } /* FIGURES */ img { max-width: 100%; max-height: 100%; } img.sidebar { width: 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: #fff0d1; } 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.sans-italic { font-family: sans-serif; font-style: italic; font-weight: normal; } span.superscript { font-size: xx-small; vertical-align: text-top; } span.regular { font-style: normal; font-weight: normal; letter-spacing: 0px; } span.italic { 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 { /* 3 line drop cap */ font-weight: bold; font-style: normal; font-size: 4.8em; } } /* 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 { /* 3 line drop cap */ font-weight: normal; font-style: normal; font-size: 4.8em; display: inline; margin-top: -.22em; margin-bottom: -.3245em; float: left; color: #a8a9ab; } }