@font-face { font-family: "Emilys Candy"; src: url(FONT00004.ttf); } @font-face { font-family: "Raleway Light"; src: url(FONT00003.ttf); } .penelope .chapter-title-card, .penelope .title-card, .epub-toc-title-card { display: flex; flex-direction: column; } .penelope .chapter-title-card, .epub-toc-title-card { padding-top: 2rem; min-height: 13em; } .penelope .chapter-title-card h2, .penelope .chapter-title-card h3, .epub-toc-title-card h2 { width: 100%; display: block; } .penelope .chapter-title-card h2, .epub-toc-title-card h2 { font-family: "Emilys Candy"; border-bottom: 2px dashed #000; font-size: 1.56rem; padding: 0.4em 0; } .penelope .chapter-title-card h3 { padding: 0.8em 0; font-size: 1.25rem; font-family: "Raleway Light"; } .penelope .title-card h1 { font-size: 1.88rem; padding: 0.6em 0; font-family: "Emilys Candy"; border-bottom: 2px dashed #000; } .penelope .title-card h2 { font-size: 1.25rem; padding: 1.6em 0; font-family: "Raleway Light"; } .penelope .publisher-details { font-family: "Raleway Light"; } html, body, div, span, h1, h2, h3, p, a, em, b, ol, li, nav { margin: 0; margin-block: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ nav { display: block; } body { line-height: 1; } .toc-list { padding: 0; margin-left: 0; list-style: none; } b { font-weight: bold; } em { font-style: italic; } h2 { font-size: 1.2em; padding: 0.6em 0; } h1 { font-size: 1.3em; font-weight: bold; padding: 0.6em 0; } h3 { font-size: 1.15em; font-weight: bold; padding: 0.6em 0; } ol { padding: 0rem 1rem; } li { padding: 0.2rem 0rem; } .table-of-content { margin-left: 0; line-height: 1.6rem; } /* Common Chapter Title card alignment */ .chapter-title-card.center { text-align: center; } .chapter-title-card { width: 100%; justify-content: center; } .chapter-title-card h2 { width: 100%; text-align: inherit; } .chapter-title-card h3 { width: 100%; text-align: inherit; } .wrapper { /* https://css-tricks.com/almanac/properties/o/overflow-wrap/ */ overflow-wrap: break-word; hyphens: auto; text-align: justify; } p:empty:not(:first-of-type) { min-height: 1em; } p { orphans: 2; widows: 2; padding-bottom: 0; margin-top: 0; padding-top: 0; line-height: 1.6em; text-indent: 0; margin-block-end: 1.15em; } p:first-of-type { text-indent: 0rem; } .align-center { text-align: center; } .title { display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; height: 100vh; } .title-card { width: 100%; text-align: center; padding: 2rem 0.4rem; } .title-card h1 { font-size: 2.5rem; text-align: inherit; padding: 0.4rem 0rem; } .title-card h2 { font-size: 1.75rem; text-align: inherit; padding: 0.2rem 0rem; } /* EPUB TOC */ .epub-toc-title-card h2 { text-align: center; } .publisher-details { width: 100%; padding: 2rem 1.6rem; display: flex; flex-direction: column; justify-content: center; align-items: center; } /* COPYRIGHTS */ .copyrights { font-size: 0.75rem; } .copyrights p { text-indent: 0; margin-bottom: 0.8em; } .copyrights .chapter-title-card { display: none; } .copyrights .chapter-title-card { display: none; } /* Dedication */ /* Epigraph */ /* Also by */ .withDropcap .dropcap { text-indent: 0; } .withDropcap .dropcap, .withDropcap .lead_word { text-transform: uppercase; }