@font-face { font-family: "DancingScript-Regular"; src:url("../Fonts/DancingScript-Regular.ttf"); } @font-face { font-family: "Roboto-Regular"; src:url("../Fonts/Roboto-Regular.ttf"); } @font-face { font-family: "Roboto-Italic"; src:url("../Fonts/Roboto-Italic.ttf"); } @font-face { font-family: "Roboto-Bold"; src:url("../Fonts/Roboto-Bold.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; } /* 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: "DancingScript-Regular", cursive; font-size: 300%; letter-spacing: 0px; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 15px 0 1em 0; } h1.chapter-title-fm { font-size: 170%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 2px; margin: 15px 4% 3em 4%; } h1.chapter-title-fm-w-sub { font-size: 170%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0; text-align: center; letter-spacing: 2px; margin: 15px 4% .25em 4%; } p.chapter-subtitle { /* follows chapter-title-w-sub */ font-size: 120%; line-height: 125%; letter-spacing: 0px; font-style: italic; font-weight: normal; text-indent: 0; text-align: center; margin: 0 7% 3em 7%; } /* EPIGRAPH */ p.epigraph { font-size: 95%; line-height: 140%; font-style: italic; font-weight: normal; text-indent: 0; text-align: left; margin: 0 2em 0 2em; orphans: 2; widows: 2; } /* BRAIN TIP */ span.tip-bold { font-family: "Roboto-Bold", sans-serif; font-style: normal; font-weight: bold; } p.tip { font-family: "Roboto-Regular", sans-serif; font-size: 90%; line-height: 145%; border: 1px solid #E0E0E0; border-radius: 25px; -webkit-border-radius: 25px; -moz-border-radius: 25px; padding: 1em; margin: 2.5em 10% 3.5em 10%; background: #E0E0E0; display: block; } /* 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-first { text-indent: 0; margin: 0; orphans: 2; widows: 2; } p.text-left-space { text-indent: 0; margin: 1em 0 0 0; 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; } /* ABOUT THE AUTHOR */ p.about-author-first { text-indent: 0; margin: 3em 0 0 0; orphans: 2; widows: 2; } /* ENDNOTES */ a._idFootnoteLink { font-size: 85%; font-style: normal; font-weight: normal; vertical-align: top; } a._idFootnoteAnchor { font-size: 85%; font-style: normal; font-weight: normal; } span.Endnote-Reference { font-size: 80%; vertical-align: top; } p.footnote-divider { /* divider rule between text and endnotes at end of each chapter */ border-bottom: 2px solid #ccc; font-size: 85%; font-style: normal; font-weight: normal; text-indent: 0; margin: 3em 60% .5em 0; } p.notes { font-size: 85%; font-style: normal; font-weight: normal; text-indent: 1em; text-align: left; margin: 0; orphans: 2; widows: 2; } /* FIGURES */ body.cover { margin: 0; padding: 0; font-size: 0; } p.figure-marker { font-weight: normal; text-align: center; margin: .75em 0 .5em 0; } img { max-width: 100%; /*max-height: 100%;*/ } /* DIVIDER */ /* 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: #23bce5; } /* CHARACTER STYLES */ span.roboto-italic { font-family: "Roboto-Italic", sans-serif; font-style: italic; font-weight: normal; } span.superscript { font-size: 75%; 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%; }