@charset "utf-8"; @namespace epub "http://www.idpf.org/2007/ops"; article, section{ break-after: page; } /* Headers not in ToC */ header{ font-variant: small-caps; margin: 1em; text-align: center; } /* End headers not in ToC */ /* All bridgeheads */ [epub|type~="se:bridgehead"]{ display: inline-block; font-style: italic; max-width: 60%; text-align: justify; text-indent: 0; } [epub|type~="se:bridgehead"] i{ font-style: normal; } [epub|type~="z3998:poem"] [epub|type~="se:bridgehead"]{ text-align: justify; } /* End all bridgeheads */ /* Centered dedications */ div[epub|type~="dedication"], section[epub|type~="dedication"]{ text-align: center; } div[epub|type~="dedication"] > *, section[epub|type~="dedication"] > *{ display: inline-block; margin: auto; margin-top: 3em; max-width: 80%; } [epub|type~="dedication"] footer{ margin-top: 1em; text-align: right; } @supports(display: flex){ div[epub|type~="dedication"], section[epub|type~="dedication"]{ align-items: center; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; min-height: calc(98vh - 3em); padding-top: 3em; } div[epub|type~="dedication"] > *, section[epub|type~="dedication"] > *{ margin: 0; } div[epub|type~="dedication"] header, section[epub|type~="dedication"] header{ margin-bottom: 1em; } section[epub|type~="dedication"] footer{ align-self: flex-end; text-align: right; } } /* End centered dedications */ /* All epigraphs */ [epub|type~="epigraph"]{ font-style: italic; hyphens: none; -epub-hyphens: none; } [epub|type~="epigraph"] cite{ font-style: normal; font-variant: small-caps; margin-top: 1em; } /* End all epigraphs */ /* Poem, verse */ [epub|type~="z3998:poem"] p, [epub|type~="z3998:verse"] p{ text-align: initial; text-indent: 0; } [epub|type~="z3998:poem"] p + p, [epub|type~="z3998:verse"] p + p{ margin-top: 1em; } [epub|type~="z3998:poem"] p > span, [epub|type~="z3998:verse"] p > span{ display: block; padding-left: 1em; text-indent: -1em; } [epub|type~="z3998:poem"] p > span + br, [epub|type~="z3998:verse"] p > span + br{ display: none; } [epub|type~="z3998:poem"] header p, [epub|type~="z3998:poem"] hgroup p{ text-align: center; } p span.i1{ padding-left: 2em; text-indent: -1em; } p span.i2{ padding-left: 3em; text-indent: -1em; } p span.i3{ padding-left: 4em; text-indent: -1em; } p span.i4{ padding-left: 5em; text-indent: -1em; } p span.i5{ padding-left: 6em; text-indent: -1em; } .dl2 span:first-child{ vertical-align: 100%; } /* End poem, verse */ /* Footers */ footer{ margin-top: 1em; text-align: right; } footer [epub|type~="z3998:signature"]{ font-variant: small-caps; } [epub|type~="z3998:poem"] footer p{ margin-top: 1em; text-align: right; } /* End footers */ /* Italicized text */ q, #to-aurelio-saffi p:first-of-type span:nth-of-type(-n+3), #a-story-of-the-sea-shore div:nth-of-type(3) p:nth-of-type(8) span:nth-of-type(6), #the-disciple div:nth-of-type(2) > p:nth-of-type(10) span:nth-of-type(n+3), #a-prayer-for-the-past p:nth-of-type(-n+7), #a-prayer-for-the-past p:nth-of-type(14), #a-prayer-for-the-past p:nth-of-type(n+20):nth-of-type(-n+22), #a-prayer-for-the-past p:nth-of-type(n+27), #little-boy-blue p:nth-of-type(-n+4) span:nth-of-type(even), #little-boy-blue p:nth-of-type(79) span:nth-of-type(even), #a-meditation-of-st-eligius p:nth-of-type(-n+3){ font-style: italic; } /* End italicized text */ /* Dramatic dialog */ table[epub|type~="z3998:drama"]{ border-collapse: collapse; margin: 1em auto; width: 100%; } [epub|type~="z3998:drama"] tr:first-child td{ padding-top: 0; } [epub|type~="z3998:drama"] tr:last-child td{ padding-bottom: 0; } [epub|type~="z3998:drama"] td{ padding: .5em; vertical-align: top; } [epub|type~="z3998:drama"] td:last-child{ padding-right: 0; } [epub|type~="z3998:drama"] td:first-child{ padding-left: 0; } [epub|type~="z3998:drama"] td[epub|type~="z3998:persona"]{ hyphens: none; -epub-hyphens: none; text-align: right; width: 20%; } [epub|type~="z3998:persona"]{ font-variant: all-small-caps; } /* End dramatic dialog */ article > div > header p[epub|type~="se:bridgehead"], header p{ font-size: 1em; font-variant: normal; font-weight: normal; } #willies-question header p{ font-variant: small-caps; } article > div > header p{ /* Simulate h3. */ font-size: 1.17em; font-variant: small-caps; font-weight: bold; } [epub|type~="z3998:poem"] header p span{ display: inline; padding: 0; text-indent: 0; } @media(max-width: 400px){ [epub|type~="z3998:drama"] td, [epub|type~="z3998:drama"] td[epub|type~="z3998:persona"], [epub|type~="z3998:drama"] td:last-child{ display: block; padding: 0; text-align: initial; width: 100%; } [epub|type~="z3998:drama"] td[epub|type~="z3998:persona"]{ break-after: avoid; margin-top: 1.5em; } }