@font-face { font-family: "SourceSansPro-Reg"; src:url("../Fonts/SourceSansPro-Regular.otf"); } @font-face { font-family: "LucidaGrande"; src: url("../Fonts/LucidaGrande.otf"); } /* BODY STYLES */ body { 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; 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 { 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; } /* ENDORSEMENTS */ p.endorsement-title { font-size: 110%; font-style: normal; font-weight: bold; font-variant: normal; text-indent: 0em; text-align: center; page-break-after: avoid; margin: 2em 7% 1em 7%; } p.endorsement-text-first { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; margin: 3em 0em 0em 0em; /* (top, right, bottom, left) */ } p.endorsement-text { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; margin: 1em 0em 0em 0em; /* (top, right, bottom, left) */ } p.endorsement-source { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; text-align: right; page-break-before: avoid; margin: .4em 0em 0em 15%; } /* 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%; } /* 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; } /* CHAPTER number/title */ h1.chapter-number { font-size: 300%; font-style: normal; font-weight: normal; letter-spacing: 0px; text-indent: 0em; text-align: center; color: #005785; margin: 1em 0em 0em 0em; /* (top [brings num down from top], right, bottom, left) */ } h1.chapter-title { font-size: 170%; font-style: normal; font-weight: normal; font-variant: normal; /* normal or small-caps */ letter-spacing: 2px; text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; color: #005785; margin: 1em 7% 3em 7%; /* (top, right, bottom, left) */ } h1.chapter-title1 { font-size: 170%; font-style: normal; font-weight: normal; font-variant: normal; /* normal or small-caps */ letter-spacing: 2px; text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; color: #005785; margin: 1em 7% 0em 7%; /* (top, right, bottom, left) */ } /* Various TEXT STYLES */ .drop-cap { /* 2 line drop cap */ font-size: 3.8em; font-style: normal; font-weight: normal; display: inline; padding: 1px; float: left; line-height: .5em; color: #81abc3; } 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-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; } /* NUMBERED LIST (OL code) */ li.list-numbered { font-style: normal; font-variant: normal; text-indent: 0em; margin: .16em 0em 0em .5em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } li.list-numbered-first { /* when follows a subhead and is not to add space */ font-style: normal; font-variant: normal; text-indent: 0em; margin: 0em 0em 0em .5em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } /* TABLES (for recipe) */ table { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; margin-left: 2em; margin-top: 1em; margin-bottom: 1em; border-collapse: collapse; width: 85%; display: table; } td { padding: .33em; } td.table-text { font-size: 90%; font-weight: normal; font-style: normal; text-indent: 0em; text-align: left; vertical-align: top; } td.table-text-right { font-family: "LucidaGrande", sans-serif; font-size: 90%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: right; vertical-align: top; } p.recipe-text { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; text-indent: 1em; text-align: left; margin: 0em 1em 0em 1em; orphans: 2; widows: 2; } p.recipe-text-space { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; text-indent: 1em; text-align: left; margin: 2em 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 */ font-size: 130%; font-style: normal; font-weight: 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
tag */ margin-top: .33em; margin-bottom: 1em; margin-left: 10%; margin-right: 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; margin: 2em 0em .66em 0em; } /* FIGURES */ img { max-width: 100%; max-height: 100%; } img.sidebar { width: 100%; } body.cover { margin:0; padding:0; font-size:0 } p.figure-marker { display: block; text-align: center; text-weight: bold; text-indent: 0em; margin-top: 1.16em; margin-bottom: 1.16em; } p.ch-figure { display: block; text-align: center; text-indent: 0em; margin-top: 0em; margin-bottom: 2.5em; } p.ch-figure1 { display: block; text-align: center; text-indent: 0em; margin-top: 1em; margin-bottom: 2.5em; } p.ch-figure2 { display: block; text-align: center; text-indent: 0em; margin-top: 2em; margin-bottom: 2.5em; } /* DIVIDER */ p.divider { font-size: medium; 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: small; letter-spacing: -1px; color: #ccc; margin: 1.16em 0em 1.16em 0em; } p.extra-space { margins:0em; margin-top: .75em; margin-bottom: 1em; } /* HYPERLINK STYLE DATA */ a:active { /* mouse button held down */ color: red; } a:hover { background: #81abc3; } a:link { /* not visited */ color: blue; text-decoration: underline; } a:visited { color: #cc66ff; } p.ad-hyperlink { font-size: small; text-align: center; /* used for hyperlinks under any ad mentioning a website */ margin: .42em 0em 0em 0em; /* (top, right, bottom, left) */ } span.hyperlink { font-style: normal; font-weight: normal; } /* 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%; } /* MOBI CSS CODE */ @media amzn-mobi { body { font-family: "serif"; orphans: 2; widows: 2; } .drop-cap { /* 2 line drop cap */ font-weight: bold; font-style: normal; font-size: 3.2em; } } /* KF8 CSS CODE (Kindle Fire) */ @media amzn-kf8 { body { font-family: "serif"; orphans: 2; widows: 2; } a:link { color: blue; text-decoration: underline; } .drop-cap { /* 2 line drop cap */ font-weight: normal; font-style: normal; font-size: 3.2em; display: inline; margin-top: -.25em; margin-bottom: -.32245em; float: left; color: #81abc3; } }