@charset "utf-8"; @namespace epub "http://www.idpf.org/2007/ops"; @namespace xml "http://www.w3.org/XML/1998/namespace"; body [xml|lang]{ font-style: italic; } /* Begin verse CSS */ [epub|type~="z3998:song"] p, [epub|type~="z3998:verse"] p{ text-align: initial; text-indent: 0; } [epub|type~="z3998:song"] p > span, [epub|type~="z3998:verse"] p > span{ display: block; padding-left: 1em; text-indent: -1em; } [epub|type~="z3998:song"] p > span + br, [epub|type~="z3998:verse"] p > span + br{ display: none; } p span.i1{ padding-left: 2em; text-indent: -1em; } /* End verse CSS */ /* Start letter CSS */ [epub|type~="z3998:letter"] header{ 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 letter CSS */ /* Start bridgehead CSS */ [epub|type~="se:bridgehead"]{ display: inline-block; font-style: italic; max-width: 60%; text-align: justify; text-indent: 0; } /* End bridgehead CSS */ /* 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 */ /* Begin drama CSS */ [epub|type~="z3998:drama"] table{ 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:stage-direction"]{ font-style: italic; } [epub|type~="z3998:dramatis-personae"] i, [epub|type~="z3998:stage-direction"] [epub|type~="z3998:persona"], [epub|type~="z3998:stage-direction"] b, i [epub|type~="z3998:persona"]{ font-style: normal; } [epub|type~="z3998:stage-direction"]::before{ content: "("; font-style: normal; } [epub|type~="z3998:stage-direction"]::after{ content: ")"; font-style: normal; } [epub|type~="z3998:persona"]{ font-variant: all-small-caps; } article[epub|type~="z3998:drama"] > p{ margin: 1em auto; width: 75%; } [epub|type~="z3998:dramatis-personae"]{ text-align: center; } ul[epub|type~="z3998:dramatis-personae"]{ list-style: none; margin: 0; padding: 0; } ul[epub|type~="z3998:dramatis-personae"] li{ font-style: italic; margin: 1em; } ul[epub|type~="z3998:dramatis-personae"] + table{ margin-top: 2em; } tr.together{ break-inside: avoid; } tr.together td{ padding: 0 .5em 0 0; vertical-align: middle; } tr.together td + td{ border-left: 1px solid; } [epub|type~="z3998:drama"] .together td:last-child{ padding-left: .5em; } @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; } /* `together` rows get a pseudo-stage-direction. */ [epub|type~="z3998:drama"] tr.together td[epub|type~="z3998:persona"]::after{ content: " (Together.)"; font-style: italic; font-variant: normal; } [epub|type~="z3998:drama"] .together td:last-child{ border: none; padding: 0; } /* Rows that are only stage direction get a top margin. */ [epub|type~="z3998:drama"] td:first-child:not([epub|type]) + td{ margin-top: 1.5em; } } /* End drama CSS */ header [epub|type~="se:diary.dateline"]{ text-align: right; } #kholstomir section header p{ font-variant: small-caps; } footer{ margin-top: 1em; text-align: right; } #lucerne > p:first-of-type{ text-align: right; } #hindu-fables article, #natural-science-stories article, #the-wisdom-of-children article{ break-after: page; } #the-posthumous-papers-of-the-hermit-fedor-kusmich footer{ font-style: italic; text-align: center; } #the-porcelain-doll > blockquote{ margin-left: 0; margin-right: 0; }