@font-face { font-family: "SourceSansPro-Reg"; src:url("../Fonts/SourceSansPro-Regular.otf"); } @font-face { font-family: "SourceSansPro-SemiBld"; src:url("../Fonts/SourceSansPro-Semibold.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; 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; } /* DEDICATION PAGE */ p.dedication-first { font-size: 120%; font-style: italic; font-weight: bold; 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; } 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-style: normal; font-weight: normal; letter-spacing: 0px; } 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; margin: 1em 7% 3em 7%; /* (top, right, bottom, left) */ } h2.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; margin: 1em 7% 3em 7%; /* (top, right, bottom, left) */ } h1.chapter-title-w-sub { font-size: 170%; font-style: normal; font-weight: normal; letter-spacing: 2px; text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ font-variant: normal; /* normal or small-caps */ text-indent: 0em; text-align: center; margin: 1em 7% .25em 7%; } h2.chapter-title-w-sub { /* used in the appendix */ font-size: 170%; font-style: normal; font-weight: normal; letter-spacing: 2px; text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ font-variant: normal; /* normal or small-caps */ text-indent: 0em; text-align: center; margin: 1em 7% .25em 7%; } p.chapter-subtitle { font-size: 130%; font-style: normal; font-weight: normal; text-indent: 0em; text-align: center; margin: 0em 7% 3em 7%; } /* 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; } 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; } /* SUBHEADS */ p.heading-1 { font-size: 110%; font-style: normal; font-weight: bold; font-variant: normal; /* options: normal, small-caps */ text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1.83em 2em .83em 0em; /* (top, right, bottom, left) */ } p.heading-2 { font-size: 110%; font-style: italic; font-weight: bold; font-variant: normal; /* options: normal, small-caps */ text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1.33em 2em .5em 1em; } p.heading-2-2 { /* heading-2, follows a heading-1 (no space above) */ font-size: 110%; font-style: italic; font-weight: bold; text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: left; page-break-after: avoid; margin: 0em 2em .5em 1em; } p.heading-3 { font-style: normal; font-weight: normal; font-variant: normal; /* pseudo small-caps */ text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1.16em 2em .33em 2em; } /* LETTERS */ 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; } /* CHECKLIST ELEMENT */ p.checklist-heading { font-size: 110%; font-style: normal; font-weight: bold; text-indent: 0em; text-align: center; page-break-after: avoid; margin: .75em 2em .83em 0em; /* (top, right, bottom, left) */ } p.heading-2-questionnaire { font-style: normal; font-weight: bold; text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1.83em 2em .83em 0em; /* (top, right, bottom, left) */ } p.list-checklist-space { font-style: normal; font-weight: normal; font-variant: normal; text-indent: -1.8em; padding-left: 1.8em; margin: .25em 0em .33em 0em; orphans: 2; widows: 2; } p.list-checklist { font-style: normal; font-weight: normal; font-variant: normal; text-indent: -1.8em; /* Hanging Indent */ padding-left: 1.8em; margin: 0em 0em .33em 0em; orphans: 2; widows: 2; } p.list-checklist-subentry { font-style: normal; font-weight: normal; font-variant: normal; text-indent: -1.8em; /* Hanging Indent */ padding-left: 1.8em; margin: 0em 0em .33em 1.8em; orphans: 2; widows: 2; } p.list-checklist-indent { font-style: normal; font-weight: normal; font-variant: normal; text-indent: -1.8em; /* Hanging Indent */ padding-left: 1.8em; margin: 0em 0em .33em 3em; orphans: 2; widows: 2; } p.list-checklist-subentry-indent { font-style: normal; font-weight: normal; font-variant: normal; text-indent: -1.8em; /* Hanging Indent */ padding-left: 1.8em; margin: 0em 0em .33em 4.8em; orphans: 2; widows: 2; } /* OUTLINE */ p.out1 { font-size: 95%; font-style: normal; font-weight: normal; text-indent: -1.2em; padding-left: 1.2em; margin: .66em 0em 0em 1em; /* (top, right, bottom, left) */ } p.out2 { font-size: 95%; font-style: normal; font-weight: normal; text-indent: -1.3em; padding-left: 1.3em; margin: .33em 0em 0em 2.5em; } p.out3 { font-size: 95%; font-style: normal; font-weight: normal; text-indent: -1.2em; padding-left: 1.2em; margin: .33em 0em 0em 3.7em; } /* 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-space { font-style: normal; font-variant: normal; text-indent: 0em; margin: 1em 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; } /* NUMBERED LIST as paragraph style (non UL code) */ p.list-numbered { font-style: normal; font-variant: normal; text-indent: -1em; padding-left: 1em; /* Hanging Indent */ margin: .16em 0em 0em 1em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } p.list-numbered-space { font-style: normal; font-variant: normal; text-indent: -1em; padding-left: 1em; margin: 1em 0em 0em 1em; orphans: 2; widows: 2; } p.list-numbered-first { font-style: normal; font-variant: normal; text-indent: -1em; padding-left: 1em; margin: 0em 0em 0em 1em; orphans: 2; widows: 2; } /* BULLET LIST */ li.list-bulleted-space { font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; margin: 1em 0em 0em 0em; orphans: 2; widows: 2; } li.list-bulleted { font-style: normal; font-weight: normal; font-variant: normal; text-indent: 0em; margin: 0em 0em 0em 0em; /* (top, right, bottom, left) */ orphans: 2; widows: 2; } /* SIDEBAR */ div.sidebar-rule1 { /* TOP RULE: use in conjunction with the
tag */ margin-top: 1em; padding-bottom: 0px; text-align:center; text-indent:0em; width:100%; page-break-after: avoid; } div.sidebar-rule2 { /* BOTTOM RULE : use in conjunction with the
tag */ margin-top: -0.5em; margin-bottom: 1em; padding-top: 8px; text-align:center; width:100%; text-indent:0em; page-break-before: avoid; } 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; color: #5b5b5b; 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: center; text-indent: 1em; color: #5b5b5b; margin: 0em 5% 0em 5%; } /* APPENDIX */ span.appendix-number { /* works on conjunction w chapter title */ font-size: 80%; font-style: normal; font-weight: normal; text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-align: center; text-indent: 0em; } p.questionnaire-heading { font-family: "SourceSansPro-SemiBld", "Helvetica-Bold", "HelveticaNeue-Bold", "Arial-BoldMT," sans-serif; font-size: 110%; font-style: normal; font-weight: bold; font-variant: normal; /* options: normal, small-caps */ text-decoration: none; /* none, line-through, underline, etc. */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: left; page-break-after: avoid; margin: 1.83em 2em .83em 0em; /* (top, right, bottom, left) */ } p.text-questionnaire-first { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; text-indent: 0em; margin: .8em 0em 0em 0em; orphans: 2; widows: 2; } p.text-questionnaire { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; text-indent: 1em; margin: 0em 0em 0em 0em; orphans: 2; widows: 2; } /* TABLES */ table.question { /* questionnaire table*/ margin-left: 1.5em; margin-top: 1em; margin-bottom: 1em; border-collapse: collapse; width: 85%; display: table; } td { padding: .33em; } td.questionnaire-table-text { font-family: "SourceSansPro-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-weight: normal; font-style: normal; text-indent: 0em; text-align: left; vertical-align: top; } /* 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; } /* 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; } /* 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.divider2 { /* for Checklist for Sustaining Romantic Love */ font-size: medium; font-style: normal; font-weight: normal; text-align: center; text-indent: 0em; margin: 1.75em 0em 0em 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: #cbb09f; } 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.underline { text-decoration: underline; } 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; } }