@font-face { font-family: "SourceSansPro-Reg"; src:url("../Fonts/SourceSansPro-Regular.otf"); } @font-face { font-family: "SourceSansPro-Bold"; src:url("../Fonts/SourceSansPro-Bold.otf"); } /* BODY STYLES */ body { font-family: "serif"; font-size: 100%; text-align: left !important; 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; margin: .15em; 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 { page-break-after: avoid; -webkit-hyphens: none !important; hyphens: none !important; } h1.toc-marker { font-size: x-small; font-weight: normal; color: green; text-decoration: underline; } /* COPYRIGHT PAGE */ p.copyright { font-size: 85%; text-indent: 0em; margin: 0em 0em 0em 0em; } p.copyright-first { font-size: 85%; text-indent: 0em; margin: 2em 0em 0em 0em; } p.copyright-space { font-size: 85%; text-indent: 0em; margin: 1em 0em 0em 0em; } /* DEDICATION PAGE */ p.dedication-first { font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; margin: 3em 12% 0em 12%; } p.dedication { font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; margin: 0em 12% 0em 12%; } p.dedication-space { font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: center; margin: 1em 12% 0em 12%; } /* TABLE OF CONTENTS */ p.contents1 { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; margin: 0em 0em .5em 0em; } p.contents1-space { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; margin: 1.25em 0em .5em 0em; } p.contents2 { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; margin: 0em 0em .5em 1em; } p.contents2-space { font-style: normal; font-weight: normal; text-indent: -2em; padding-left: 2em; margin: 1.25em 0em .5em 1em; } /* CHAPTER number/title */ span.chapter-number { font-size: 200%; font-weight: bold; font-style: normal; letter-spacing: 0px; color: #a2a2a4; } h1.chapter-title { font-size: 150%; font-weight: normal; font-style: normal; font-variant: normal; letter-spacing: 2px; text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; margin: 1.5em 7% 3em 7%; /* (top, right, bottom, left) */ } /* Various TEXT STYLES */ .drop-cap { /* 2 line drop cap */ font-size: 3.8em; font-weight: normal; font-style: normal; display: inline; padding: 1px; float: left; line-height: .5em; color: #a2a2a4; } 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; } p.text-centered-space { text-indent: 0em; text-align: center; margin: 1.16em 0em 0em 0em; } /* LETTERS */ p.letter-opening-space { font-style: italic; font-weight: normal; text-indent: 0em; margin: 1em 1em .33em 1em; } p.letter { font-style: italic; font-weight: normal; text-indent: 1em; margin: 0em 1em 0em 1em; } p.letter-closing { font-style: italic; font-weight: normal; text-align: right; text-indent: 0em; margin: 1em 3em 0em 1em; } p.letter-space { font-style: italic; font-weight: normal; text-indent: 1em; margin: 1em 1em 0em 1em; } /* RECIPE, PIG STORY */ div.sidebar { /* lightly shaded box area w darker gray border */ border-top: 3px solid #d4d5d7; border-right: 3px solid #d4d5d7; border-bottom: 3px solid #d4d5d7; border-left: 3px solid #d4d5d7; padding: 1em; margin-top: 1em; margin-bottom: 1em; margin-left: 1.25em; margin-right: 1.25em; background-color: #e8e8e8; } h1.sidebar-title { font-family: "SourceSansPro-Bold", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT,"sans-serif; font-size: 95%; font-weight: bold; font-style: normal; text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; padding-top: .5em; page-break-after: avoid; margin: 0em 2% 1em 2%; /* (top, right, bottom, left) */ } p.sidebar-title { font-family: "SourceSansPro-Bold", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT,"sans-serif; font-size: 95%; font-weight: bold; font-style: normal; text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; padding-top: .5em; page-break-after: avoid; margin: 0em 2% 1em 2%; /* (top, right, bottom, left) */ } p.sidebar { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 80%; font-style: normal; font-weight: normal; text-align: left; text-indent: 1em; margin: 0em 0em 0em 0em; } p.sidebar-first { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 80%; font-style: normal; font-weight: normal; text-align: left; text-indent: 0em; margin: 0em 0em 0em 0em; } p.sidebar-space { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 80%; font-style: normal; font-weight: normal; text-align: left; text-indent: 0em; margin: 1em 0em 0em 0em; } p.sidebar-list { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 80%; font-style: normal; font-weight: normal; font-variant: normal; text-align: left; text-indent: -1em; padding-left: 1em; margin: .16em 2em 0em 2em; } /* ABOUT THE AUTHOR */ p.about-author-first { font-variant: normal; text-indent: 0em; margin: 3em 0em 0em 0em; orphans: 2; widows: 2; } /* BOOKS BY */ h1.books-by { /* style for title line of book list by author */ font-size: 130%; font-weight: normal; font-style: normal; text-indent: 0em; text-align: center; margin: 2em 0em 0em 0em; /* (top, right, bottom, left) */ } p.books-by { /* style for title line of book list by author */ font-size: 130%; font-weight: normal; font-style: normal; text-indent: 0em; text-align: center; margin: 2em 0em 0em 0em; /* (top, right, bottom, left) */ } div.books-by-divider-rule { /* use in conjunction with the