/* Namespace declarations */ @namespace epub "http://www.idpf.org/2007/ops"; /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ 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, strike, strong, sub, sup, tt, var, small, 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 { border: 0; font-size: 100%; font: inherit; margin: 0; outline: 0; padding: 0; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { /* put in Georgia and Baskerville to target Nook HD */ font-family: "Times New Roman", Georgia, Baskerville, Times, "Palatino Linotype", "Book Antiqua", Palatino, serif; /* font-size and line-height not declared per Amazon and Apple guidelines */ background-color: transparent; hyphens: none; -webkit-hyphens: none; -moz-hyphens:none; adobe-hyphenate: none; /* margins in pixels to support Nook per Nook Press Epub Guidance: http://cp-barnesandnoble.kb.net/kb/article?ArticleId=4476&source=Article&c=12&cid=28 */ margin: 30px 30px 20px 30px; text-indent: 0; } ol, ul { list-style-type: none; margin-top: 10px; margin-bottom: 10px; } blockquote { margin: 24px 24px 24px 24px; page-break-inside: avoid; quotes: none; } blockquote.abstract { quotes: none; border-top-color: #cdcdcd; border-top-style: dotted; padding-top: 0.5em; border-top-width: 2px; border-bottom-color: #cdcdcd; border-bottom-style: dotted; padding-bottom: 0.5em; border-bottom-width: 2px; } q { quotes: "“" "”" "‘" "’"; } q:before { content: open-quote; } q:after { content: close-quote; } table { display: table; border-collapse: collapse; } /* END CSS Reset */ /* Blockquote Styles */ blockquote.quote { } p.quoteparafirst { text-indent: 0; } p.quotepara { } p.quotesource { text-align: right; text-indent: 0; } blockquote.quote-epigraph { } p.quote-epigraphparafirst { text-indent: 0; } p.quote-epigraphpara { } p.quote-epigraphsource { text-align: right; text-indent: 0; } /* END Blockquote Styles */ /* Paragraph Styles */ p { /* text-align: justify; Amazon publishing guidelines state that body text "MUST NOT have a forced alignment" p. 11, Sect 3.1.1, V2013.3 */ /* Amazon publishing guidelines state: "Body text must use the default font size and line height. Body text should _not_ use the tag or the font-size and line-height attributes in CSS." p. 11, Sect 3.1.1, V2013.3 */ padding: 0; line-height: inherit; text-align: justify; text-indent: 24px; background-color: inherit; outline: 0; } p.paraaftertitle { text-indent: 0; } .feature1 p, .feature2 p, .feature3 p, .feature4 p { text-align: justify; background-color: inherit; } .feature1 aside, .feature2 aside, .feature3 aside, .feature4 aside { text-align: left; background-color: inherit; } p.seriestitle { padding-top: 1.2em; padding-bottom: 1.2em; font-size: 1.5em; line-height: 1.7em; text-indent: 0; page-break-after: avoid; } p.serieseditor { margin-top: 0; margin-bottom: 0; margin-left: 1.5em; padding-bottom: 1em; color: #343434; } p.seriesentry { margin-bottom: 0.5em; text-indent: 0; } /* END Paragraph Styles */ /* Lists */ /* Selector must be "body ol" in order to support Nook HD */ body ol { /* Margin-left must be set to inherit from body in order to support Nook HD */ margin-left: inherit; /* Padding must be set in relative units to work in Kobo for iPad */ padding-left: 1.5em; text-align: left; list-style-type: decimal; } body blockquote ol, body blockquote ul, body .epigraph ol, body .epigraph ol, body .extract ol, body .extract ul { margin-left: 0; } ol ol { list-style-type: lower-alpha; } ol ol ol { list-style-type: lower-roman; } aside ol, ul { margin-left: inherit; padding-left: 1.5em; text-indent: 0; } .biblioEntryList { margin-left: 0; padding-left: 0; list-style: none; } .bibliographyEntry, .noteEntry { margin-top: 0.75em; margin-left: inherit; } .noteEntry { margin-left: 1.25em; text-indent: -1.25em; } /* Selector must be "body ul" in order to suppport Nook HD */ body ul { /* Margin-left must be set to inherit from body in order to support Nook HD */ margin-left: inherit; /* Padding must be set in relative units to work in Kobo for iPad */ padding-left: 1.5em; text-align: left; list-style-type: disc; } li { margin-top: 0.5em; } .list { padding-left: inherit; } .sub { padding-left: inherit; } /* Selectors must be descendants of body in order to support Nook HD */ body .item1, body .item2, body .item3, body .listPara1, body .listPara2, body .listPara3, body .item4, body .listPara4, body .itemN, body .listParaN { /* Margin-left and padding must be set to inherit from body in order to support Nook HD */ margin-top: .5em; margin-left: inherit; padding: inherit; text-align: left; text-indent: 0; list-style-type: none; } .decimal { list-style-type: decimal; margin-left: inherit; } .lower-alpha { list-style-type: lower-alpha; } .upper-alpha { list-style-type: upper-alpha; } .lower-roman { list-style-type: lower-roman; } .upper-roman { list-style-type: upper-roman; } .lower-latin { list-style-type: lower-latin; } .upper-latin { list-style-type: upper-latin; } .none { list-style-type: none; } .decimal-leading-zero { list-style-type: decimal-leading-zero; } .lower-greek { list-style-type: lower-greek; } .armenian { list-style-type:armenian; } .georgian { list-style-type:georgian; } .disc { list-style-type:disc; } .circle { list-style-type:circle; } .square { list-style-type:square; } .optionList { margin: 1em 0; } /* END Lists */ /* Questions and Answers */ .match1 { list-style-type: decimal; } .choices ol, .match2 { list-style-type: lower-alpha; } .wol::after { content: "__________"; } p.question { margin-top: 10px; margin-left: 40px; text-indent: -40px; } p.answer { margin-top: 6px; margin-left: 40px; text-indent: 0px; } /* END Questions and Answers */ /* Features */ .feature1, .feature2, .feature3, .feature4 { width: 95%; margin: 2px auto; padding: 8px; text-align: center; border-radius: 8px; page-break-inside: avoid; } .feature1 { background-color: #DDDDDD; border: 1px solid #000000; } .feature2 { background-color: #EEEEEE; border: 2px solid #AAAAAA; } .feature3 { border: 1px solid #000000; } .feature4 { border: 1px dashed; } section[class="feature1"] h1, section[class="feature2"] h2, section[class="feature3"] h3, section[class="feature4"] h4 { margin: 0; padding: 0.5em 0; text-align: left; text-indent: 0; } section[class="feature1"] h1 { font-size: 1.5em; } section[class="feature2"] h2 { font-size: 1.3em; } section[class="feature3"] h3 { font-size: 1.1em; } section[class="feature4"] h4 { font-size: 1em; } /* END Features */ /* Rules */ .hr { display: none; } .top, .bottom { display: none; } .dottedTop { display: none; margin-top: 2.5em; margin-right: auto; margin-bottom: 0; margin-left: auto; font-size: 0.9em; text-align: center; text-decoration: overline; page-break-after: avoid; } .dottedBottom { margin: 0 auto; font-size: 0.9em; text-align: center; text-decoration: underline; page-break-before: avoid; } /* END Rules */ /* Code */ pre { margin: 1em 0; padding: 0; font-family: monospace; font-size: inherit; text-align: left; text-indent: 0; white-space: pre-wrap; hyphens: none; -webkit-hyphens: none; -moz-hyphens: none; adobe-hyphenate: none; } .codeTitle { margin-left: 0; } .codeHead { font-size: inherit; } .codeNote { margin: 0.5em 0; padding: 0.25em 0; font-size: 0.9em; text-align: right; text-decoration: underline; border-top: thin solid #AAAAAA; border-bottom: thin solid #AAAAAA; } /* END Code */ /* Generic Inline Formatting Use strong or em to specify bold and italic. Use of b, i, or span classes is discouraged in semantic HTML. It is acceptable to use b or i in cases where markup is just differentiating text rather than implying semantic emphasis. It is considered acceptable to next strong and em to apply bold italic font style and weight. */ a { font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; color: blue; } .indexTerm { font-weight: inherit; text-decoration: none; color: inherit; } .normal { font-family: inherit; font-size: inherit; font-style: normal; font-variant: inherit; font-weight: normal; } b, strong { font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: bold; text-decoration: inherit; } cite, em, i { font-family: inherit; font-size: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; text-decoration: inherit; } .boldItalic { font-family: inherit; font-size: inherit; font-style: italic; font-variant: inherit; font-weight: bold; text-decoration: inherit; } sup { font-family: inherit; font-size: 0.7em; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 0.5em; vertical-align: super; } sub { font-family: inherit; font-size: 0.7em; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 0.5em; vertical-align: sub; } s {/*不赞成使用。定义加删除线的文本*/ font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; text-decoration: line-through; } u {/*HTML5 规范建议开发者尽量使用其他元素替代此元素*/ font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; text-decoration: underline; } span.smallcaps { font-family: inherit; font-size: inherit; font-style: inherit; font-variant: small-caps; font-weight: inherit; text-decoration: inherit; } span.underline { font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; text-decoration: underline; } .copyrightBookTitle, .runinHead { display: inline; font-weight: bold; } /* END Generic Inline Formatting */ /* Local Character Formatting */ code, .codeHighlight, .codeLabel, .codeVariable, .userinputVariable { font-family: monospace; font-size: inherit; } .codeHighlight { text-decoration: underline; background-color: #EEEEEE; } .email { margin: 0; font-size: inherit; } .genusSpecies, .glossTerm, .keyTerm, .userinput { font-size: inherit; font-weight: bold; } var { font-style: italic; } .codeVariable, .userinputVariable { font-style: normal; } /* Generic Alignment and Breaking: apply as class when necessary */ .left { margin: 0; text-align: left; } .center { display: block; margin-left: auto; margin-right: auto; text-align: center; text-indent: 0; } .right { margin: 0; text-align: right; } .textbreak { margin: 0.625em auto; text-align: center; } /* END Generic Alignment and Breaking */ /* Colors: apply as classes on tags -- redefine to suit rgb colors os specific titles */ .red { color: #FF0000; /*color: rgb(255,0,0);*/ background-color: inherit; } .blue { color: #000FFF; /*color: rgb(0,15,255);*/ background-color: inherit; } .green { color: #228B22; /*color: rgb(34,139,34);*/ background-color: inherit; } .yellow { color: #FFF000; /*color: rgb(255,240,0);*/ background-color: inherit; } /* END Colors */ /* Code Colors */ .codeColorBlue { color: #0000FF; background-color: inherit; } .codeColorBlue2 { color: #0000A5; background-color: inherit; } .codeColorBlue3 { color: #6464B9; background-color: inherit; } .codeColorBlueGreen { color: #2B91AF; background-color: inherit; } .codeColorBrown { color: #573733; background-color: inherit; } .codeColorDkBlue { color: #000080; background-color: inherit; } .codeColorGreen { color: #008000; background-color: inherit; } .codeColorGreen2 { color: #629755; background-color: inherit; } .codeColorGrey30 { color: #808080; background-color: inherit; } .codeColorGrey55 { color: #C0C0C0; background-color: inherit; } .codeColorGrey80 { color: #555555; background-color: inherit; } .codeColorHotPink { color: #DF36FA; background-color: inherit; } .codeColorMagenta { color: #844646; background-color: inherit; } .codeColorOrange { color: #B96464; background-color: inherit; } .codeColorPeach { color: #CE8F53; background-color: inherit; } .codeColorPurple { color: #951795; background-color: inherit; } .codeColorPurple2 { color: #800080; background-color: inherit; } .codeColorRed { color: #FF0000; background-color: inherit; } .codeColorRed2 { color: #800000; background-color: inherit; } .codeColorRed3 { color: #A31515; background-color: inherit; } .codeColorTealBlue { color: #008080; background-color: inherit; } .codeColorWhite { color: #FFFFFF; background-color: inherit; } /* END Code Colors */ /* Front Matter Styles */ .bookTitle { margin: 2.25em 0 0.3125em 0; font-family: sans-serif; font-size: 2em; font-weight: bold; text-align: left; text-indent: 0; page-break-after: avoid; } .bookSubTitle { margin: 1.5em 0 0.3125em 0; font-family: sans-serif; font-size: 1.5em; font-weight: bold; text-align: left; text-indent: 0; page-break-after: avoid; } .associateBookEditor, .bookAuthor, .bookEdition, .bookEditor, .bookVolumeNumber, .colophon, .forewordAuthor { margin: 1.25em 0 0 0; text-align: left; text-indent: 0; } .bookTranslator { margin: 1.25em 0 0 0; text-align: left; text-indent: 0; } .affiliation, .authorName, .titlepage .editorName, .forewordAuthorName { margin: 0; text-align: left; text-indent: 0; } .contributorName, .editorName, .organizationName { display: inline; font-weight: bold; } .publisherImprint, .publisherCities { margin: 0.5em auto; font-size: 0.75em; text-align: left; text-indent: 0; } .imprintGroup{ margin: 15em auto; } .copyright { margin: 0.5em 0 0.375em 0; font-size: 0.9em; text-indent: 0; } section[class="copyright"] p { text-indent: 0; } .credits { text-align: left; } .creditsTitle { /*amend titles in credits for this style*/ margin-top: 1.25em; text-align: left; } li.contentsAbstract { font-size: 0.9em; text-align: left; text-decoration: none; color: black; list-style-type: none; } .contentsH1 { margin-left: 0; text-align: left; list-style-type: none; } .contentsH2 { /* The presence of the following creates linebreaks after bullets on the Kindle DX: margin-left: .5em; padding-left: .5em; */ text-align: left; list-style-type: none; } .contentsH3 { /* The presence of the following creates linebreaks after bullets on the Kindle DX: margin-left: 1em; */ text-align: left; list-style-type: none; } li[class*="contentsH"] { margin-left: 24px; text-indent: -24px; } li[class*="contentsH"] ol li[class*="contentsH"] { margin-left: -24px; text-indent: -24px; } .tocList ol { list-style: none; } .tocList li { list-style: none; margin-top: 0.3125em; } .signatureLine { margin-top: 1.5em; margin-bottom: 0.75em; margin-left: 1.5em; text-align: left; text-indent: 0; color: #343434; } /* END Front Matter Styles */ /* Chapter Specific Frontmatter */ .chapterAuthor, .chapterAuthorAffiliation, .chapterCredit { margin-top: 0; margin-bottom: 0; margin-left: 1.5em; color: #343434; } /* END Chapter Specific Frontmatter */ /* General HTML5 Headings */ section { margin: 1em auto; } header { margin-top: 1em; margin-bottom: 2em; } h1 { margin: 1em 0 0.2em 0; padding: 0; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 1.7em; font-weight: bold; text-align: center; text-indent: 0; text-transform: uppercase; } h2 { margin: 1em 0 1em 0; padding: 0; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 1.2em; font-weight: bold; text-align: center; text-indent: 0; } h3 { margin: 1em 0 0.5em 0; padding: 0; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 1.2em; font-weight: bold; text-align: left; text-indent: 0; } h4 { margin: 1em 0 0.5em 0; padding: 0; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 1em; font-style: italic; font-weight: bold; text-align: left; text-indent: 0; } h5 { margin: 1em 0 0 0; padding: 0; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 1em; font-style: italic; text-align: left; text-indent: 0; } h6 { margin: 1em 0 0 0; padding: 0; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 1em; text-align: left; text-indent: 0; } h1, h2, h3, h4, h5, h6 { page-break-after: avoid; page-break-inside: avoid; hyphens: none; -webkit-hyphens: none; -moz-hyphens: none; adobe-hyphenate: none; } h1 span, h2 span, h3 span, h4 span { font: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; } .listHead, .navListHead { font-family: sans-serif; text-align: left; page-break-after: avoid; page-break-inside: avoid; hyphens: none; -webkit-hyphens: none; -moz-hyphens: none; adobe-hyphenate: none; } /* END HTML5 Headings */ /* Figures & Graphics */ figure, .informalFigure { margin: 2em 0 2em 0; text-align: center; text-indent: 0; page-break-inside: avoid; } img { /* JLK@Aptara 10012013: This is doing funky things to graphics in ADE, Kobo, other RS's height: auto; */ max-height: 100%; max-width: 100%; margin: 0 auto; padding: 0; } figcaption { margin: 0.6875em 0 0.125em 0; text-align: left; text-indent: 0; color: #343434; page-break-after: avoid; page-break-inside: avoid; } figcaption p { font-size: 0.8em; text-align: center; text-indent: 0; } .source { margin-top: 0.25em; margin-left: 1.5em; font-size: 0.9em; text-align: left; text-indent: 0; color: inherit; } .figureLabel { color: inherit; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: inherit; font-weight: bold; } .publisherWordMark { display: inline-block; top: 2em; bottom: 1em; clear: both; } .marginIcon { margin-bottom: 0.5em; } .pagebreak { page-break-after: always; } .floatLeft { float: left; bottom: 1em; } .floatRight { float: right; bottom: 1em; } /* END Figures & Graphics */ /* Tables */ /* NOTE: Do NOT use a tableentry
inside to create a footnote, as this approach will add extra space inside the table cell. Use
AFTER the tag. */ /* NOTE: including
's in your table cells will result in extra spacing and bad rendering; all
's in