@font-face { font-family: "Kanit-Regular"; src: url("../Fonts/Kanit-Regular.ttf"); } @font-face { font-family: "Kanit-Medium"; src: url("../Fonts/Kanit-Medium.ttf"); } @font-face { font-family: "Roboto-Medium"; src:url("../Fonts/Roboto-Medium.ttf"); } @font-face { font-family: "OpenSans-Reg"; src:url("../Fonts/OpenSans-Regular.ttf"); } @font-face { font-family: "OpenSans-SemiBld"; src:url("../Fonts/OpenSans-Semibold.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: 0em; text-align: left; margin: 0em 0em 0em 0em; } p.copyright-first { font-size: 85%; text-indent: 0em; text-align: left; margin: 3em 0em 0em 0em; } p.copyright-space { font-size: 85%; text-indent: 0em; text-align: left; margin: 1em 0em 0em 0em; } /* ENDORSEMENTS */ h1.endorsement-title { font-size: 120%; 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 { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; margin: 1em 0em 0em 0em; } 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-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; margin: 3em 12% 0em 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: 0em 0em .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 0em .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: 0em 0em .5em .5em; } p.contents-space { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; text-align: left; margin: 1.25em 0em .5em .5em; } /* CHAPTER number/title */ h1.chapter-number { font-family: "Kanit-Regular", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 350%; letter-spacing: 3px; letter-spacing: 0px; font-style: normal; font-weight: normal; text-indent: 0em; text-align: center; color: #828b8a; /* color: 130 139 138 (medium-dark gray screen) */ margin: 15px 0em 1em 0em; } p.chapter-number { /* for sneak preview of next book */ font-family: "Kanit-Regular", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 350%; letter-spacing: 3px; letter-spacing: 0px; font-style: normal; font-weight: normal; text-indent: 0em; text-align: center; color: #828b8a; /* color: 130 139 138 (medium-dark gray screen) */ margin: 15px 0em 1em 0em; } h1.chapter-title-fm { font-family: "Roboto-Medium", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT," sans-serif; font-size: 170%; line-height: 135%; font-style: normal; font-weight: bold; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; letter-spacing: 2px; color: #828b8a; /* color: 130 139 138 (medium-dark gray screen) */ margin: 15px 4% 3em 4%; } h1.chapter-title { font-family: "Roboto-Medium", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT," sans-serif; font-size: 170%; line-height: 135%; font-style: normal; font-weight: bold; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; letter-spacing: 2px; color: #828b8a; /* color: 130 139 138 (medium-dark gray screen) */ margin: 15px 4% 3em 4%; } p.chapter-title { /* for sneak preview of next book */ font-family: "Roboto-Medium", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT," sans-serif; font-size: 170%; line-height: 135%; font-style: normal; font-weight: bold; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; letter-spacing: 2px; color: #828b8a; /* color: 130 139 138 (medium-dark gray screen) */ margin: 15px 4% 3em 4%; } p.time-stamp { font-family: "Kanit-Medium", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT," sans-serif; font-size: 90%; line-height: 130%; font-style: normal; font-weight: bold; text-indent: 0em; text-align: left; margin: 0em 0em 1em 0em; } p.time-stamp-space { font-family: "Kanit-Medium", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT," sans-serif; font-size: 90%; line-height: 130%; font-style: normal; font-weight: bold; text-indent: 0em; text-align: left; margin: 1.25em 0em 1em 0em; } /* Various TEXT STYLES */ 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; } /* EXTRACTS */ p.extract-space { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0em; margin: 1em 1em 0em 1em; 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; } /* TEXTING */ p.texting_receive { /* text above, not name */ border-top: 1.25px solid #ccc; padding-top: 2px; font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: left; letter-spacing: .5px; margin: .66em 20% 0em 2em; orphans: 2; widows: 2; } p.texting_receive_first { /* immediately follows name */ border-top: 1.25px solid #ccc; padding-top: 2px; font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: left; letter-spacing: .5px; margin: 0em 20% 0em 2em; orphans: 2; widows: 2; } p.texting_receive_name { /* recipient's name in gray */ font-family: "OpenSans-SemiBld", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT," sans-serif; font-size: 75%; line-height: 130%; font-style: normal; font-weight: bold; text-indent: 0em; text-align: left; letter-spacing: .5px; color: #a9afaf; /* color: 169 175 175 (medium gray screen) */ margin: 1.15em 20% 0em 2em; page-break-after: avoid; orphans: 2; widows: 2; } p.texting_send_name { /* sender's name in gray */ font-family: "OpenSans-SemiBld", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT," sans-serif; font-size: 75%; line-height: 130%; font-style: normal; font-weight: bold; text-indent: 0em; text-align: left; letter-spacing: .5px; color: #a9afaf; /* color: 169 175 175 (medium gray screen) */ margin: 1.15em 2em 0em 20%; page-break-after: avoid; orphans: 2; widows: 2; } p.texting_send { /* text above, not name */ border-top: 1.25px solid #ccc; padding-top: 2px; font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: left; letter-spacing: .5px; margin: .66em 2em 0em 20%; orphans: 2; widows: 2; } /* 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 */ border-bottom: 2px solid gray; padding-bottom: 4px; font-size: 130%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: center; margin: 2em 10% 1em 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; letter-spacing: 1px; page-break-after: avoid; margin: 2em 0em .66em 0em; } /* 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 0em .5em 0em; } p.ch-figure1 { /* top of chapter number */ text-align: center; text-indent: 0em; margin: 1em 0 .25em 0; } p.ch-figure { /* follows chapter number */ text-align: center; text-indent: 0em; margin: 0em 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: 0em; margin: 1.16em 0em 1.16em 0em; } p.divider-sub { text-align: center; text-indent: 0em; font-size: 80%; letter-spacing: -1px; color: #ccc; margin: 1.16em 0em 1.16em 0em; } p.extra-space { margin: 0em; margin-top: .75em; margin-bottom: 1em; text-align: center; } /* HYPERLINK STYLE DATA */ a:active { /* mouse button held down */ color: red; } a:hover { background: #f46f73; } 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 0em 0em 0em; } span.hyperlink { font-style: normal; font-weight: normal; } /* CHARACTER STYLES */ 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%; }