@font-face { font-family: "OpenSans-Reg"; src:url("../Fonts/OpenSans-Regular.ttf"); } @font-face { font-family: "Freehand575"; src:url("../Fonts/Freehand575.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; } /* DEDICATION PAGE */ p.dedication-first { font-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 3em 12% 0 12%; } /* TABLE OF CONTENTS */ 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: "Freehand575", cursive; font-size: 300%; line-height: 120%; letter-spacing: 1px; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; color: #6d6e72; margin: 15px 0 0 0; /* from here to ch-figure */ } h1.chapter-title-fm { font-family: "Freehand575", cursive; font-size: 270%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 2px; color: #6d6e72; margin: 15px 4% 0 4%; /* from here to ch-figure */ } h1.chapter-title { font-family: "Freehand575", cursive; font-size: 270%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 2px; color: #6d6e72; margin: 15px 4% 0 4%; } /* 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-left-space { font-variant: normal; text-indent: 0; margin: 1em 0 0 0; orphans: 2; widows: 2; } /* EMAIL */ p.email { font-family: "OpenSans-Reg", sans-serif; font-size: 80%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0; margin: .75em 1em 0 1em; 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-left { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; margin: 0 1em 0 1em; orphans: 2; widows: 2; } /* ABOUT THE AUTHOR */ /* FIGURES */ body.cover { margin: 0; padding: 0; font-size: 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; } /* 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; } a:active { /* mouse button held down */ color: red; } a:link { /* not visited */ color: blue; text-decoration: underline; } a:visited { color: #cc66ff; } a:hover { background: #f5863f; } /* 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%; }