@font-face { font-family: "OPTILawrence"; src: url("../Fonts/OPTILawrence.ttf"); } @font-face { font-family: "CutiveMono-Regular"; src:url("../Fonts/CutiveMono-Regular.ttf"); } @font-face { font-family: "DroidSansMono"; src:url("../Fonts/DroidSansMono.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; } /* 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 8% 0em 8%; } p.dedication-small-space { font-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; margin: .75em 8% 0em 8%; } p.dedication-space { font-size: 110%; line-height: 145%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; margin: 1.75em 8% 0em 8%; } /* SOURCE */ p.source { font-size: 90%; line-height: 130%; font-style: normal; font-weight: normal; text-transform: none; text-indent: 0em; text-align: right; margin: .5em 0em 0em 35%; } /* 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: 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: "OPTILawrence", serif; font-size: 300%; letter-spacing: 0px; font-style: normal; font-weight: normal; text-indent: 0em; text-align: center; margin: 15px 0em 1.5em 0em; } h1.chapter-title-fm { font-size: 170%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: center; letter-spacing: 2px; margin: 15px 4% 3em 4%; } h1.chapter-title { font-size: 170%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: center; letter-spacing: 2px; margin: 15px 4% 3em 4%; } p.time-stamp { font-style: normal; font-weight: bold; font-variant: normal; /* pseudo small-caps */ text-indent: 0em; text-align: left; line-height: 125%; margin: 0em 0em 1em 0em; } /* Various TEXT STYLES */ .drop-cap { font-size: 140%; font-weight: bold; letter-spacing: 1px; color: #939498; /* color: 147 148 152 (medium gray screen) */ } 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; } /* LETTERS */ p.letter { font-style: italic; font-weight: normal; text-indent: 1em; text-align: left; margin: 0em 1em 0em 1em; } p.letter-closing { font-style: italic; font-weight: normal; text-align: right; text-indent: 0em; page-break-before: avoid; margin: 1em 3em 0em 1em; } p.letter-opening-space { font-style: italic; font-weight: normal; text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1em 1em .33em 1em; } /* EMAIL */ p.email { font-family: "DroidSansMono", monospace; font-size: 90%; line-height: 130%; font-style: normal; font-weight: normal; text-indent: 0em; margin: .5em 1em 0em 1em; 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; } /* 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-by { 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; } p.books-list-space { font-size: 90%; font-style: italic; font-weight: normal; text-indent: 0em; text-align: center; margin: 1.75em 0em .4em 0em; } p.books-list-footnote { font-size: 80%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: center; page-break-before: avoid; margin: 1.5em 0em 1em 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: #f6d085; } 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.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%; }