/* Add margins around every page to stop ADE's line numbers from being superimposed over content */ @page {margin: 6px;} /*===Reset code to prevent cross-reader strangeness===*/ 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, 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-top: 0; margin-right: 0; margin-left: 0; margin-bottom: 0; padding-top: 0; padding-right: 0; padding-left: 0; padding-bottom: 0; border: 0; font-size: 100%; } table { border-collapse: collapse; border-spacing: 0; } ol, ul, li, dl, dt, dd { margin-top: 0; margin-right: 0; margin-left: 0; margin-bottom: 0; padding-top: 0; padding-right: 0; padding-left: 0; padding-bottom: 0; border: 0; font-size: 100%; } /*===GENERAL PRESENTATION===*/ html, body { margin:0; padding: 0; border-width:0; text-align: left; line-height: 1.2em; height: 100%; } h1 { text-indent: 0px; text-align: center; margin-top: 100px; margin-bottom: 30px; margin-right: 0; margin-left: 0; font-size: 1.6em; font-weight: bold; page-break-before: auto; line-height: 150%; /*gets squished otherwise on ADE */ } h2 { font-family: sans-serif; text-indent: 0px; text-align: center; margin-top: 60px; margin-bottom: 30px; margin-right: 0; margin-left: 0; font-size: 1.4em; font-weight: bold; page-break-before: auto; line-height: 135%; /*get squished otherwise on ADE */ } h3 { font-family: sans-serif; text-indent: 0px; margin-top: 30px; margin-bottom: 30px; margin-right: 0; margin-left: 0; text-align: center; font-size: 1.2em; font-weight: bold; } h4 { text-indent: 0px; text-align: left; margin: 10px 0 0 0; font-style: italic; font-size: 1.2em; font-weight: normal; } h5 { text-indent: 0px; text-align: left; font-size: 1.1em; font-weight: bold; } h6 { text-indent: 0px; text-align: left; font-size: 1.0em; font-weight: bold; } /* Hyphen and pagination Fixer */ h1, h2, h3, h4, h5, h6, .tp-title, .tp-subtitle, .tp-author, .tp-publisher { -webkit-hyphens: none !important; hyphens: none; page-break-after: avoid; page-break-inside: avoid; widows: 2; orphans: 2; } /*first-line indent paragraph*/ p { text-indent: 1.2em; margin: 0; } a { text-decoration: none; color: #002E5C; } b strong { font-weight: bold } i em cite { font-style: italic } blockquote { font-size: 80em; text-align: left } sup, .endnoteref { font-size: 0.8em; text-decoration: none; line-height: 0.8; vertical-align: top; } /*==LISTS==*/ ul { margin: 1em 0 0 2em; text-align: left; } ol { margin: 1em 0 0 2em; text-align: left; } /*==IMAGES==*/ .thanksimage { max-width: 100%; text-align: center; } .image { width: 100%; vertical-align: text-top; margin-top: 1em; margin-bottom: 1em; } /*==TABLES==*/ table { margin: 1.0em auto; } tr, th, td { margin: 0; padding: 2px; border: 1px solid black; font-size: 100%; vertical-align: baseline; } /*==PULL QUOTE==*/ div.pullquote { margin: 2em 2em 0 2em; text-align: left; } div.pullquote p { font-weight: bold; font-style: italic; } div.pullquote hr { width: 100%; margin: 0; height: 3px; color: #2E8DE0; background-color: #2E8DE0; border: 0; } /*==BLOCK QUOTE==*/ div.blockquote { margin: 1em 1.5em 0 1.5em; text-align: left; font-size: 0.9em; } .center {text-align: center; margin-left: 0em; text-indent: 0em } .chapnum { font-weight: normal; color: #888888 } .chaptitle { font-weight: normal; } .otherhead { font-weight: normal; color: #888888 } .cite { font-weight: normal; text-align: right; font-style: italic } .copyright { font-family: sans-serif; font-size: 0.8em; text-align: left; margin-left: 0em; text-indent: 0em; margin-top: 1em; } .dedication { page-break-before: auto; text-align: center; text-indent: 0em } .fp, .firstpara { margin: 0pt; text-indent: 0pt; margin-top: 1.2em; } .endnote { margin-left: 2em; text-indent: -2em; margin-top: 1em; } span.endnotetext { font-weight: normal; } span.endnotenumber { font-weight: bold; } .list { font-style: normal; font-weight: normal; text-align: left; margin-left: 2.4em; text-indent: -1.2em; margin-top: 0.3em } .listhead { font-style: normal; font-weight: bold; text-align: left; margin-left: 1.2em; text-indent: 0pt; margin-top: 1.2em } .booklist { font-style: italic; font-weight: normal; text-align: center; margin-left: 0pt; text-indent: 0pt; margin-top: 0.2em } .booklisthead { font-style: normal; font-weight: bold; text-align: center; margin-left: 0pt; text-indent: 0pt; margin-top: 0.8em } .part { font-family: sans-serif; font-size: x-large; font-style: normal; font-weight: bold; margin-top: 80px; margin-bottom: 20px; text-align: center; page-break-before: auto } .quote { font-style: italic; font-weight: normal; text-align: left; margin-left: 1.2em; margin-right: 0.8em; text-indent: 0pt; margin-top: 1.2em; margin-bottom: 1.2em; } .verse { font-style: italic; font-weight: normal; text-align: left; margin-left: 1.2em; text-indent: 0pt; margin-top: 1.2em; margin-bottom: 1.2em; } .letter { font-style: normal; font-weight: normal; font-size: 0.8em; text-align: left; margin-left: 1.2em; margin-right: 1.2em; text-indent: 0pt; margin-top: 1.2em; margin-bottom: 1.2em; } .indent { font-style: italic; font-weight: normal; text-align: left; margin-left: 1.2em; text-indent: 0pt; margin-top: 1.2em; margin-bottom: 1.2em; } .pullquote { font-family: sans-serif; font-size: 0.8em; font-style: normal; font-weight: normal; margin-top: 100px; text-align: center; page-break-before: auto } .samplerstatement { font-size: 1.2em; font-weight: bold; text-align: center } .separator, .sb { text-align: center; margin-left: 0em; text-indent: 0em; margin-top: 1.2em; } .toc-top { margin-top: 2em; } .toc-chap { font-family: sans-serif; font-size: 1em; margin-left: 3em; text-indent: -1.2em } .toc-othr { font-family: sans-serif; font-size: 1em; margin-left: 3em; text-indent: -1.2em } .toc-part { font-family: sans-serif; font-size: 1em; margin-left: 2em; margin-top: 2em; text-indent: -1.2em } /*Title page - heights should add up to 99% (excluding the div)*/ div.titlepage { height: 100%; margin: 0; padding: 0; border-width: 0; } p.tp-topgap { height: 20%; margin: 0; } p.tp-title { height: 20%; min-height: 2em; margin: 0; font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 1.8em; text-align: center; line-height: 1em; text-indent: 0; } span.tp-subtitle { font-family: sans-serif; font-size: 0.66em; font-weight: normal; text-indent: 0; } p.tp-author { height: 20%; min-height: 2em; margin: 0; font-family: sans-serif; font-size: 1.5em; line-height: 1em; font-weight: bold; text-align: center; text-indent: 0; } span.tp-publisher { height: 20%; min-height: 3.5em; margin: 0; font-family: sans-serif; font-weight: bold; font-size: 1.2em; text-align: center; text-indent: 0; }