@charset "utf-8"; @namespace epub "http://www.idpf.org/2007/ops"; /* Begin 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; } /* end bridgeheads */ /* Centered dedications */ section[epub|type~="dedication"]{ text-align: center; } section[epub|type~="dedication"] > *{ display: inline-block; margin: auto; margin-top: 3em; max-width: 80%; } @supports(display: flex){ 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; } section[epub|type~="dedication"] > *{ margin: 0; } } /* end centered dedications */ /* Begin Letters */ [epub|type~="z3998:letter"] header{ text-align: right; } footer{ margin-top: 1em; text-align: right; } [epub|type~="z3998:letter"] header + p{ text-indent: 0; } [epub|type~="z3998:sender"], [epub|type~="z3998:salutation"], [epub|type~="z3998:signature"]{ font-variant: small-caps; } /* end letters */ /* Begin Poems/Verse */ [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.i4{ padding-left: 5em; text-indent: -1em; } /* end poems/verse */ /* Bespoke styling */ #dedication{ font-variant-caps: all-small-caps; line-height: 2.5; } #dedication footer{ margin-left: auto; margin-top: 1em; padding-right: 20%; } #dedication b{ font-size: larger; font-variant-caps: normal; text-transform: uppercase; } #chapter-8 blockquote header p{ margin-bottom: .5em; } #chapter-8 blockquote header p:first-child{ letter-spacing: .1em; text-transform: uppercase; } #chapter-20 ul{ list-style-type: none; } /* end bespoke */