/*--- eBookish -- 2020.08.30 No px ------------*/ /*--- eBookish -- core body styles ------------*/ body { display: block; margin: 0 5pt; widows: 3; orphans: 3; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; -o-hyphens: auto; hyphens: auto; line-height: 1.4; text-align: justify; text-indent: 0; page-break-before: always; } .ded { margin: 10em 5% 20%; } .cop { text-align: center; font-size: 75%; margin-top: 10em; } .ob { text-align: center; margin: 10em 5% 20%; } .cv { text-align: center; margin: 0; vertical-align: middle; } /*--- eBookish -- core paragraph styles -------*/ p { display: block; margin: 0.1em 0; widows: 3; orphans: 3; word-break: normal; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; text-indent: 1em; } div { display: block; margin: 0; text-indent: 0; } /*--- eBookish -- chapter start styles --------*/ .fl { display: block; widows: 3; orphans: 3; margin: 0; text-indent: 0; page-break-after: avoid !important; page-break-inside: avoid !important; } .fl:first-letter { color: #777; text-shadow: 0.05em 0.05em 0 ##000, -0.025em -0.025em 0 ##000, 0.025em -0.025em 0 ##000, -0.025em 0.025em 0 ##000, 0.025em 0.025em 0 ##000; font-size: 270%; float: left; line-height: 100%; padding: 0.025em 0.035em 0 0; widows: 3; orphans: 3; page-break-after: avoid !important; page-break-inside: avoid !important; } .fl:first-line { font-variant: small-caps; widows: 3; orphans: 3; font-size: 120%; page-break-after: avoid !important; page-break-inside: avoid !important; } .fl1 { display: block; margin: 1em 0 0; text-indent: 0; widows: 3; orphans: 3; page-break-after: avoid !important; page-break-inside: avoid !important; } .fl1:first-letter { color: #ddd; text-shadow: 0.05em 0.05em 0 #000, -0.025em -0.025em 0 #000, 0.025em -0.025em 0 #000, -0.025em 0.025em 0 #000, 0.025em 0.025em 0 #000; font-weight: bold; font-size: 330%; float: left; line-height: 100%; padding: 0.025em 0.035em 0 0; widows: 3; orphans: 3; page-break-after: avoid !important; page-break-inside: avoid !important; } .fl1:first-line { font-variant: small-caps; font-size: 130%; letter-spacing: 0.05em; widows: 3; orphans: 3; page-break-after: avoid !important; page-break-inside: avoid !important; } /*--- eBookish -- titles styles ----------------*/ h1, h2, h3, h4, h5, h6 { line-height: inherit; font-weight: normal; page-break-after: avoid !important; page-break-inside: avoid !important; } h1 { display: block; margin: 10em 0 10%; text-align: center; line-height: 150%; page-break-after: avoid !important; } h1 + p, *[class^="Head-Level-1"] + p { text-indent: 0; } h2 { display: block; margin: 5em 0; text-align: center; page-break-after: avoid !important; } h2 + p, *[class^="Head-Level-2"] + p { text-indent: 0; } h3 { display: block; font-size: 1.75em; margin: 5em 0 10%; text-align: center; page-break-after: avoid !important; } h3 + p, *[class^="Head-Level-3"] + p { text-indent: 0; } h4 { display: block; margin: 2.5% 0 0; widows: 3; orphans: 3; page-break-after: avoid !important; } h5 { display: block; font-size: 1em; margin: 0; page-break-after: avoid !important; } h6 { display: block; font-size: 1em; margin: 5% 0; text-align: center; } /*--- eBookish -- align styles -----------------*/ .right { display: block; text-align: right; } .sign { display: block; margin: 0.25em 0 1em; page-break-before: avoid !important; text-align: right; } .date { display: block; margin: 1em 0 0.5em; page-break-after: avoid !important; text-align: right; } .def { display: block; margin: 1em 0; text-indent: 0; } .left { display: block; text-align: left; } /*--- eBookish -- core font styles ------------*/ font { font-variant: small-caps; } small { font-size: smaller; } big { font-size: larger; } sub, sup { font-size: 75%; line-height: 100% !important; position: relative; vertical-align: baseline; padding: 0 0 0 0.4%; } sup { top: -0.5em; padding: 0 0 0 0.4%; } sub { bottom: -0.25em; padding: 0 0 0 0.4%; } .letter { display: block; margin: 0.5em 2em; font-family: "Mali Medium", "Segoe Script", "Segoe Print", cursive; line-height: 200%; text-align: left; font-weight: normal; } .cursive { font-family: "Mali Medium", "Segoe Script", "Segoe Print", cursive; font-weight: normal; } .sans { font-family: sans-serif; font-weight: normal; } .space { letter-spacing: 0.25em; } /*--- eBookish -- blockquotes ----------------*/ blockquote { display: block; margin: 1em; } blockquote + p { text-indent: 0; } blockquote p { text-indent: 0; } blockquote p + p { text-indent: 1em; } blockquote p { display: inline; text-indent: 0; } blockquote:after { content: close-quote; line-height: 0.1em; margin-right: 0.25em; vertical-align: 0; } blockquote:before { content: open-quote; line-height: 0.1em; margin-right: 0.25em; vertical-align: 0; } .hang { display: block; page-break-before: avoid !important; text-indent: -1em; margin-left: 1em; } dl { margin: 1em; } /*--- eBookish -- image ----------------------*/ img.middle { display: block; margin-left: auto; margin-right: auto; max-height: 100%; max-width: 100%; vertical-align: sub; /*removes descender gap beneath images*/ padding: 5% 0; border: 0; } img { display: inline-block; vertical-align: middle; height: auto; } /*--- eBookish -- line styles -----------------*/ hr { border: 0; height: 0.04em; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25)); margin: 5% auto; } hr + p { text-indent: 0; } .sep { width: 10%; height: 0.08em; margin: 5% auto; } /*--- eBookish -- list styles -----------------*/ ol { display: block; margin: 0.2em 0 0.2em -0.4em; } ol > li:before { padding-right: 0.32em; margin: 0 0 0 -0.4em; } ul { display: block; font-style: normal; list-style-type: none; /* Remove list bullets */ margin: 0 0 0.2em -0.8em; } ul > li:before { padding-right: 0.32em; margin: 0 0 0 -0.4em; } /*--- eBookish -- link styles -----------------*/ a { text-underline-position: under; text-decoration :underline dotted #009933; color: inherit; } /*--- eBookish -- page styles -----------------*/ @page { margin: 5pt 0; } /*--- eBookish -- end ------------------------*/