@font-face { font-family: "Roboto-Medium"; src:url("../Fonts/Roboto-Medium.ttf"); } /* BODY STYLES */ body { -epub-line-break:normal; 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; hyphens:normal; 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 { word-wrap: normal; -epub-line-break:keep-all; -epub-hyphens:none; -webkit-hyphens:none; -moz-hyphens: none !important; -ms-hyphens: none !important; -o-hyphens: none !important; hyphens: none !important; page-break-after: avoid; } h1.toc-marker { font-size: x-small; font-weight: normal; color: green; text-decoration: underline; display: none; } /* COPYRIGHT PAGE */ p.copyright { font-size: 85%; text-indent: 0; text-align: left; margin:0; } p.copyright-first { font-size: 85%; text-indent: 0; text-align: left; margin: 3em 0 0 0; } p.copyright-space { font-size: 85%; text-indent: 0; text-align: left; margin: 1em 0 0 0; } /* ENDORSEMENTS */ h1.endorsement-title { font-size: 120%; font-style: normal; font-weight: bold; font-variant: normal; text-indent: 0; text-align: center; page-break-after: avoid; margin: 2em 7% 1em 7%; } p.endorsement-text { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0; margin: 1em 0 0 0; } p.endorsement-source { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0; text-align: right; page-break-before: avoid; margin: .4em 0 0 15%; } /* DEDICATION PAGE */ p.dedication-first { font-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0; text-align: center; margin: 3em 12% 0 12%; } p.dedication-space { font-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0; text-align: center; margin: 1.25em 12% 0 12%; } /* TABLE OF CONTENTS */ p.contents-indent { /* front and back matter lines */ font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; text-align: left; margin: 0 0 .5em 1.5em; } p.contents-indent-space { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; text-align: left; margin: 1.25em 0 .5em 1.5em; } p.contents { /* main body of content page */ font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; text-align: left; margin: 0 0 .5em .5em; } p.contents-space { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; text-align: left; margin: 1.25em 0 .5em .5em; } /* CHAPTER number/title */ h1.chapter-number { border-bottom: 4px dotted gray; padding: 0 5% 8px 5%; font-size: 300%; letter-spacing: 0px; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 1em 5% 1.5em 5%; } h1.chapter-title-fm { font-size: 170%; line-height: 135%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 2px; margin: 1em 4% 3em 4%; } h1.chapter-title { font-size: 170%; line-height: 135%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 2px; margin: 1em 4% 3em 4%; } p.time-stamp-space { border-bottom: 1.25px solid gray; padding: 0 4% 2px 4%; font-family: "Roboto-Medium", sans-serif; line-height: 130%; font-style: normal; font-weight: bold; text-indent: 0; text-align: center; margin: 1.25em 10% 1em 10%; } /* TEXT STYLES */ p.text { text-indent: 1em; margin:0; orphans: 2; widows: 2; } p.text-space { text-indent: 1em; margin: 1em 0 0 0; orphans: 2; widows: 2; } p.text-left { text-indent: 0; margin:0; orphans: 2; widows: 2; } p.text-first { text-indent: 0; margin:0; orphans: 2; widows: 2; } p.text-first-space { font-variant: normal; text-indent: 0; margin: 3em 0 0 0; /* follows something like epigraph source */ orphans: 2; widows: 2; } p.text-left-space { font-variant: normal; text-indent: 0; margin: 1em 0 0 0; orphans: 2; widows: 2; } p.text-centered { text-indent: 0; text-align: center; margin:0; orphans: 2; widows: 2; } p.text-centered-space { text-indent: 0; text-align: center; margin: 1.16em 0 0 0; orphans: 2; widows: 2; } /* LETTERS */ p.letter-space { font-style: italic; font-weight: normal; text-indent: 0; text-align: left; margin: 1em 1em 0 1em; } /* ABOUT THE AUTHOR */ p.about-author-first { text-indent: 0; margin: 3em 0 0 0; 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 */ border-bottom: 2px solid gray; padding-bottom: 4px; font-size: 130%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 2em 10% 1em 10%; } p.books-list { font-size: 90%; font-style: italic; font-weight: normal; text-indent: 0; text-align: center; margin: 0 0 .4em 0; } p.books-list-series-title { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; /* utilize pseudo-small-caps */ text-indent: 0; text-align: center; letter-spacing: 1px; page-break-after: avoid; margin: 2em 0 .66em 0; } p.books-list-space { font-size: 90%; font-style: italic; font-weight: normal; text-indent: 0; text-align: center; margin: 1.75em 0 .4em 0; } /* FIGURES */ body.cover { margin:0; padding:0; font-size:0; } img { max-width: 100%; max-height: 100%; } p.figure-marker { font-weight: normal; text-align: center; margin: .75em 0 .5em 0; } p.ch-figure1 { /* top of chapter number */ text-align: center; text-indent: 0; margin: 1em 0 .25em 0; } p.ch-figure { /* follows chapter number */ text-align: center; text-indent: 0; margin: 0 0 3em 0; } /* DIVIDER */ div.image { width: 5%; margin-top: 1.16em; margin-bottom: 1.16em; margin-left: 50%; margin-right: 50%; } p.divider { font-style: normal; font-weight: normal; text-align: center; text-indent: 0; margin: 1.16em 0 1.16em 0; } p.divider-sub { text-align: center; text-indent: 0; font-size: 80%; letter-spacing: -1px; color: #ccc; margin: 1.16em 0 1.16em 0; } p.extra-space { margin: 0; margin-top: .75em; margin-bottom: 1em; text-align: center; } /* HYPERLINK STYLE DATA */ a:active { /* mouse button held down */ color: red; } a:hover { background: #7bccdd; } a:link { /* not visited */ color: blue; text-decoration: underline; } a:visited { color: #cc66ff; } p.ad-hyperlink { /* used for hyperlinks under any ad mentioning a website */ font-size: 120%; text-align: center; page-break-before: avoid; margin: .25em 0 0 0; } span.hyperlink { font-style: normal; font-weight: normal; } /* CHARACTER STYLES */ span.superscript { font-size: xx-small; vertical-align: text-top; } span.subscript { font-size: xx-small; vertical-align: text-bottom; } span.superscript-italic { font-size: xx-small; font-style: italic; font-weight: normal; vertical-align: text-top; } span.subscript-italic { font-size: xx-small; font-style: italic; font-weight: normal; vertical-align: text-bottom; } 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%; }