diff --git a/src/epub/css/local.css b/src/epub/css/local.css index 2177509..659af75 100644 --- a/src/epub/css/local.css +++ b/src/epub/css/local.css @@ -4,34 +4,11 @@ @charset "utf-8"; @namespace epub "http://www.idpf.org/2007/ops"; -[epub|type~="z3998:letter"] header{ - text-align: right; -} - -footer{ - margin-top: 1em; - text-align: right; -} - -[epub|type~="z3998:salutation"] + p, -[epub|type~="z3998:letter"] header + p{ - text-indent: 0; -} - -[epub|type~="z3998:salutation"]{ - font-variant: small-caps; -} - [epub|type~="epigraph"]{ font-style: italic; hyphens: none; } -[epub|type~="epigraph"] em, -[epub|type~="epigraph"] i{ - font-style: normal; -} - section > header [epub|type~="epigraph"]{ display: inline-block; margin: auto; @@ -39,14 +16,10 @@ section > header [epub|type~="epigraph"]{ text-align: left; } -section > header [epub|type~="epigraph"] + *{ - margin-top: 3em; -} - @supports(display: table){ -section > header [epub|type~="epigraph"]{ - display: table; -} + section > header [epub|type~="epigraph"]{ + display: table; + } } [epub|type~="epigraph"] p > span{ @@ -59,15 +32,7 @@ section > header [epub|type~="epigraph"]{ display: none; } -[epub|type~="epigraph"] + p{ - text-indent: 0; -} - -abbr.era{ - font-variant: all-small-caps; -} - -footer{ - margin-top: 1em; +.signature{ + font-variant: small-caps; text-align: right; } \ No newline at end of file