@charset "utf-8"; @namespace epub "http://www.idpf.org/2007/ops"; article, section{ break-after: page; } #the-great-fire-of-ingersoll [epub|type~="se:bridgehead"] p:first-child{ text-align: center; } /* Bridgehead */ [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 bridgehead */ /* 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 */ /* Epigraphs in section headers */ article > header [epub|type~="epigraph"], section > header [epub|type~="epigraph"]{ display: inline-block; margin: auto; max-width: 80%; text-align: initial; } article > header [epub|type~="epigraph"] + *{ margin-top: 3em; } @supports(display: table){ article > header [epub|type~="epigraph"], section > header [epub|type~="epigraph"]{ display: table; } } /* End epigraphs in section headers */ /* Poem, verse */ [epub|type~="z3998:poem"] hgroup p{ text-align: center; } [epub|type~="z3998:poem"] p, [epub|type~="z3998:verse"] p{ text-align: initial; text-indent: 0; } [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"] p + p{ margin-top: 1em; } p span.i1{ padding-left: 2em; text-indent: -1em; } p span.i2{ padding-left: 3em; text-indent: -1em; } p span.i4{ padding-left: 5em; text-indent: -1em; } /* End poem, verse */