@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; } /* Styling is improved to prevent sub from affecting line-height */ sub { font-size: 75%; line-height: 1.2; vertical-align: sub; /* Fallback */ vertical-align: -20%; } /* Styling is improved to prevent sup from affecting line-height */ sup { font-size: 75%; line-height: 1.2; vertical-align: super; /* Fallback */ vertical-align: 33%; } img { width: auto; max-width: 100%; /* Note: KF8 doesn't support max-width hence "width: auto;" as fallback */ height: auto; object-fit: contain; } @font-face { font-family: "Futura-Light"; src: url(../fonts/Futura-Light.ttf); font-style: normal; font-weight: normal; } @font-face { font-family: "Futura-Medium"; src: url(../fonts/Futura-Medium.ttf); font-style: normal; font-weight: bold; } @font-face { font-family: "Futura-Bold"; src: url(../fonts/Futura-Bold.ttf); font-style: normal; font-weight: bold; } @font-face { font-family: "Futura-Heavy"; src: url(../fonts/Futura-Heavy.ttf); font-style: normal; font-weight: bold; } 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; } .h1 { font-family: "Futura-Bold", sans-serif; font-size: 220%; line-height: 1em; margin-top: 2em; margin-bottom: 0.2em; text-align: center; } .subtitle { font-family: "Futura-Light", sans-serif; letter-spacing: 0.07em; line-height: 1.2em; font-size: 140%; margin-top: 0.3em; margin-bottom: 3em; text-align: center; color: #8e8e8e; } .author { font-family: "Futura-Heavy", sans-serif; line-height: 1em; font-size: 100%; margin-top: 0.1em; margin-bottom: 0.1em; text-align: center; } .pub { margin-top: 5em; margin-bottom: 0.3em; text-align: center; } .toc { font-family: "Futura-Medium", sans-serif; line-height: 1em; font-size: 90%; margin-top: 1em; margin-bottom: 0.5em; text-indent: 0em; text-align: center !important; } .h2a { font-family: "Futura-Medium", sans-serif; letter-spacing: 0.1em; font-size: 140%; line-height: 1em; margin-top: 1em; margin-bottom: 1em; font-weight: normal; text-align: center; } .h2c { font-family: "Futura-Medium", sans-serif; letter-spacing: 0.1em; font-size: 140%; line-height: 1em; margin-top: 3.5em; margin-bottom: 1.5em; font-weight: normal; text-align: center; } .h2b { font-family: "Futura-Medium", sans-serif; font-size: 140%; line-height: 1em; letter-spacing: 0.15em; margin-top: 0em; margin-bottom: 1em; text-align: center; background-color: #000000; padding: 0.25em; color: #FFFFFF; border: solid #FFFFFF 0.05em; } .h2d { font-family: "Futura-Medium", sans-serif; font-size: 140%; line-height: 1em; letter-spacing: 0.15em; margin-top: 0em; margin-bottom: 0em; text-align: center; background-color: #000000; padding: 0.25em; color: #FFFFFF; border: solid #FFFFFF 0.05em; } .h2e { font-family: "Futura-Light", sans-serif; font-size: 70%; line-height: 1em; letter-spacing: 0.17em; margin-top: 0em; margin-bottom: 1em; font-weight: normal; text-align: center; background-color: #abacac; padding: 0.25em; border-bottom: solid #FFFFFF 0.1em; border-top: solid #abacac 0.1em; border-right: solid #FFFFFF 0.1em; border-left: solid #FFFFFF 0.1em; } .h2g { font-family: "Futura-Medium", sans-serif; font-size: 70%; line-height: 1em; letter-spacing: 0.15em; margin-top: 0em; margin-bottom: 1em; font-weight: normal; text-align: center; background-color: #E6E7E8; padding: 0.55em; border: solid #E6E7E8 0.1em; } .h2f { font-family: "Futura-Medium", sans-serif; font-size: 140%; line-height: 1em; letter-spacing: 0.15em; margin-top: 0em; margin-bottom: 0em; font-weight: normal; text-align: center; background-color: #D70B8C; padding: 0.2em; color: #FFFFFF; border-top: solid #D70B8C 0.1em; border-right: solid #D70B8C 0.1em; border-left: solid #D70B8C 0.1em; } .h3a { font-family: "Futura-Medium", sans-serif; font-size: 120%; line-height: 1em; letter-spacing: 0.15em; margin-top: 1em; margin-bottom: 1em; font-weight: normal; text-align: center; background-color: #D70B8C; padding: 0.25em; color: #FFFFFF; border: solid #FFFFFF 0.03em; border-top: solid #D70B8C 0.1em; border-bottom: solid #D70B8C 0.1em; } .dropcap { float: left; font-size: 320%; font-weight: bold; margin-top: 0.05em; margin-bottom: 0.1em; margin-right: 0.05em; line-height: 0.9em; } .noindent { margin-top: 0.1em; margin-bottom: 0em; text-indent: 0em; text-align: left; } .indent { margin-top: 0.1em; margin-bottom: 0em; text-indent: 1.2em; text-align: left; } .indentt { margin-top: 1em; margin-bottom: 0em; text-indent: 1.2em; text-align: left; } .ded { margin-top: 0.1em; margin-bottom: 0.5em; margin-left: 1.5em; margin-right: 1.5em; text-align: center; } .copya { font-size: 90%; margin-top: 1em; margin-bottom: 0.1em; text-align: left; } .copy { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-align: left; } .copy1 { font-size: 90%; margin-top: 1em; margin-bottom: 0.1em; text-align: left; } .copy2 { page-break-inside: avoid; font-size: 90%; margin-top: 1em; margin-bottom: 0.1em; padding-top: 0.5em; padding-bottom: 0.5em; text-align: left; border-top: solid #555555 0.1em; border-bottom: solid #555555 0.1em; } .copy3 { font-size: 90%; margin-top: 3em; margin-bottom: 0.1em; text-align: center; } .group { page-break-inside: avoid; } .pagebreak { page-break-after:always; } a { text-decoration: none; } ol { list-style-type:none; margin: 0em; } .hidden { display: none; visibility: hidden; } table { border-collapse: collapse; width: 100%; margin: 0em; } td { padding: 0.1em; } .t1 { font-family: "Futura-Light"; font-size: 90%; width: 100%; margin-top: 1em; margin-bottom: 1em; border: solid #FFFFFF 0.1em; } .tpara { font-size: 90%; margin-top: 0.1em; margin-bottom: 0.1em; text-indent: 0em; text-align: left; padding: 0em 0.2em 0em 0.2em; } .b1 { background-color: #D70B8C; vertical-align: middle; } .b2 { background-color: #abacac; vertical-align: middle; } .b3 { background-color: #eeecec; vertical-align: middle; } /* 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 Float Images */ .ft50 { width: 50%; float: right; padding-left: 0.5em; margin: 0em; } .ft50 img { width: 100%; } .ft30 { width: 30%; float: right; padding-left: 0.5em; margin: 0em; } .ft30 img { width: 100%; } /* For Inline Images */ .in20 { width: 20%; } .in50 { width: 40%; } .in30 { width: 100%; } /* For Landscape Images (width or without caption) */ .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%; } .land30 { margin-top: 1em; margin-bottom: 0.1em; text-align: center; } .land30 img { width: 30%; } /* Portrait Images - width or without Caption */ .portvh98 { margin: 0em; text-align: center; height: 98%; } .vh98 { height: 100%; } .vh98:only-of-type { height: 98vh; } .portvh95 { margin: 0em; text-align: center; height: 95%; } .vh95 { height: 100%; } .vh95:only-of-type { height: 95vh; }