@charset "utf-8"; @namespace epub "http://www.idpf.org/2007/ops"; [epub|type~="dedication"]{ font-style: italic; } footer{ margin-top: 1em; text-align: right; } [epub|type~="z3998:signature"]{ font-variant: small-caps; } section[epub|type~="dedication"]{ margin: 25% auto; max-width: 50%; } section[epub|type~="dedication"] p{ text-align: initial; text-indent: 0; } /* All epigraphs */ [epub|type~="epigraph"]{ font-style: italic; hyphens: none; -epub-hyphens: none; } [epub|type~="epigraph"] i{ font-style: normal; } [epub|type~="epigraph"] cite{ font-style: normal; font-variant: small-caps; margin-top: 1em; } [epub|type~="epigraph"] cite i{ font-style: italic; } /* End all epigraphs */ /* Full-page epigraphs */ section[epub|type~="epigraph"]{ text-align: center; } section[epub|type~="epigraph"] > *{ display: inline-block; margin: auto; margin-top: 3em; max-width: 80%; text-align: initial; } @supports(display: flex){ section[epub|type~="epigraph"]{ 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~="epigraph"] > *{ margin: 0; } } /* End full-page epigraphs */