/* Since, at the time of this writing, Macmillan's Word > ePub conversion tool can't yet convert all styles to semantically appropriate elements, the CSS here targets almost every existing style by name. Styles with shared attributes are grouped together as much as possible (e.g. styles that are meant to resolve to specific heading levels, "space before" and "space after" styles, etc), and are otherwise grouped by the categories defined in the Word template. Please note that the Lists section probably has the greatest potential for confusion, and it may need to be updated as the conversion tool is updated. See the comments at the top of that section for more information. -------------------------------------------------- RESET -------------------------------------------------- http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ @font-face { font-family: "noto"; src: url(../Fonts/font00120.ttf); } 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; border: 0; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1em; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /* -------------------------------------------------- BASE STYLES -------------------------------------------------- */ body { font-size: 1rem; line-height: 1.2em; margin-top: 1em; margin-left: 1em; margin-right: 2em; font-family: Georgia,"Times New Roman",Times,serif,"noto",arial,Verdana,sans-serif; } p+p { text-indent: 1.5em; } /*p+p, p.Body-TextTx { text-indent: 1.5em; }*/ blockquote { margin: 1em 1.5em; font-style: italic; } aside, .box { padding: 1.5em; border: 2px solid #ccc; margin: 1em 0; } .box { background: #eee; } img { } em { font-size: inherit; font-style: italic; } strong { font-size: inherit; font-weight: bold; } span, a { font-size: inherit; } /* -------------------------- NO INDENT -------------------------- */ h1+p, .A-HeadAhead+p, h2+p, .B-HeadBhead+p, h3+p, .C-HeadChead+p, h4+p, .D-HeadDhead+p, h5+p, h6+p, p.Author1Au1 + p.Body-TextTx, p.SubtitleSttl + p.Body-TextTx, pre.computer p:first-child, p.Design-NoteDn + p, div.appendix.abouttheauthor p.Body-TextTx:first-of-type, aside p:first-child, p.TitleTtl + p.Body-TextTx, p.Main-HeadMHead + p, pre.verse p.Verse1Vrs1:first-of-type, blockquote p:first-child, blockquote[data-type=letter] p.SalutationSal + p.Body-TextTx, p.Blank-Space-BreakBsbrk + p, p.Blank-Space-Break2Bsbrk2 + p, p.Ornamental-Space-BreakOsbrk + p, p.Ornamental-Space-Break2Osbrk2 + p, aside > p.HeadnoteHdnt, p.Body-Text-ContinuedTxc, p.Body-Text2-ContinuedTx2c, .NoIndent { text-indent: 0; } /* -------------------------------------------------- INLINE ELEMENTS -------------------------------------------------- */ a { text-decoration: none; } em, .smallcaps-italsci, .spanaltfont1span1, .spanaltfont2span2 { font-style: italic; } strong, .smallcaps-boldscb { font-weight: bold; } .smallcapssc, .smallcaps-italsci, .smallcaps-boldscb { font-size: .75em; text-transform: uppercase; letter-spacing: .08em; } .underlineu { text-decoration: underline; } sup, .supersup { vertical-align: super; font-size: smaller; } sub, .subsub { vertical-align: sub; font-size: smaller; } .spanstrikethroughcharactersstr { text-decoration: line-through; } .chapopener { text-transform: uppercase; } .cs-computerccom { font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif; } /* -------------------------------------------------- HEADINGS -------------------------------------------------- COMBINATIONS -------------------------- */ h1+h2, h1+h3, h1+h4, h1+h5, h1+h6, h2+h3, h2+h4, h2+h5, h2+h6, h3+h4, h3+h5, h3+h6, h4+h5, h4+h6, h5+h6, .A-HeadAhead+.B-HeadBhead, .A-HeadAhead+.C-HeadChead, .B-HeadBhead+.C-HeadChead, .B-HeadBhead+.A-HeadAhead, .C-HeadChead+.A-HeadAhead, .C-HeadChead+.B-HeadBhead, .A-HeadAhead+p.TitleTtl, .B-HeadBhead+p.TitleTtl, .C-HeadChead+p.TitleTtl, .A-HeadAhead+p.Main-HeadMHead, .B-HeadBhead+p.Main-HeadMHead, .C-HeadChead+p.Main-HeadMHead, p.TitleTtl+p.Main-HeadMHead, p.Main-HeadMHead+p.TitleTtl aside div.sidebar p.TitleTtl:first-child, aside div.sidebar p.Main-HeadMHead:first-child, aside div.sidebar p.A-HeadAhead:first-child { margin-top: 0; } /* -------------------------- H1 -------------------------- */ h1, .A-HeadAhead, .TitleTtl, .Main-HeadMHead { text-indent: 0; font-size: 1.5em; line-height: 1.25em; margin: .66666666666667em 0; } h1.NumberNum { font-size: 0.8em; text-align: center; text-transform: uppercase; letter-spacing: .2em; padding: .5em; margin-top: 0; } p.NumberNum { color: #999; margin-top: 1em; margin-bottom: 0; } h1.A-HeadAhead, h1.TitleTtl, h1.Main-HeadMHead { text-align: center; } section[data-type="introduction"] div.preface > h1.TitleTtl, section[data-type="introduction"] div.preface > h1.A-HeadAhead, section[data-type="introduction"] div.preface > h1.Main-HeadMHead, div[data-type="part"] > h1.A-HeadAhead, div[data-type="part"] > h1.TitleTtl, div[data-type="part"] > h1.Main-HeadMHead, div.chapter > h1.A-HeadAhead, div.chapter > h1.TitleTtl, div.chapter > h1.Main-HeadMHead { margin-bottom: 3.00em; } /* -------------------------- H2 -------------------------- */ h2, .B-HeadBhead, div.appendix .A-HeadAhead { text-indent: 0; text-transform: uppercase; letter-spacing: .075em; font-weight: bold; margin: 1em 0 0 0; } div.appendix .A-HeadAhead { font-size: 1em; } div[data-type="part"] > p.SubtitleSttl, div.chapter > p.SubtitleSttl { text-indent: 0; text-transform: uppercase; letter-spacing: .075em; font-weight: bold; margin: 1em 0 0 0; } div[data-type="part"] > p.SubtitleSttl, div.chapter > p.SubtitleSttl, div.preface > p.SubtitleSttl { text-align: center; margin-bottom: 1em; } div.chapter > p.SubtitleSttl:after, div.preface > p.SubtitleSttl:after { text-align: center; margin-bottom: 1.00em; } /* -------------------------- H3 -------------------------- */ h3, .C-HeadChead { text-indent: 0; font-weight: bold; margin: 1em 0 0 0; } /* -------------------------- H4 -------------------------- */ h4, .D-HeadDhead { text-indent: 0; text-transform: uppercase; letter-spacing: .075em; margin: 1em 0 0 0; } /* -------------------------- H5 -------------------------- */ h5, aside p.TitleTtl, aside p.Main-HeadMHead, aside .A-HeadAhead, div.verse .TitleTtl, blockquote p.TitleTtl, blockquote p.Main-HeadMHead { text-indent: 0; font-style: italic; margin: 1em 0 0 0; } aside p.TitleTtl, aside p.Main-HeadMHead, aside .A-HeadAhead, div.verse .TitleTtl, blockquote p.TitleTtl, blockquote p.Main-HeadMHead { font-size: 1em; background: #ccc; } aside p.TitleTtl:first-child, aside p.Main-HeadMHead:first-child, aside .A-HeadAhead:first-child { margin-top: 0; } /* -------------------------- H6 -------------------------- */ h6 { text-indent: 0; font-size: .75em; text-transform: uppercase; letter-spacing: .1em; margin: 1em 0 0 0; } aside p.SubtitleSttl, div.verse pre.SubtitleSttl, blockquote p.SubtitleSttl, .List-HeadLhead, p.HeadnoteHdnt { text-indent: 0; font-size: .75em; text-transform: uppercase; letter-spacing: .1em; margin: 1em 0 0 0; } aside p.SubtitleSttl, div.verse pre.SubtitleSttl, blockquote p.SubtitleSttl, p.HeadnoteHdnt { border-bottom: 2px solid #ccc; margin-bottom: 1em; } /* -------------------------------------------------- FRONT SALES -------------------------------------------------- */ *[class^="FrontSalesQuote"], *[class^="FrontSalesQuoteNoIndent"] { font-style: italic; } /* -------------------------------------------------- AD CARD -------------------------------------------------- */ section.adcard li { list-style-type: none; margin-left: 0; } section.adcard li p { margin-top: 0; } section.adcard ol, section.adcard li, section.adcard p { text-indent: 0; text-align: center; } /* -------------------------------------------------- TITLE PAGE -------------------------------------------------- */ section[data-type="titlepage"] p { text-indent: 0; text-align: center; margin: 1em 0; } section[data-type="titlepage"] { text-align: center; } section[data-type="titlepage"] img { text-align: center; width: auto; } /* -------------------------------------------------- COPYRIGHT PAGE -------------------------------------------------- */ section[data-type="copyright-page"] p { font-size: .75em; text-indent: 0; } section[data-type="copyright-page"] p.SeparatorSep { margin: 0; } /* -------------------------------------------------- DEDICATION PAGE -------------------------------------------------- */ div.dedication p { text-indent: 0; text-align: center; margin-left: 1.5em; margin-right: 1.5em; font-style: italic; } .Dedicationded { font-style: italic; } .DedicationAuthordedau { margin-top: 1em; } section[data-type="dedication"] blockquote[data-type="epigraph"] { page-break-before: always; margin-top: 2em; } .Dedicationded + p[class*="Epigraph"], .DedicationAuthordedau + p[class*="Epigraph"] { page-break-before: always; margin-top: 2em; } /* -------------------------------------------------- EPIGRAPH PAGE (AND OTHER EPIGRAPHS) -------------------------------------------------- */ blockquote[data-type="epigraph"] { margin: 2em 1.5em; } p.Epigraph-VerseEpiv, p.Epigraph-Non-VerseEpi { font-style: italic; } p.Epigraph-SourceEpisrc, .SourceSrc { text-align: right; text-indent: 0; font-style: normal; font-size: .75em; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1em; } /* -------------------------------------------------- CONTENTS PAGE -------------------------------------------------- */ nav[data-type="toc"] li { list-style: none; text-indent: 0; /* text-align: center; */ margin-left: 0; } nav[data-type="toc"] li p { text-indent: 0; } nav[data-type="toc"] li[data-type="titlepage"], nav[data-type="toc"] li[data-type="dedication"], nav[data-type="toc"] li[data-type="preface"], nav[data-type="toc"] li[data-type="acknowledgments"], nav[data-type="toc"] li[data-type="foreword"], nav[data-type="toc"] li[data-type="introduction"], nav[data-type="toc"] li[data-type="appendix"], nav[data-type="toc"] li[data-type="bibliography"], nav[data-type="toc"] li[data-type="appendix"], nav[data-type="toc"] li[data-type="toc"], nav[data-type="toc"] li[data-type="copyright-page"] { font-size: 0.8em; /* text-align: center; */ /* text-transform: uppercase; */ /* letter-spacing: .2em; */ /* padding: .15em 0; */ font-style: italic; /* margin-top: 0; */ } nav[data-type="toc"] li[data-type="part"] { /* font-size: 1.2em; */ margin-bottom: 1em; } nav[data-type="toc"] li[data-type="part"] > a { text-decoration: underline; } nav[data-type="toc"] li[data-type="chapter"] { font-size: 0.85em; } /* -------------------------------------------------- OTHER FRONTMATTER -------------------------------------------------- */ div.preface > p.SignatureSig, div.preface > p.Author1Au1, div.preface > p.ClosingClos, .FMDramatisPersonaefmdp { text-indent: 0; margin: 1em 0; } div.preface > p.Author1Au1 { text-align: center; } div.preface > p.SignatureSig { font-style: italic; } .FMDramatisPersonaefmdp { text-transform: uppercase; letter-spacing: .075em; } /* -------------------------------------------------- PART OPENERS -------------------------------------------------- */ div[data-type=part] > p.Ornamental-Space-BreakOsbrk, div[data-type=part] > p.Ornamental-Space-Break2Osbrk2, *[class^="PartContentsMainHead"], *[class^="PartContentsHead"] { text-indent: 0; text-align: center; margin: 1em 0; } div[data-type=part] > p.Ornamental-Space-BreakOsbrk:before, div[data-type=part] > p.Ornamental-Space-Break2Osbrk2:before { display: block; font-size: 1.125em; } /*div[data-type=part] > p.Ornamental-Space-BreakOsbrk:before { content: "\2766"; } div[data-type=part] > p.Ornamental-Space-Break2Osbrk2:before { content: "\2756"; }*/ /* -------------------------------------------------- CHAPTER OPENERS -------------------------------------------------- */ div.chapter > p.Author1Au1, div.chapter > p.DatelineDate, div.chapter > p.Ornamental-Space-BreakOsbrk, div.chapter > p.Ornamental-Space-Break2Osbrk2 { text-align: center; text-indent: 0; margin: 1em 0; } div.chapter > p.Ornamental-Space-BreakOsbrk:before, div.chapter > p.Ornamental-Space-Break2Osbrk2:before { display: block; font-size: 1.125em; } /*div.chapter > p.Ornamental-Space-BreakOsbrk:before { content: "\2766"; } div.chapter > p.Ornamental-Space-Break2Osbrk2:before { content: "\2756"; }*/ .TeaserOpeningTexttotx, .TeaserOpeningTextNo-Indenttotx1 { text-align: center; text-indent: 0; font-size: 1.2em; margin-bottom: 0.75em; } /* -------------------------------------------------- TEXT -------------------------------------------------- */ div.computer, p.Computer-TextComp, span.cs-computerccom { font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif; } .Body-Text2Tx2, .Body-Text2-ContinuedTx2c { font-family: Helvetica,Arial,sans-serif; font-size: 0.9em; margin-top: 1em; } .Body-Text2Tx2 + .Body-Text2Tx2, .Body-Text2Tx2 + .Body-Text2-ContinuedTx2c, .Body-Text2-ContinuedTx2c + .Body-Text2Tx2, .Body-Text2-ContinuedTx2c + .Body-Text2-ContinuedTx2c { margin-top: 0; } /* -------------------------------------------------- DISPLAY TEXT -------------------------------------------------- */ *[class^="DisplayPhrase"] { clear: both; color: #999; font-size: 1.125em; font-style: italic; text-indent: 0; text-align: center; padding: .5em; background: #eee; margin: 1em 0; } *[class^="Storydateline"], *[class^="Storylocationline"] { text-indent: 0; font-variant: small-caps; /* ALTERNATE: font-size: .75em; text-transform: uppercase; */ letter-spacing: .1em; margin: 1em 0; } /* -------------------------------------------------- SPACE BREAKS -------------------------------------------------- */ .Blank-Space-BreakBsbrk, .Ornamental-Space-BreakOsbrk, .Ornamental-Space-Break2Osbrk2, .SeparatorSep, .PageBreakpb { text-indent: 0; text-align: center; margin: 1em 0; } .Blank-Space-Break2Bsbrk2 { margin: 1em 0 2em 0; } .Ornamental-Space-BreakOsbrk, .Ornamental-Space-Break2Osbrk2 { display: block; font-size: 1.125em; } .PageBreakpb { display: none; } p.PageBreakpb + * { page-break-before: always; } .BookmakerPageBreakbr { page-break-after: always; } p.SpaceBreak-PrintOnlypo { display: none; } /* -------------------------------------------------- EXTRACTS -------------------------------------------------- */ blockquote.looseextract *, p.Extract1Ext1, p.Extract2Ext2, p.Extract3Ext3, p.Extract4Ext4, p.HeadlineHdline { font-style: italic; } blockquote.looseextract > p:first-of-type, blockquote.looseextract > ol p, blockquote.looseextract > ul p, blockquote.looseextract > .TitleTtl, blockquote.looseextract > .Main-HeadMHead, blockquote.looseextract > .HeadnoteHdnt, blockquote.looseextract > .Verse1Vrs1 { text-indent: 0; } blockquote.looseextract em, p.Extract1Ext1 em, p.Extract2Ext2 em, p.Extract3Ext3 em, p.Extract4Ext4 em { font-style: normal; } p.HeadlineHdline, blockquote.looseextract > .HeadnoteHdnt { text-indent: 0; text-transform: uppercase; letter-spacing: .075em; margin: 1em 0 1em 0; } .Extract-Emailextem, .Extract-EmailHeadingemh, .Extract-Telegramtel { font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif; } .Extract-Telegramtel { text-transform: uppercase; } /* for kindle */ blockquote p:first-child { margin-left: 0; } /* -------------------------------------------------- LETTERS -------------------------------------------------- */ blockquote[data-type="letter"] .HeadnoteHdnt { text-transform: uppercase; letter-spacing: .075em; text-align: center; text-indent: 0; } blockquote[data-type="letter"] .HeadnoteHdnt + p, blockquote[data-type="letter"] .AddressAdd, blockquote[data-type="letter"] .SalutationSal, blockquote[data-type="letter"] .ClosingClos, blockquote[data-type="letter"] .SignatureSig, blockquote[data-type="letter"] .PostscriptPst { text-indent: 0; } blockquote[data-type="letter"] .DatelineDate { margin: 1em 0; text-indent: 0; } blockquote[data-type="letter"] p + .SalutationSal, blockquote[data-type="letter"] .ClosingClos, blockquote[data-type="letter"] .SignatureSig, blockquote[data-type="letter"] .PostscriptPst { margin-top: 1em; } blockquote[data-type="letter"] .ClosingClos + .SignatureSig { margin-top: 0; } /* -------------------------------------------------- SCREENPLAY -------------------------------------------------- */ .ScreenplayDramatisPersonaedp, .ScreenplayHeadsph, .ScreenplaySubheadspsh, .ScreenplaySpeakers, .ScreenplayTextsptx, .ScreenplayTextNo-Indentsptx1, .ScreenplayStageDirectionsd, .ScreenplayExtractsp { font-family: "Courier New",monospace,Georgia,"Times New Roman",sans-serif; font-style: normal; text-indent: 0; } .ScreenplayDramatisPersonaedp, .ScreenplayHeadsph, .ScreenplaySubheadspsh, .ScreenplaySpeakers { text-transform: uppercase; } .ScreenplayHeadsph, .ScreenplaySubheadspsh { margin-top: 1em; margin-bottom: 1em; } .ScreenplaySpeakers { text-align: center; margin-top: 1em; } .ScreenplaySpeakers, .ScreenplayTextsptx, .ScreenplayTextNo-Indentsptx1 { margin-left: 3em; margin-right: 3em; } .ScreenplayStageDirectionsd { font-style: italic; margin: 1em 0; } .ScreenplayTextsptx { text-indent: 1.5em; } /* -------------------------------------------------- POETRY -------------------------------------------------- */ div.verse, div.computer { margin: 1em 1.5em; } div.verse pre, div.computer pre { white-space: pre-wrap; } div.verse > .TitleTtl + .SubtitleSttl, div.verse > .Main-HeadMHead + .SubtitleSttl { margin-top: 0; } .PoemDedicationvded { font-style: italic; font-variant: normal; text-transform: none; letter-spacing: 0; } div.verse pre, .Verse1Vrs1, .Epigraph-VerseEpiv .Extract-SongLyricextsl { margin-left: 1.5em; text-indent: -1.5em; font-style: italic; } div.verse .Verse1Vrs1:first-child, .Epigraph-VerseEpiv:first-child { margin-left: 1.5em; } div.verse .DatelineDate, div.verse .Dedicationded { text-indent: 0; margin: 1em 0; } /* -------------------------------------------------- LISTS -------------------------------------------------- All list styles are included here. Since some classes convert as p elements rather than li, they need to be explicitly told to behave like list items. Here is an example of the markup and the basic CSS that would apply to it:

foo

[class^="BulletListItem"] { display: list-item; list-style: disc outside; } Other styles are already converting semantically, but they still include a p element, like so: So, in this case, all the rules of ".BulletListItem" will be applied to both the li and the p, which means there will be multiple bullets for each list item. This is why styles that are converting this way are commented out – so that the list style will be applied to the li but not the p. As the conversion tool is updated to accommodate more of the list styles below, their class names will each need to be commented out (or deleted) to avoid the problem of redundant list markers. Note also that ordered lists include the numbers in the text, which is why they have a list-style-type of "none". */ .List-HeadLhead { font-weight: bold; text-indent: 0; margin: 1em 0; } ul, ol { margin: 1em 0; } li, *[class^="NumberedParagraph"], *[class^="BulletedParagraph"] { display: list-item; list-style-position: outside; margin-left: 1.5em; text-indent: 0; } li ul, li ol { margin: 0; } ul li, blockquote[data-type="recipe"] ul li { list-style-type: disc; } li ul li, li.Unnum-Level-2-ListUl2 { list-style-type: square; } li.Unnum-Level-1-ListUl1 { list-style-type: none; } ol li, li.Alpha-Level-1-ListAl1, *[class^="NumberedParagraph"] { margin-top: 0.5em; } li.Num-Level-1-ListNl1 { list-style-type: decimal; } ol > li > ol > li.Num-Level-2-ListNl2 { list-style-type: lower-roman; } ul > li > ol > li.Num-Level-2-ListNl2 { list-style-type: decimal; } li.Alpha-Level-1-ListAl1 { list-style-type: lower-alpha; } li p { text-indent: 0; margin-top: 0.5em; } .NumberedParagraphsnp { list-style-type: none; margin-top: 0.5em; } li ol li /* *[class^="ListNumSubentry"], *[class^="ListAlphaSubentry"], */ { border-bottom: none; } /* *[class^="ListNumSubentry"] { list-style-type: lower-roman; } *[class^="ListAlpha"] { list-style-type: upper-alpha; } li[class^="ListAlphaSubentry"] { list-style-type: lower-alpha; } */ li[class^="Checklist"], li[class^="ChecklistSubentry"] { list-style-type: none; text-indent: 0; margin-left: 1.5em; } li[class^="Checklist"]:before, li[class^="ChecklistSubentry"]:before { display: block; width: 1.5em; float: left; margin-left: -1.5em; text-align: center; content: "\2713"; /* U+2713 "check mark" */ } *[class^="ColumnHead"] { font-weight: bold; text-indent: 0; } /* *[class^="RecipeProcedure"], *[class^="RecipeProceduresNoIndent"], *[class^="Sub-RecipeProcedures"], *[class^="Sub-RecipeProceduresNoIndent"], *[class^="Definition-Numbered"] */ /* -------------------------------------------------- ILLUSTRATIONS -------------------------------------------------- */ figure.Image-PlacementImg { margin-top: 1em; text-align: center; } h1 + figure.Image-PlacementImg { background-color: transparent; } .CaptionCap { color: #666; text-indent: 0; text-align: center; font-size: .875em; font-style: italic; padding: 1em 0; } .Credit-LineCrd { font-size: 0.8em; text-align: center; font-size: .75em; text-transform: uppercase; letter-spacing: .1em; margin: 0; } figure.Image-PlacementImg+p, .Credit-LineCrd+p { margin-top: 1em; } figure.Image-PlacementImg+.Credit-LineCrd { margin-top: 0; } section.abouttheauthor figure.Image-PlacementImg img { } img.titlepage { width: 100%; } /* -------------------------------------------------- RECIPES -------------------------------------------------- */ blockquote[data-type="recipe"] { font-style: normal; } blockquote[data-type="recipe"] p.HeadnoteHdnt { font-style: italic; text-indent: 0; } blockquote[data-type="recipe"] p.Body-TextTx { margin-top: 1em; margin-bottom: 1em; text-indent: 0; } blockquote[data-type="recipe"] div, blockquote[data-type="recipe"] aside { font-style: italic; } blockquote[data-type="recipe"] blockquote[data-type="recipe"] { margin-left: 1.5em; margin-right: 1.5em; } blockquote[data-type="recipe"] blockquote[data-type="recipe"] .A-HeadAhead { margin-left: 1em; margin-right: 1em; } blockquote[data-type="recipe"] blockquote[data-type="recipe"] ul, blockquote[data-type="recipe"] blockquote[data-type="recipe"] ol { margin-left: 3em; } /* -------------------------------------------------- BOXES AND SIDEBARS -------------------------------------------------- */ div.verse .TitleTtl, blockquote .TitleTtl, aside .TitleTtl, table .TitleTtl, figure .TitleTtl, div.verse .Main-HeadMHead, blockquote .Main-HeadMHead, aside .Main-HeadMHead, table .Main-HeadMHead, figure .Main-HeadMHead, div.verse .A-HeadAhead, blockquote .A-HeadAhead, aside .A-HeadAhead, table .A-HeadAhead, figure .A-HeadAhead, div.verse .SubtitleSttl, blockquote .SubtitleSttl, aside .SubtitleSttl, table .SubtitleSttl, figure .SubtitleSttl { text-align: center; padding: .5em 0; } aside .TitleTtl, aside .Main-HeadMHead, aside .A-HeadAhead, div.verse .TitleTtl, blockquote .TitleTtl, blockquote .Main-HeadMHead { margin-top: 1em; margin-bottom: 1em; } aside p[data-type="footnote"], aside .Credit-LineCrd { font-size: .75em; text-indent: 0; margin: 1em 0; } /* -------------------------------------------------- TABLES, CHARTS, and FIGURES -------------------------------------------------- */ table { width: 100%; margin: 1em 0; border-collapse: collapse; } th, td { padding: .3em; border: 1px solid #ccc; word-wrap: break-word; } *[class^="TableColumnHead"], *[class^="TableSourceNote"], *[class^="TableFootnote"], *[class^="ChartColumnHead"], *[class^="ChartLabel"], *[class^="ChartSourceNote"], *[class^="ChartFootnote"], *[class^="FigureColumnHead"], *[class^="FigureLabel"], *[class^="FigureSourceNote"], *[class^="FigureFootnote"] { text-indent: 0; } th, *[class^="TableColumnHead"], *[class^="ChartColumnHead"], *[class^="FigureColumnHead"] { font-weight: bold; } *[class^="TableSourceNote"], *[class^="TableFootnote"], *[class^="ChartSourceNote"], *[class^="ChartFootnote"], *[class^="FigureSourceNote"], *[class^="FigureFootnote"] { font-size: .75em; margin: 1em 0; } td p, th p { font-size: .9em; } td p ~ p { margin-top: .5em; text-indent: 0; } /* -------------------------------------------------- GENERAL BACKMATTER HEADS -------------------------------------------------- */ div.appendix .TitleTtl, div.appendix .Main-HeadMHead, div.appendix .A-HeadAhead, div.appendix .SubtitleSttl, div.bibliography .TitleTtl, div.bibliography .Main-HeadMHead, div.bibliography .A-HeadAhead, div.bibliography .SubtitleSttl, div.acknowledgments .TitleTtl, div.acknowledgments .Main-HeadMHead, div.acknowledgments .A-HeadAhead, div.acknowledgments .SubtitleSttl { text-align: center; } /* -------------------------------------------------- APPENDICES -------------------------------------------------- */ /* -------------------------------------------------- BOB ADS -------------------------------------------------- */ section.bobad .B-HeadBhead, section.bobad .C-HeadChead, section.bobad .D-HeadDhead { text-align: center; text-indent: 0; } section.bobad .A-HeadAhead { font-size: 1.5em; font-weight: bold; margin-top: 1em; } /* -------------------------------------------------- EXAMPLES, GLOSSARY, and DICTIONARY-STYLE ENTRIES -------------------------------------------------- */ .Exampleexa, .Example-Versevexa, .Exampleegeg, .Exampleindialogformexad { font-style: italic; } *[class^="Example"], *[class^="Example-Verse"], *[class^="Exampleeg"], *[class^="Exampleindialogform"] { font-style: italic; } .GlossaryTextgltx, .Entryen, .Definitiondef, .DefinitionSourcedefs, .Exampleexa, .Referencesee, .Exampleegeg, .Exampleindialogformexad { text-indent: 0; } *[class^="GlossaryText"], *[class^="Entry"], *[class^="Definition"], *[class^="DefinitionSource"], *[class^="Example"], *[class^="References"], *[class^="Exampleeg"], *[class^="Exampleindialogform"] { text-indent: 0; } .DefinitionSourcedefs { margin: 1em 0; } *[class^="DefinitionSource"] { margin: 1em 0; } /* -------------------------------------------------- ADDRESSES -------------------------------------------------- */ p.AddressAdd { text-indent: 0; } /* -------------------------------------------------- NOTES SECTION -------------------------------------------------- */ section.notes p.Body-TextTx, section.notes p+p { text-indent: 0; margin-bottom: 0.25em; } div[data-type="footnotes"] { margin-top: 1em; } p[data-type="footnote"] { font-size: .75em; text-indent: 0; margin: 1em 0; } *[class^="FootnoteText"], *[class^="EndnoteText"] { font-size: .75em; text-indent: 0; margin: 1em 0; } .FootnoteText, .EndnoteText { font-size: .75em; text-indent: 0; margin: 1em 0; } /* -------------------------------------------------- BIBLIOGRAPHY -------------------------------------------------- */ .Reference-EntryRef { text-indent: -1em; margin: 1em 0 0 1em; } /* -------------------------------------------------- INDEX -------------------------------------------------- */ *[class^="IndexEntry"], *[class^="IndexSubentry"], *[class^="IndexSub-subentry"] { text-indent: 0; } *[class^="IndexSubentry"] { margin-left: 1.5em; } *[class^="IndexSub-subentry"] { margin-left: 3em; } /* -------------------------------------------------- Misc -------------------------------------------------- */ .Ebook-Only-TextEonly { text-indent: 0; text-align: center; } .left { text-align: left; text-indent: 0; } .center { text-align: center; text-indent: 0; } .right { text-align: right; text-indent: 0; } /* -------------------------------------------------- Nonprinting elements -------------------------------------------------- */ h1.ChapTitleNonprintingctnp { display: none; } .Nonprinting { display: none; } .texttoc { display: none; }