@font-face { font-family: "EBGaramond-Medium"; src:url("../Fonts/EBGaramond-Medium.ttf"); } @font-face { font-family: "HomemadeApple"; src: url("../Fonts/HomemadeApple.ttf"); } @font-face { font-family: "Faustina-Regular"; src:url("../Fonts/Faustina-Regular.ttf"); } @font-face { font-family: "Faustina-Italic"; src:url("../Fonts/Faustina-Italic.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 { 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: normal; font-weight: normal; text-indent: 0; text-align: center; margin: 3em 12% 0 12%; } /* EPIGRAPH */ p.epigraph-poetry { font-size: 105%; line-height: 125%; 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-first { font-size: 105%; line-height: 125%; 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-source { font-size: 95%; line-height: 125%; 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-indent1 { font-size: 105%; line-height: 125%; font-style: normal; font-weight: normal; text-indent: -1.5em; padding-left: 1.5em; text-align: left; margin: 0 2em 0 4em; orphans: 2; widows: 2; } /* SOURCE */ p.source { font-size: 90%; line-height: 130%; font-style: normal; font-weight: normal; font-variant: normal; /* pseudo small caps */ text-transform: none; text-indent: 0; text-align: right; margin: .5em 0 0 35%; } /* 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 */ span.chapter-number { font-size: 200%; line-height: 200%; letter-spacing: 0px; font-style: normal; font-weight: 500; } h1.chapter-title-fm { font-family: "EBGaramond-Medium", serif; font-size: 170%; line-height: 125%; font-style: normal; font-weight: 500; font-variant: small-caps; /* normal or small-caps */ text-indent: 0; text-align: center; letter-spacing: 2px; margin: 15px 4% 3em 4%; } h1.chapter-title { font-family: "EBGaramond-Medium", serif; font-size: 170%; line-height: 125%; font-style: normal; font-weight: 500; text-indent: 0; text-align: center; letter-spacing: 2px; margin: 15px 4% .75em 4%; } /* TEXT STYLES */ .drop-cap { font-size: 140%; line-height: 125%; font-weight: bold; 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-first { text-indent: 0; margin: 0; orphans: 2; widows: 2; } p.text-first-space { text-indent: 0; margin: 3em 0 0 0; /* follows something like epigraph source */ orphans: 2; widows: 2; } /* LETTERS (Italic style) */ p.letter { font-family: "HomemadeApple", cursive; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; margin: 0 1em 0 1em; } p.letter-closing { font-family: "HomemadeApple", cursive; font-style: normal; font-weight: normal; text-align: right; text-indent: 0; page-break-before: avoid; margin: 1em 3em 0 1em; } /* 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; } /* 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-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; } /* 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; } /* DIALOGUE */ p.dialogue-space { font-style: normal; font-variant: normal; text-indent: -1.75em; padding-left: 1.75em; text-align: left; margin: .65em 0 1.25em 1em; orphans: 2; widows: 2; } /* SIDEBARS */ div.sidebar { border: 4px double #d4d5d7; padding: 1em; margin: 1.25em 1em 0 1em; display: block; } span.faustina-italic { font-family: "Faustina-Italic", serif; font-style: italic; font-weight: normal; } p.sidebar { font-family: "Faustina-Regular", serif; font-size: 80%; line-height: 140%; font-style: normal; font-weight: normal; text-align: left; text-indent: 1em; margin: 0; orphans: 2; widows: 2; } p.sidebar-first { font-family: "Faustina-Regular", serif; font-size: 80%; line-height: 140%; font-style: normal; font-weight: normal; text-align: left; text-indent: 0; margin: 0; orphans: 2; widows: 2; } p.sidebar-source { font-family: "Faustina-Regular", serif; font-size: 70%; line-height: 130%; font-style: normal; font-weight: normal; text-align: right; text-indent: 1em; text-align: right; margin: .25em 0 .75em 10%; } /* TABLES */ table { /* default table structure */ margin-left: auto; margin-right: auto; margin-top: 1em; margin-bottom: 1em; display: table; border-bottom: 1.25px solid black; /* add border-top if top of table needs rule */ /* table heading will add rule below headings */ } table.no-rule { /* add class style when need to add rules locally */ rules: "rows"; /* not supported in CSS, must add locally */ border-bottom: 0px solid black; } td { padding: .33em; } p.table-title { font-size: 90%; font-style: normal; font-weight: bold; text-indent: 0; text-align: center; page-break-after: avoid; margin: 1.5em 0 .5em 0; } td.table-text { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; text-align: left; vertical-align: top; padding-right:.5em; padding-left:.5em; } td.table-text-right { font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0; text-align: right; vertical-align: top; padding-right:.5em; padding-left:.5em; } p.table-note { /* only use when table note is not wrapped in a