@font-face { font-family: "OpenSans-Reg"; src:url("../Fonts/OpenSans-Regular.ttf"); } @font-face { font-family: "Taviraj-SemiBold"; src:url("../Fonts/Taviraj-SemiBold.ttf"); } @font-face { font-family: "PlayfairDisplaySC-Regular"; src:url("../Fonts/PlayfairDisplaySC-Regular.ttf"); } @font-face { font-family: "JP-HandSlanted"; src: url("../Fonts/JP-HandSlanted.ttf"); } @font-face { font-family: "Halant-Regular"; src: url("../Fonts/Halant-Regular.ttf"); } @font-face { font-family: "Kanit-Regular"; src: url("../Fonts/Kanit-Regular.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 */ p.endorsement-title { font-size: 120%; font-style: normal; font-weight: bold; text-indent: 0; 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; text-indent: 0; margin: 3em 0 0 0; } p.endorsement-text { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; margin: 1em 0 0 0; } p.endorsement-source { font-size: 90%; font-style: normal; font-weight: 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: italic; font-weight: normal; text-indent: 0; text-align: center; margin: 3em 12% 0 12%; } p.dedication-space { font-size: 110%; line-height: 145%; font-style: italic; font-weight: normal; text-indent: 0; text-align: center; margin: 1.25em 12% 0 12%; } /* EPIGRAPH */ p.epigraph-poetry-first { font-size: 105%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: -1.5em; padding-left: 1.5em; text-align: left; margin: 3em 2em 0 3em; orphans: 2; widows: 2; } p.epigraph-poetry { font-size: 105%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: -1.5em; padding-left: 1.5em; text-align: left; margin: 0 2em 0 3em; orphans: 2; widows: 2; } p.epigraph-poetry-source { font-size: 105%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: -1.5em; padding-left: 1.5em; text-align: left; page-break-before: avoid; margin: .5em 3em 0 5em; } p.epigraph-poetry-space { font-size: 105%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: -1.5em; padding-left: 1.5em; text-align: left; margin: 1em 2em 0 3em; orphans: 2; widows: 2; } /* 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 AND TITLE */ h1.chapter-number { font-family: "PlayfairDisplaySC-Regular", serif; font-size: 160%; line-height: 130%; letter-spacing: 2px; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 15px 0 1.5em 0; } h1.chapter-title-fm { font-family: "Halant-Regular", serif; font-size: 170%; line-height: 125%; font-style: normal; font-weight: normal; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0; text-align: center; letter-spacing: 3px; margin: 15px 4% 3em 4%; } p.chapter-title { font-family: "JP-HandSlanted", cursive; font-size: 400%; line-height: 135%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 0; margin: 0 4% 1em 4%; } p.chapter-title-alt { font-family: "JP-HandSlanted", cursive; font-size: 400%; line-height: 135%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 2px; margin: .5em 4% 1em 4%; } p.time-stamp { font-family: "Taviraj-SemiBold", serif; font-size: 100%; line-height: 125%; letter-spacing: 1px; font-style: normal; font-weight: 600; font-variant: normal; /* pseudo small-caps */ text-indent: 0; text-align: left; margin: 0 0 1em 0; } /* TEXT STYLES */ .drop-cap { font-size: 140%; line-height: 125%; font-weight: bold; letter-spacing: 1px; color: #939498; } .drop-cap-italic { font-size: 140%; line-height: 125%; font-weight: bold; font-style: italic; letter-spacing: 1px; color: #939498; } 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 { font-size: 100%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 0; orphans: 2; widows: 2; } p.text-centered-space { font-size: 100%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 1.16em 0 0 0; orphans: 2; widows: 2; } /* POETRY */ p.poetry-space { font-size: 90%; font-style: normal; font-weight: normal; text-indent: -1.5em; /* hanging indent */ padding-left: 1.5em; text-align: left; margin: 1em 3em 0 2em; orphans: 2; widows: 2; } p.poetry { font-size: 90%; font-style: normal; font-weight: normal; text-indent: -1.5em; /* hanging indent */ padding-left: 1.5em; text-align: left; margin: 0 3em 0 2em; orphans: 2; widows: 2; } p.poetry-indent1 { font-size: 90%; font-style: normal; font-weight: normal; text-indent: -1.5em; padding-left: 1.5em; text-align: left; margin: 0 3em 0 3em; } /* LETTERS (Italic style) */ p.letter { font-style: italic; font-weight: normal; text-indent: 1em; text-align: left; margin: 0 1em 0 1em; } p.letter-closing { font-style: italic; font-weight: normal; text-align: right; text-indent: 0; page-break-before: avoid; margin: 1em 3em 0 1em; } p.letter-opening-space { font-style: italic; font-weight: normal; text-indent: 0; text-align: left; page-break-after: avoid; margin: 1em 1em .33em 1em; } p.letter-space { font-style: italic; font-weight: normal; text-indent: 1em; text-align: left; margin: 1em 1em 0 1em; } /* EMAIL */ p.email { font-family: "Kanit-Regular", sans-serif; font-size: 80%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0; margin: 1.2em 1em 0 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", sans-serif; font-size: 85%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; letter-spacing: .5px; margin: .66em 20% 0 2em; orphans: 2; widows: 2; } /* EXTRACTS */ p.extract-space { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; margin: 1em 1em 0 1em; orphans: 2; widows: 2; } p.extract { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 1em; margin: 0 1em 0 1em; orphans: 2; widows: 2; } /* NUMBERED LIST (OL code) */ li.list-numbered { /* numbers following the first */ font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: .16em 0 0 .5em; orphans: 2; widows: 2; } li.list-numbered-space { /* numbered list with extra space between each */ font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 1em 0 0 .5em; orphans: 2; widows: 2; } li.list-numbered-first { /* first in numberred list, follows a subhead or other, is not to add space */ font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 0 0 0 .5em; orphans: 2; widows: 2; } li.list-numbered-first-space { /* first number in numbered list but not to add space */ font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 0 0 0 .5em; orphans: 2; widows: 2; } /* BULLET LIST */ li.list-bulleted-space { font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 1em 0 .25em 0; orphans: 2; widows: 2; } li.list-bulleted { font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 0 0 .25em 0; orphans: 2; widows: 2; } /* UNNUMBERED LIST (non-bullet list) */ p.list-unnumbered { font-style: normal; font-weight: normal; text-indent: -1em; /* Hanging Indent */ padding-left: 1em; margin: 0 0 0 1em; orphans: 2; widows: 2; } p.list-unnumbered-space { font-style: normal; font-weight: normal; text-indent: -1em; /* Hanging Indent */ padding-left: 1em; margin: 1em 0 0 1em; orphans: 2; widows: 2; } /* ABOUT THE AUTHOR */ p.about-author-first { text-indent: 0; margin: 3em 0 0 0; orphans: 2; widows: 2; } /* FIGURES */ body.cover { margin: 0; padding: 0; font-size: 0; } p.ch-figure1 { /* top of chapter number */ text-align: center; text-indent: 0; margin: 15px 0 .25em 0; } p.ch-figure { /* follows chapter number */ text-align: center; text-indent: 0; margin: 0 0 3em 0; } p.figure-marker { font-weight: normal; text-align: center; margin: .75em 0 .5em 0; } img { max-width: 100%; /*max-height: 100%;*/ } /* DIVIDER */ 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; } /* HYPERLINK STYLE DATA */ 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; } p.ad-hyperlink-author { /* generally for NLPP "Sign Up Now!" ads */ font-size: 160%; text-align: center; page-break-before: avoid; margin: .25em 0 0 0; } span.hyperlink { font-style: normal; font-weight: normal; } a:active { /* mouse button held down */ color: red; } a:link { /* not visited */ color: blue; text-decoration: underline; } a:visited { color: #cc66ff; } a:hover { background: #72a18f; } /* CHARACTER STYLES */ span.strike { text-decoration: line-through; } span.underline { text-decoration: underline; } span.dashed-underline { border-bottom: 1.25px dashed black; padding-bottom: 2px; } span.skew { font-style: italic; font-weight: normal; } span.superscript { font-size: 75%; vertical-align: text-top; } span.subscript { font-size: 75%; vertical-align: text-bottom; } span.superscript-italic { font-size: 75%; font-style: italic; font-weight: normal; vertical-align: text-top; } span.subscript-italic { font-size: 75%; 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%; } span.small-caps-italic { font-size: 80%; font-style: italic; font-weight: normal; } span.small-caps-bold { font-size: 80%; font-style: normal; font-weight: bold; } span.small-caps-bold-italic { font-size: 80%; font-style: italic; font-weight: bold; }