/* Stylesheet for Novels of Mrs Aphra Behn */ body { margin: 0; padding: 0; border-width: 0; text-align: justify; font-family:Arial, sans-serif; } @page { margin: 5pt; } h1, h2, h3, h4, h5 { margin: 0 0 10px 0; padding: 0; text-align: center; } blockquote {margin-top:0.3em; margin-bottom:0.3em; margin-left:1em; margin-right:1em; } blockquote p {text-indent: 1em; text-align:left; } blockquote+p { text-indent: 0; } /* No indent for 1st para after a quote */ h1, h2, h3, h4, h5 { text-align: center; } h2+p { text-indent: 0; } /* No indent for 1st para after a heading */ hr { height: 2px; color: black; background-color: #000000; margin-top:5px; margin-bottom:5px; padding:0;} hr+p { text-indent: 0; } /* No indent for 1st para after a horizontal rule */ p { margin: 0; padding: 0; text-indent: 1em; orphans: 1; widows:1;} ul, ol { margin-top: 0; margin-bottom: 0; margin-left: 2em; padding: 0; } ol+p { text-indent: 0; } /* No indent for 1st para after an ordered list */ ul+p { text-indent: 0; } /* No indent for 1st para after an unordered list */ div.chapter { margin: 0; padding: 2em 0 0 0; } /* Sets top margin for chapter - pagebreak from file */ div#chars { page-break-after:always; } div#chars p { text-indent:0; text-align:left; } div#chars p.chpthd { text-indent: 0; text-align:center; } div#colophon { margin: 0; padding: 0; } /* Sets top margin for colophon - no pagebreak as it is the last page */ div#coverpage { border: 0; padding: 0; margin: 0; text-align: center; page-break-after: always; } /* sets no margin for coverpage, and page break */ div#coverpage img { height: 100%; max-width: 100% } div.drama { margin-top:0.5em; margin-left:1em; margin-right:0; margin-bottom:0.5em; padding:0;} div.drama p {text-indent:0; text-align:left;} div.drama+p { text-indent:0; } div#endnotes {page-break-after: always;} div#endnotes p {text-indent:0; text-align:left; padding-bottom:0.25em} div#endnotes p.chsbhd { text-indent:0; text-align:center !important; } div.illustration { margin: 5px 0 0 5px; padding: 0; /* border: 1px solid black; */ width: 50%; float: right; } div.illustration img { border: 0; margin: 0; padding: 0; width: 100%; display: inline; } div.illustration p { margin: 0; padding: 0; text-align: center; text-indent: 0; font-size: smaller; } /* With thanks to Elizabeth Castro */ div.illustration40 { margin: 5px 0 0 5px; padding: 0; /* border: 1px solid black; */ width: 40%; float: right; } div.illustration40 img { border: 0; margin: 0; padding: 0; width: 100%; display: inline; } div.illustration40 p { margin: 0; padding: 0; text-align: center; text-indent: 0; font-size: smaller; } /* With thanks to Elizabeth Castro */ div.landscape { margin:0; padding-top:1em; text-align:center; width:100%; } /* For landscape oriented images */ div.landscape img { margin:0; padding:0; width:100%; } /* frome side to side */ div.landscape p { margin-bottom:5px; padding:0; text-align: center; text-indent: 0; font-size: smaller; font-style:italic; } div.portrait { margin-top:0; padding:0; text-align:center; height:100%; max-width:100%; } /* For covers and full page images */ div.portrait img { margin:0; padding:0; height:100%; max-width:100%; } div#licence { padding-top:2em; page-break-after:always; } div#licence p { font-style:normal; } div.section { margin: 0; padding: 1em 0 0 0; page-break-after: always; } /* Sets top margin and page break for preface and chapters. */ div.section h2 { line-height: 120%; } div#titlepage { margin: 0; padding: 2em 0 0 0; page-break-after: always; } /* Sets a top margin for Title page, and page break */ div#titlepage p { text-indent: 0; text-align: center; } div#TOC { margin: 0; padding: 2em 0 2em 0; page-break-after: always; } /* Sets a top and bottom margin for TOC, and page break */ div#TOC p { text-indent:-2em; margin-left:2em; text-align:left; font-size: 110%; margin-bottom:4px; padding-bottom:0; } div#TOC p.chpthd { font-size:150%; text-indent:-2em; text-align:center; margin-bottom:10px; padding-bottom:0; } div.verse { margin: 0.5em 0 0.5em 1em; padding: 0; /* page-break-inside:avoid; */ } /* Sets top margin and and prevents verses breaking */ div.verse p { text-indent: -2em !important; margin-left: 2em !important; text-align: left !important; margin-bottom: 0; padding: 0; } div.verse p.author {text-align:right !important; margin-right:2em;} div.verse+p { text-indent:0; } .author {text-align:right !important; margin-right:2em; } .avoidbreak { page-break-inside: avoid; } .breakabove { page-break-before:always; } .breakbelow { page-break-after:always; } .bold { font-weight: bold; } .centre { text-indent: 0; text-align: center; font-size:110%; margin-top:0.5em; } p.centre+p { text-indent: 0; } .chno { text-align: center; font-size: 120%; margin-top:1em; page-break-after:avoid; } .chpthd { text-indent: 0; text-align: center; font-size: 150%; line-height:110%; margin: 10px 0 20px 0; } /* chapter heading */ p.chpthd+p { text-indent: 0; } .chsbhd { text-indent: 0; text-align: center; font-size: 125%; margin-top:1em; } /* chapter subheading */ p.chsbhd+p { text-indent: 0; } .diary { text-indent: 0; margin-top: 1.0em; } .divider { text-align:center; padding-top:0.3em; padding-bottom: 0;} p.divider+p {text-indent:0; } .finale { text-indent:0; text-align: center; font-size: 120%; margin-top: 2em; } /* end of a major section */ .flush { text-indent: 0; } .fn { font-size: 75%; vertical-align: text-top; } /* With thanks to Weatherwax */ .greyed { color: black; background-color: #C0C0C0; } .indented { text-indent: 1em; } .italic { font-style: italic; } .la { text-align:left; } .margin06 {margin-left:0.6em; } .margin1 {margin-left:1em; } .MR {margin-top:75px; } .normal { font-style: normal; } .nowrap {text-indent: 0; display: inline-block; } .portion1 { text-indent:0; text-align:center; font-size:138%; margin:0; padding:0 0 10px 0;} p.portion1+p {text-indent:0; } .portion { page-break-before:always; text-indent:0; text-align:center; font-size:138%; margin:0; padding:20px 0 10px 0;} p.portion+p {text-indent:0; } .ra { text-align: right; } .rdate {text-align:right; margin-right:2em !important; } .rsig {text-align:right; margin-right:2em !important; } .rsig3 {text-align:right; margin-right:3em !important; } .signature {text-indent:0; text-align:center; margin-top:0.5em; font-size:105%;} .smallcap { font-size: 70%; } /* ePub won't recognise font-variant: small-caps; */ .smaller { font-size: smaller; } .spaceabove { margin-top: 1.0em; text-indent: 0; } .spacebelow { margin-bottom: 1.0em; } .subscript { vertical-align: sub; font-size: smaller; } .superscript { vertical-align: super; font-size: smaller; } .title1 { text-indent: 0; text-align:center; font-size: 175%; font-weight:bold; margin-bottom: 10px; } /* titlepage title */ .title2 { text-indent: 0; text-align:center; font-size: 125%; margin-bottom:20px; } /*titlepage by */ .title3 { text-indent: 0; text-align:center; font-size: 150%; margin-top: 20px; margin-bottom: 20px; } /*titlepage Author */ .verseno { text-indent: 0; text-align:left; margin-bottom: 0.25em !important; } /* Alex Bell afjbell@bigpond.net.au ebook.css version 4 2014 09 03 */