/* ************************************************************ */ /* SECRETS OF HEATHERSLEIGH HALL CSS Template File */ /* Updated: August 18, 2015 v. 3 */ /* ************************************************************ */ @font-face { font-family: "OpenSans-Reg"; src:url("../Fonts/OpenSans-Regular.ttf"); } @font-face { font-family: "OpenSans-Ital"; src:url("../Fonts/OpenSans-Italic.ttf"); } @font-face { font-family: "OpenSans-SemiBld"; src:url("../Fonts/OpenSans-Semibold.ttf"); } @font-face { font-family: "OpenSans-SemiBldItl"; src:url("../Fonts/OpenSans-SemiboldItalic.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; } /* 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: 2em 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-style: italic; font-weight: normal; line-height: 135%; font-variant: normal; text-indent: 0em; text-align: center; color: #39554b; margin: 3em 12% 0em 12%; } /* EPIGRAPH PAGE */ p.epigraph { font-style: normal; font-weight: normal; line-height: 135%; font-variant: normal; text-indent: 0em; text-align: justify; color: #334b61; margin: 3em 12% 0em 12%; } /* SOURCE */ p.source { font-size: 90%; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; text-indent: 0em; text-align: right; margin: .5em 0em 0em 15%; } /* 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: 0em 0em .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 0em .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: 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; } p.contents-part-titles { font-weight: bold; font-style: normal; text-indent: -2em; padding-left: 2em; text-align: left; page-break-after: avoid; margin: 1.25em 0em .5em 0em; } /* CHAPTER number/title */ span.chapter-number { font-size: 300%; line-height: 200%; letter-spacing: 0px; font-style: normal; font-weight: normal; } h1.chapter-title { font-size: 150%; font-style: normal; font-weight: normal; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; letter-spacing: 2px; line-height: 135%; color: #39554b; margin: 1em 4% 3em 4%; } p.chapter-title { font-size: 150%; font-style: normal; font-weight: normal; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; letter-spacing: 2px; line-height: 135%; color: #39554b; margin: 1em 4% 3em 4%; } h2.chapter-title { font-size: 170%; font-style: normal; font-weight: normal; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; letter-spacing: 2px; line-height: 135%; color: #39554b; margin: 1em 4% 3em 4%; } h1.chapter-title-w-sub { font-size: 170%; font-style: normal; font-weight: normal; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; letter-spacing: 2px; line-height: 135%; color: #39554b; margin: 1em 4% .25em 4%; } p.chapter-subtitle { /* follows chapter-title-w-sub */ font-size: 120%; font-style: normal; font-weight: normal; text-transform: uppercase; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: center; line-height: 130%; color: #39554b; margin: 0em 7% 3em 7%; } p.time-stamp { font-style: normal; font-weight: bold; font-variant: normal; /* pseudo small-caps */ text-transform: none; /* options: none, capitalize, uppercase, lowercase */ text-indent: 0em; text-align: left; margin: 0em 0em 1em 0em; } /* Various TEXT STYLES */ 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; } /* ALTERNATE TEXT SECTIONS */ p.text-alt { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 85%; line-height: 135%; text-indent: 1em; margin: 0em 0em 0em 2em; orphans: 2; widows: 2; } p.text-alt-space { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 85%; line-height: 135%; text-indent: 1em; margin: 1em 0em 0em 2em; orphans: 2; widows: 2; } p.text-alt-left { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 85%; line-height: 135%; text-indent: 0em; margin: 0em 0em 0em 2em; orphans: 2; widows: 2; } span.sans-italic { font-family: "OpenSans-Ital", "Helvetica-Obique", "HelveticaNeue-Italic", "Arial-ItalicMT", sans-serif; font-weight: normal; font-style: italic; } p.text-alt-poetry-space { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 75%; line-height: 135%; font-style: normal; font-weight: normal; text-indent: -1.5em; /* hanging indent */ padding-left: 1.5em; text-align: left; margin: 1em 3em 0em 3.2em; orphans: 2; widows: 2; } p.text-alt-poetry { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 75%; line-height: 135%; font-style: normal; font-weight: normal; text-indent: -1.5em; /* hanging indent */ padding-left: 1.5em; text-align: left; margin: 0em 3em 0em 3.2em; orphans: 2; widows: 2; } p.text-alt-poetry-indent1 { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; font-size: 75%; line-height: 135%; font-style: normal; font-weight: normal; text-indent: -1.5em; padding-left: 1.5em; text-align: left; margin: 0em 3em 0em 4.2em; } /* LETTERS */ 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; } p.letter { font-style: italic; font-weight: normal; text-indent: 1em; text-align: left; margin: 0em 1em 0em 1em; } p.letter-space { font-style: italic; font-weight: normal; text-indent: 1em; text-align: left; margin: 1em 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; } /* EMAIL */ p.email { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; line-height: 130%; font-size: 80%; font-style: normal; font-weight: normal; text-indent: 0em; line-height: 130%; margin: .5em 1em 0em 1em; orphans: 2; widows: 2; } p.email-space { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; line-height: 130%; font-size: 80%; font-style: normal; font-weight: normal; text-indent: 0em; line-height: 130%; margin: 1.5em 1em 0em 1em; orphans: 2; widows: 2; } p.email-opening-space { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; line-height: 130%; font-size: 80%; font-style: normal; font-weight: normal; text-indent: 0em; line-height: 130%; margin: 1.5em 1em 0em 1em; orphans: 2; widows: 2; } p.email-first { font-family: "OpenSans-Reg", "Helvetica", "HelveticaNeue", "Arial", sans-serif; line-height: 130%; font-size: 80%; font-style: normal; font-weight: normal; text-indent: 0em; line-height: 130%; margin: 1.5em 1em 0em 1em; orphans: 2; widows: 2; } /* POETRY */ p.poetry-space { font-size: 90%; font-style: normal; font-weight: normal; text-indent: -1.5em; /* hanging indent */ padding-left: 1.5em; text-align: left; margin: 1em 3em 0em 2em; orphans: 2; widows: 2; } p.poetry { font-size: 90%; font-style: normal; font-weight: normal; text-indent: -1.5em; /* hanging indent */ padding-left: 1.5em; text-align: left; margin: 0em 3em 0em 2em; orphans: 2; widows: 2; } p.poetry-indent1 { font-size: 90%; font-style: normal; font-weight: normal; text-indent: -1.5em; padding-left: 1.5em; text-align: left; margin: 0em 3em 0em 3em; } /* 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; } /* UNNUMBERED LIST (non-bullet list) */ p.list-unnumbered { font-style: normal; font-weight: normal; font-variant: normal; text-indent: -1em; /* Hanging Indent */ padding-left: 1em; margin: 0em 0em 0em 1em; orphans: 2; widows: 2; } p.list-unnumbered-space { font-style: normal; font-weight: normal; font-variant: normal; text-indent: -1em; /* Hanging Indent */ padding-left: 1em; margin: 1em 0em 0em 1em; 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-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; page-break-after: avoid; margin: 2em 0em .66em 0em; } p.books-list-hyperlink { font-size: 80%; font-style: italic; font-weight: normal; text-indent: 0em; text-align: center; margin: 1.33em 0em 1em 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; } /* FOOTNOTES (CS7) */ a._idFootnoteLink { font-size: 80%; font-style: normal; font-weight: normal; vertical-align: top; } a._idFootnoteAnchor { font-style: normal; font-weight: normal; font-size: 85%; vertical-align: top; } span.Footnote-Reference { font-size: 80%; vertical-align: top; } p.footnote-divider { /* divider rule between text and endnotes at end of each chapter */ border-bottom: 2px solid #ccc; font-size: 85%; font-style: normal; font-weight: normal; text-indent: 0em; margin: 3em 60% .5em 0em; } p.footnote-text { font-size: 85%; font-style: normal; font-weight: normal; text-indent: 1em; margin: 0em; } /* FIGURES */ body.cover { margin:0; padding:0; font-size:0 } img { max-width: 100%; max-height: 100%; } p.figure-marker { display: block; text-align: center; text-weight: bold; text-indent: 0em; margin-top: .75em; margin-bottom: .5em; } p.ch-figure { display: block; text-align: center; text-indent: 0em; margin-top: 1em; margin-bottom: 3em; } /* 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; } /* HYPERLINK STYLE DATA */ a:active { /* mouse button held down */ color: red; } a:hover { background: #b1b98a; } 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.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%; }