@font-face { font-family:'Bebas Neue'; font-style: normal; font-weight: normal; src : url('../Fonts/BebasNeue.otf'); } @font-face { font-family:'Myriad Pro'; font-style: normal; font-weight: normal; src : url('../Fonts/myriadpro-light.otf'); } @page { margin: 10px; } body { font-family: 'Adobe Garamond Pro', Garamond, serif; widows:2; orphans:2; text-align: left; } /*heading styles*/ h1, h2 { page-break-after: avoid; page-break-inside: avoid; text-indent: 0; hyphens: none; -moz-hyphens: none; -webkit-hyphens: none; font-style: normal; font-weight: normal; text-align: left !important; } h1 { font-family:'Myriad Pro', sans-serif; font-size: 1.1em; margin: 5em 0 0 0; padding: 0; } h2{ font-family:'Bebas Neue', sans-serif; font-size: 1.8em; margin: 0.15em 0 2.5em 0; padding: 0; line-height: 1em; } .initial{ margin: 3.3em 0 2.5em 0; } .subtitle{ font-family:'Myriad Pro', sans-serif; font-size: 0.8em; } /*start body styles*/ p { line-height: 1.4em; text-indent: 1em; padding: 0; margin: 0; hyphenate-limit-lines: 3; hyphenate-limit-chars: 6 3 3; hyphenate-limit-last: always !important; -webkit-hyphenate-limit-lines: 3; -webkit-hyphenate-limit-chars: 6 3 3; -webkit-hyphenate-limit-last: always !important; -ms-hyphenate-limit-lines: 3; -ms-hyphenate-limit-chars: 6 3 3; -ms-hyphenate-limit-last: always !important; } .noindent{ text-indent: 0; } .sp{ margin-top: 1.4em; } .firstline{ text-indent: 0; } .firstline::first-letter{ font-family:'Bebas Neue', sans-serif; float: left; font-size: 3.11em; line-height: 1em; margin: 0 0.12em -0.26em 0; } .m{ display: inline-block; } .m::first-letter{ margin-left: -.34em; } .r{ display: inline-block; } .r::first-letter{ margin-left: -1.7em; } blockquote{ margin: 1.4em 2em; } .quote{ text-indent: 0; } .quote_src{ text-indent: 0; margin: 0.7em 0 1.4em 1.4em; } /*smiley*/ span.emoticon{ display: inline; width: 1em; } img.smiley{ width: 1em; height: auto; } /*links*/ a { color: inherit; } /*footnotes*/ .footnotes{ margin: 1em 0 0 0; } hr{ width: 20%; margin: 0 80% 0 0; } .footnote{ text-indent: 0; font-size: 0.9em; margin: 0.5em 0 0 0; } a.footnote_ref{ font-size: 0.8em; text-decoration: none !important; color: #ca491f; } a.footnote_link{ text-decoration: none !important; color: #ca491f; margin: 0 0.2em 0 0; } /*images*/ div.img{ page-break-before: auto; page-break-inside: avoid; width: 100%; margin: 1em 0; } img.im{ display: inline-block; page-break-inside: avoid !important; width: 100%; } img.im_left{ float: left; width: 45%; margin: 0 0.5em 0 0; } .caption{ font-family:'Myriad Pro', sans-serif; font-size: 0.85em; text-indent: 0; } .credit{ font-size: 0.75em; } .clear{ clear: both; } /*frontmatter*/ /*cover*/ body.fullpage { margin: 0; padding: 0; } div.fullimg { display: block; text-align: center; height: 95%; font-family: sans-serif; font-size: 3em; } img.coverimage { height: 95%; } img.coverimage:only-of-type { /*overrides the previous setting, but only in newer systems that support CSS3 */ height: 95vh; } /*reviews*/ /*copyright*/ .copyright{ font-family:'Myriad Pro', sans-serif; text-indent: 0; font-size: 0.65em; padding: 0; margin: 1em 0 0 0; line-height: 1.5em; } .in1{ margin: 0 0 0 1em; } .pad{ display: inline-block; margin-left: 1em; } .in{ margin: 0 0 0 20.34em; } /*dedication*/ .dedication{ font-family:'Myriad Pro', sans-serif; text-align: center; text-indent: 0; padding: 0; margin: 20% 20% 0 20%; } /*toc*/ ol.contents{ margin: 2em 0 0 10%; padding: 0; list-style-type: none !important; } li.toc{ font-family:'Bebas Neue', sans-serif; text-indent: 0; margin: 0.6em 0 0 0; padding: 0; font-size: 0.9em; } .num{ font-family:'Myriad Pro', sans-serif; margin: 0 0.5em 0 0; } li.toc a{ text-decoration: none !important; } #landmarks{ display: none; } /*backmatter*/ /*author page*/ .author{ width: 50%; margin: 0 25% 0 25%; text-align: center; } @media amzn-kf8{ .firstline::first-letter{ margin: -0.1em 0.12em -0.5em 0; } }