@page { margin-top: 5.0pt; margin-left: 0; margin-right: 0; margin-bottom: 5.0pt; } /* prhStyle.css version 1.8.0 Change log (changes made for Phase 3.2 spec update): added figure and figcaption to the div reset, created new reset for display:block added img.image CSS class with width:100% removed the following figure classes (NOTE: with the removal of these classes, this stylesheet is no backwards compatable) figure_cover, figure_title figure_medium, figure_small, figure_extrasmall, figure_dingbat, figure_dingbat_small, figure_dingbat_large, figure_dingbat_extralarge, figure_heading figure_small_caption, figure_medium_caption, figure_extrasmall_caption figure_border_top figure_border_bottom figure_fullpage_caption figure_fullspread_full, figure_fullspread_left figure_fullpage, figure_fullspread figure_fullspread_right added the following figure classes figure figure_top figure_bottom figure_nomargin added figcaption.figcaption to the div.figcaption declaration added the following static classes for photo/illustration credits p.credit span.credit_number span.credit_number_multi p.credit span.credit_number, p.credit span.credit_number_multi span.credit_text */ /* --------------- reset --------------- */ div, span, blockquote { margin: 0; padding: 0; line-height: inherit; text-indent: 0; } h1 { text-align: center; margin: 1em 0 1em 0; font-weight: normal; line-height: inherit; } h1 { font-size: 1.75em; } i, i, .toc_fm, .toc_bm { font-style: italic; } .superscript { font-size: 0.7em; vertical-align: super; line-height: 0; } img { max-height: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; vertical-align: sub; /* removes descender gap beneath images */ } a { text-decoration: none; color: #0B4085; -webkit-text-fill-color: #0B4085; } hr { border-style: solid; border-width: 1px; border-bottom-width: 0; border-radius: 2px; margin: 1.8em 0 1.8em 0; } body { font-size: 1em; line-height: 1.2; padding: 0; border: 0; font-family: Georgia, Palatino, Baskerville, "Times New Roman", serif } ol, li { margin: 0; padding: 0; border: 0; } /* default padding-left for all lists due to Amazon's automatic margin-left application */ ol { padding-left: 1.75em; } /* --------------- hyphenation suppression --------------- */ /*added 7.7.2015 to prevent iBooks error when auto-hyphenation is turned off.*/ h1 { -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; -epub-hyphens: auto; } /*h1, h2, h3, h4, h5, h6 { -webkit-hyphens: none; -moz-hyphens: none; hyphens: none; adobe-text-layout: optimizeSpeed; } MCS: commented-out 6.4.2015 to prevent headers from running off the screen at large font sizes. */ /* --------------- allow line breaks for long words --------------- */ /* --------------- system font classes --------------- */ /* --------------- core paragraph styles --------------- */ p { text-indent: 0; text-align: justify; margin-top: 0; margin-left: 0; margin-right: 0; margin-bottom: 0.2em; padding: 0; line-height: inherit; } /* --------------- text dingbats --------------- */ /* ---------------- section breaks -------------- */ hr.transition { display: block; border: none; margin: 0; } /* --------------- dynamic box & fixed box --------------- */ /* --------------- create space above paragraph --------------- */ p.spaceabove { margin-top: 1em; } .page_top_padding { margin-top: 10%; } /* --------------- create space to the left of the paragraph --------------- */ /* --------------- page breaks --------------- */ /* --------------- hanging indents --------------- */ /* --------------- block quotes --------------- */ blockquote { margin-top: 1em; margin-bottom: 1em; margin-left: 8%; margin-right: 8%; } /* --------------- non-unicode fractions --------------- */ /* --------------- paragarph lists --------------- */ /* --------------- html lists --------------- */ /* reset for a text-align center list */ /* added to account for the text-indent applied via the p.hanging tag */ /* --------------- images --------------- */ img.image { width: 100%; } .figure1 { text-align: center; margin-top: 2em; margin-bottom: 1em; page-break-inside: avoid; } .figure2 { text-align: center; margin-top: 0; margin-bottom: 6.52em; page-break-inside: avoid; } .figure_nomargin { text-align: center; page-break-inside: avoid; } /* --------------- squeeze classes --------------- */ .squeeze { max-width: 100%; text-indent: 0; } /* --------------- dropcaps --------------- */ /* For use with 1.2 paragraph line height */ /* For use with 1.4 paragraph line height */ /* dedicated system font cascades for dropcaps */ /* --------------- stickupcaps --------------- */ /* --------------- smallcaps --------------- */ span.smallcaps { font-size: 0.85em; } /* --------------- character styles --------------- */ .roman { font-style: normal; } /* --------------- default toc styles --------------- */ div.toc_fm, div.toc_bm { margin: 1.2em 0 1.2em 0; } div.toc_part { margin: 1.2em 0 1.2em 3%; } div.toc_chap { margin-left: 3%; } p.toc_chap, p.toc_part, p.toc_fm, p.toc_bm { text-align: left; text-indent: -6%; margin-left: 6%; margin-bottom: 0.25em; } p.toc_part { font-size: 1.2em; line-height: 1.2; } p.toc_fm, p.toc_bm { font-size: 0.9em; } /* --------------- indexes --------------- */ /* --------------- footnotes --------------- */ /* --------------- poetry --------------- */ /* --------------- default textbox styles --------------- */ /* --------------- list-like photo/illustration credit styles --------------- */ /* multiple credit numbers in a row */ /* --------------- override classes --------------- */ /* * These classes can be combined with * other classes to override particular * properties. As a result, they should * appear near the end of this file. */ div.no_break { page-break-before: auto; } /* --------------- kf8 overrides --------------- */ @media amzn-kf8 { p.dropcaps2line::first-letter, p.twolinedropcap::first-letter { font-size: 320%; float: left; margin-top: -0.3225em; margin-bottom: -0.3245em; } p.dropcaps3line::first-letter, p.threelinedropcap::first-letter { font-size: 480%; float: left; margin-top: -0.3225em; margin-bottom: -0.3245em; } } /* --------------- mobi overrides --------------- */ @media amzn-mobi { h1.chapter { font-size: x-large; } h1.subchapter { font-size: large; } blockquote { margin: 2em auto 2em auto; } /* indexes */ p.primary { margin-left: auto; text-indent: -5%; } p.secondary { margin-left: auto; text-indent: -10%; } p.tertiary { margin-left: auto; text-indent: -15%; } p.quaternary { margin-left: 0; text-indent: -20%; } span.indexoffset { display: inline; } /* poetry */ p.poetry0 { margin-left: auto; text-indent: -5%; } p.poetry1 { margin-left: auto; text-indent: -10%; } p.poetry2 { margin-left: auto; text-indent: -15%; } p.poetry3 { margin-left: 0; text-indent: -20%; } p.poetry4 { margin-left: 0; text-indent: -25%; } p.poetry5 { margin-left: 0; text-indent: -30%; } p.poetry6 { margin-left: 0; text-indent: -35%; } span.poetryoffset { display: inline; } /* hanging indents */ p.hanging0 { padding: 0; margin: auto; text-indent: -1em; } p.hanging1 { padding: 0; margin: auto; text-indent: -2em; } p.hanging2 { padding: 0; margin: auto; text-indent: -3em; } p.hanging4 { padding: 0; margin: auto; text-indent: -5em; } p.hanging5 { padding: 0; margin: auto; text-indent: -6em; } p.hanging6 { padding: 0; margin: auto; text-indent: -7em; } /* lists */ p.list0 { margin: auto; text-indent: -2em; } p.list1 { margin: auto; text-indent: -2em; } p.list2 { margin: auto; text-indent: -2em; } p.list3 { margin: auto; text-indent: -2em; } /* images */ .squeeze { width: auto; } /*.squeeze-epub {display:none;}*/ /*.squeeze-amzn {display:inline;}*/ .mobihide { display: none; } p.figcopyright { text-align: center; } }