@charset "UTF-8"; /* blitz — CSS framework for reflowable eBooks Version 0.95 by Jiminy Panoz Codename: Blonde Rock & Roll License: MIT (https://opensource.org/licenses/MIT) */ /* NAMESPACES */ @namespace h "http://www.w3.org/1999/xhtml/"; @namespace epub "http://www.idpg.org/2007/ops"; /* if you need to style epub:type */ @namespace m "http://www.w3.org/1998/Math/MathML/"; /* if you need to style MathML */ @namespace svg "http://www.w3.org/2000/svg"; /* if you need to style SVG */ html { /* Don't use it for styling, used as selector which can take a punch if anything goes wrong above */ } /* Begin CSS */ /* Reset */ /* So here's the trick, we must reset to manage a number of problems once and for all: - HTML5 backwards compatibility (EPUB 3 file in EPUB 2 app); - user settings (e.g. line-height on Kobo and Kindle); - CSS bloat (DRY); - KFX for which a reset using `border: 0` seems to disable support; - etc. It all started as a normalize and became a reset given the magnitude of the task. */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin:0; padding:0; /* RS may apply vertical padding to el such as p */ border: 0; /* Font size in pixel disable the user setting in legacy RMSDK */ line-height: inherit; /* Kindle ignores it, Kobo needs it. If you don’t use inherit, the user setting may be disabled on some Kobo devices */ vertical-align: baseline; -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; } /* This is absolutely necessary for backwards compatibility */ article, aside, details, figure, figcaption, footer, header, hgroup, main, nav, section { display: block; } /* page margins for nook and kobo */ @page { margin: 1.2em; } body { font-size: 100%; text-align: left; margin:0 auto; /* RS will override margins anyways */ padding: 0; widows: 2; /* iBooks and Kobo support widows and orphans */ orphans: 2; } h1,h2,h3,h4,h5,h6 { page-break-after:avoid; -epub-hyphens: none !important; adobe-hyphenate: none !important; hyphens: none !important; page-break-after: avoid !important; } /* Font List */ @font-face { font-family: "PTSans"; src: url(../fonts/PTSans-Regular.ttf); font-style: normal; font-weight: normal; } @font-face { font-family: "PTSans"; src: url(../fonts/PTSans-Bold.ttf); font-style: normal; font-weight: bold; } @font-face { font-family: "PTSans"; src: url(../fonts/PTSans-BoldItalic.ttf); font-style: italic; font-weight: bold; } @font-face { font-family: "PTSans"; src: url(../fonts/PTSans-Italic.ttf); font-style: italic; font-weight: normal; } @font-face { font-family: "FuturaStd-Medium"; src: url(../fonts/FuturaStd-Medium.ttf); font-style: normal; font-weight: bold; } @font-face { font-family: "FuturaStd-Medium"; src: url(../fonts/FuturaStd-MediumOblique.ttf); font-style: italic; font-weight: bold; } @font-face { font-family: "FuturaStd"; src: url(../fonts/FuturaStd-Bold.ttf); font-style: normal; font-weight: bold; } @font-face { font-family: "FuturaStd"; src: url(../fonts/FuturaStd-BoldOblique.ttf); font-style: italic; font-weight: bold; } @font-face { font-family: "RotisSansSerif"; src: url(../fonts/RotisSansSerif.ttf); font-style: normal; font-weight: normal; } @font-face { font-family: "RotisSansSerif"; src: url(../fonts/RotisSansSerif-Bold.ttf); font-style: normal; font-weight: bold; } @font-face { font-family: "RotisSansSerif"; src: url(../fonts/RotisSansSerif-Italic.ttf); font-style: italic; font-weight: normal; } /* Body Style */ .h1 { font-family: "FuturaStd", sans-serif; font-size: 150%; line-height: 1em; margin-top: 0.5em; margin-bottom: 1.5em; text-align: center; } .h2 { font-family: "FuturaStd", sans-serif; font-size: 130%; line-height: 1em; margin-top: 0.1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .h2b { font-family: "FuturaStd", sans-serif; font-size: 150%; line-height: 1em; margin-top: 0.1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .h2t { font-family: "FuturaStd", sans-serif; font-size: 130%; line-height: 1em; margin-top: 1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .h3 { font-family: "FuturaStd", sans-serif; font-size: 90%; font-weight: normal; line-height: 1em; margin-top: 1.2em; margin-bottom: 0.3em; text-indent: 0em; text-align: left; } .h3a { page-break-before: always; font-family: "FuturaStd", sans-serif; font-size: 125%; line-height: 1em; margin-top: 1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .h3r { page-break-before: always; font-family: "FuturaStd", sans-serif; font-size: 130%; line-height: 1em; margin-top: 1em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .h3c { font-family: "FuturaStd", sans-serif; font-size: 100%; line-height: 1em; margin-top: 1.2em; margin-bottom: 1em; text-indent: 0em; text-align: left; } .h4 { font-family: "FuturaStd", sans-serif; font-size: 90%; line-height: 1em; margin-top: 1.2em; margin-bottom: 0.3em; text-indent: 0em; text-align: left; } .subtitle { font-family: "PTSans", sans-serif; font-weight: bold; font-size: 95%; margin-top: 1.5em; margin-bottom: 2em; margin-left: 2em; margin-right: 2em; text-align: center; } .author { font-family: "FuturaStd", sans-serif; font-size: 80%; margin-top: 1.5em; margin-bottom: 1em; margin-left: 2em; margin-right: 2em; text-align: center; } .pub { margin-top: 7em; margin-bottom: 0.3em; text-indent: 0em; text-align: center; } .noindent { margin-top: 0.1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .noindentt { margin-top: 1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .discpara { margin-top: 0.8em; margin-bottom: 0.8em; text-indent: 0em; text-align: left; } .disctext { margin-top: 0.1em; margin-bottom: 0.8em; text-indent: 0em; text-align: left; } .dispara { margin-top: 1em; margin-bottom: 0.8em; text-indent: 0em; text-align: left; } .ahead { font-family: "FuturaStd", sans-serif; font-size: 90%; margin-top: 1em; margin-bottom: 0.3em; text-indent: 0em; text-align: left; } .bhead { font-family: "FuturaStd-Medium", sans-serif; font-size: 95%; font-weight: bold; margin-top: 1em; margin-bottom: 0.3em; text-indent: 0em; text-align: left; } .atext { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.2em; text-indent: 0em; text-align: left; } .atextt { font-size: 90%; margin-top: 1em; margin-bottom: 0.2em; text-indent: 0em; text-align: left; } .btext { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .btext strong { font-family: "FuturaStd-Medium", sans-serif; } .btextt { font-size: 90%; margin-top: 1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .btextt strong { font-family: "FuturaStd-Medium", sans-serif; } .ctext { font-size: 90%; margin-top: 1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .chead { font-size: 90%; line-height: 1em; margin-top: 0.3em; margin-bottom: 1.2em; text-indent: 0em; text-align: left; border-bottom: solid #72B0E0 0.2em; padding-bottom: 0.3em; } .thead { font-family: "PTSans", sans-serif; font-size: 75%; font-weight: bold; margin-top: 0em; margin-bottom: 0em; margin-right: 0.2em; text-indent: 0em; text-align: left; } .tpara { font-family: "PTSans", sans-serif; font-size: 80%; margin-top: 0em; margin-bottom: 0em; margin-left: 0.2em; text-indent: 0em; text-align: left; } .tpara1 { font-family: "PTSans", sans-serif; font-size: 80%; margin-top: 0em; margin-bottom: 0em; margin-left: 0.2em; text-indent: 0em; text-align: left; } .tpara2 { font-family: "PTSans", sans-serif; font-size: 80%; margin-top: 0em; margin-bottom: 0em; margin-left: 0.2em; text-indent: 0em; text-align: right; } .tparac { font-family: "PTSans", sans-serif; font-size: 80%; margin-top: 0em; margin-bottom: 0em; margin-left: 0.2em; text-indent: 0em; text-align: center; } .tocc { font-size: 95%; font-weight: normal; margin-top: 0.3em; margin-bottom: 0.3em; text-align: left; text-indent: 0em; } .tocc1 { font-size: 90%; font-weight: normal; margin-top: 0.3em; margin-bottom: 0.3em; text-align: left; text-indent: 1.5em; } .tocit { font-size: 90%; margin-top: 1.4em; margin-bottom: 0.5em; text-align: left; text-indent: 0em; } .tocit strong { font-family: "PTSans", sans-serif; } .f2 { font-size: 75%; } .f3 { font-family: "PTSans", sans-serif; font-size: 85%; font-weight: bold; } .t1 { page-break-before:always; border-top: solid #555555 0.1em; margin: 0em; } .t1 td { padding: 0.2em; } .t2 { border-collapse: collapse; width: 100%; margin-top: 1em; margin-bottom: 1em; } .t2 td { padding: 0.2em; border: solid #ffffff 0.1em; } .b1 { border-bottom: solid #555555 0.1em; margin: 0em; } .b2 { border-bottom: solid #555555 0.1em; margin: 0em; } .b3 { background-color: #B1D0D3; } .b4 { background-color: #E8E7BD; } .b5 { background-color: #E7C29C; } .b6 { background-color: #beb7c2; text-align: center; } /* For Captions */ .caption { page-break-before: avoid; font-family: "RotisSansSerif", sans-serif; font-size: 90%; line-height: 1.15em; margin-top: 0.1em; margin-bottom: 1.5em; text-indent: 0em; text-align: left; } .captiona { page-break-before: avoid; font-family: "RotisSansSerif", sans-serif; font-size: 90%; line-height: 1.15em; margin-top: 0.1em; margin-bottom: 0.5em; text-indent: 0em; text-align: left; } /* For Index */ .indexhead { font-family: "PTSans", sans-serif; font-size: 90%; font-weight: bold; margin-top: 1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .indexmain { font-size: 90%; margin-top: 1em; margin-bottom: 0.1em; text-indent: -1.5em; margin-left: 1.5em; text-align: left; } .indexlev1 { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-indent: -1.5em; margin-left: 1.5em; text-align: left; } .indexlev2 { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-indent: -1.5em; margin-left: 2.5em; text-align: left; } .indexlev3 { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-indent: -1.5em; margin-left: 3.5em; text-align: left; } /* For Copyright */ .copy { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .copya { font-size: 90%; margin-top: 1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; } .copyi { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; margin-left: 1em; text-indent: -1em; text-align: left; } /* Default Styles */ .ent { font-family: "DejaVuMonoSans", sans-serif; font-size: 80%; vertical-align: 0.17em; } .clear { clear: both; } .column { -webkit-column-count: 2; /* Chrome, Safari, Opera */ -moz-column-count: 2; /* Firefox */ column-count: 2; } .hidden { display: none; visibility: hidden; } .group { page-break-inside: avoid; } .groupa { page-break-before: always; } table { border-collapse: collapse; width: 100%; margin: 0em; } td { padding: 0.2em; } small { font-size: 80%; } ol { list-style-type:none; margin: 0em; } a { text-decoration: none; } /* Styling is improved to prevent sub from affecting line-height */ .sub { font-size: 75%; line-height: 1.2; vertical-align: sub; /* Fallback */ vertical-align: -15%; } /* Styling is improved to prevent sup from affecting line-height */ .sup { font-size: 75%; line-height: 1.2; vertical-align: super; /* Fallback */ vertical-align: 25%; } img { width: auto; max-width: 100%; /* Note: KF8 doesn't support max-width hence "width: auto;" as fallback */ height: auto; object-fit: contain; } /* For Dropcap */ .dropcap { float: left; font-size: 320%; margin-top: 0.05em; margin-bottom: 0em; margin-right: 0.075em; line-height: 0.9em; font-weight: normal; } /* For Cover Images */ .imagefp { height: 98%; margin: 0em; text-align: center; } .imagefp:only-of-type { height: 98vh; margin: 0em; text-align: center; } .imagefc { width: 100%; } /* For Inline Images */ .in2 { width: 2%; } .in3 { width: 3%; } .in5 { width: 5%; } .in7 { width: 7%; } .in10 { width: 10%; } .in15 { width: 15%; } .in20 { width: 20%; } .in25 { width: 25%; } .in30 { width: 30%; } .in40 { width: 40%; } .in50 { width: 50%; } .in60 { width: 60%; } .in100 { width: 100%; } /* For float Images */ .ft60 { width: 60%; float: right; padding-left: 0.5em; margin: 0em; } .ft60 img { width: 100%; } .ft50 { margin: 0em; width: 50%; float: right; padding-left: 0.5em; } .ft50 img { width: 100%; } .ft45 { margin: 0em; float: right; width: 45%; padding-left: 0.5em; } .ft45 img { width: 100%; } .ft40 { margin: 0em; width: 40%; float: right; padding-left: 0.5em; } .ft40 img { width: 100%; } .ft35 { margin: 0em; float: right; width: 35%; padding-left: 0.5em; } .ft35 img { width: 100%; } .ft30 { margin: 0em; width: 30%; float: right; padding-left: 0.5em; } .ft30 img { width: 100%; } .ft20 { margin: 0em; width: 20%; float: right; padding-left: 0.5em; } .ft20 img { width: 100%; } .ft25 { margin: 0em; width: 25%; float: right; padding-left: 0.5em; } .ft25 img { width: 100%; } .ft15 { margin: 0em; float: right; width: 15%; padding-left: 0.5em; } .ft15 img { width: 100%; } .ft10 { width: 10%; float: right; padding-left: 0.5em; margin: 0em; } .ft10 img { width: 100%; } /* For Landscape Images (width or without caption) */ .land10 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land10 img { width: 10%; } .land20 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land20 img { width: 20%; } .land30 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land30 img { width: 30%; } .land40 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land40 img { width: 40%; } .land50 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land50 img { width: 50%; } .land60 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land60 img { width: 60%; } .land70 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land70 img { width: 70%; } .land80 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land80 img { width: 80%; } .land90 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land90 img { width: 90%; } .land100 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land100 img { width: 100%; } .land100a { margin: 0em; text-align: center; } .land100a img { width: 100%; } .land100i { page-break-before: always; margin: 0em; text-align: center; } .land100i img { width: 100%; } /* Portrait Images - width or without Caption */ .portvh50 { margin: 1em 0 0 0; text-align: center; height: 50%; } .vh50 { height: 100%; } .vh50:only-of-type { height: 50vh; } .portvh60 { margin: 1em 0 0 0; text-align: center; height: 60%; } .vh60 { height: 100%; } .vh60:only-of-type { height: 60vh; } .portvh70 { margin: 1em 0 0 0; text-align: center; height: 70%; } .vh70 { height: 100%; } .vh70:only-of-type { height: 70vh; } .portvh80 { margin: 1em 0 0 0; text-align: center; height: 80%; } .vh80 { height: 100%; } .vh80:only-of-type { height: 80vh; } .portvh90 { margin: 1em 0 0 0; text-align: center; height: 90%; } .vh90 { height: 100%; } .vh90:only-of-type { height: 90vh; } .portvh98 { margin: 1em 0 0 0; text-align: center; height: 98%; } .vh98 { height: 100%; } .vh98:only-of-type { height: 98vh; } .portvh99 { margin: 0em; text-align: center; height: 98%; } .vh99 { height: 100%; } .vh99:only-of-type { height: 98vh; }