diff options
Diffstat (limited to 'theme/static/css/5-chapter.css')
| -rw-r--r-- | theme/static/css/5-chapter.css | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/theme/static/css/5-chapter.css b/theme/static/css/5-chapter.css new file mode 100644 index 0000000..0df2989 --- /dev/null +++ b/theme/static/css/5-chapter.css @@ -0,0 +1,120 @@ +section.chapter { + padding: 1em; + font-size: 22px; + max-width: 700px; + margin: auto; + text-align: justify; + -moz-hyphens: auto; + line-height: 1.5em; +} + +section.chapter p { + text-indent: 1.5em; + margin: 0; +} + +section.chapter blockquote { + font-style: italic; +} + +section.chapter cite { + font-style: italic; +} + +section.chapter > h1 { + text-align: center; + text-transform: uppercase; + line-height: 1.5em; + font-size: 140%; +} + +section.chapter h1 > span.label { + font-weight: normal; + font-variant: small-caps; + text-transform: none; +} + +section.chapter h1 > span.label:before { + content: "— "; +} + +section.chapter h1 > span.label:after { + content: " —\A"; + white-space: pre; +} + +section.chapter > p:first-of-type { + text-indent: 0; +} + +section.chapter > p:first-of-type:first-letter { + font-size: 2.5em; +} + +section.chapter blockquote.epigraph { + width: 60%; + margin-left: 40%; + font-size: 90%; + line-height: 1.5em; +} + +section.chapter blockquote.epigraph > footer { + font-style: normal; + text-indent: 1.5em; +} + +section.chapter blockquote.epigraph > footer:before { + content: "—"; +} + +section.chapter p.break { + text-indent: 0; + text-align: center; + margin: 0.7em 0; +} + +section.chapter p.right { + text-align: right; + margin-bottom: 1em; +} + +section.chapter blockquote.verse { + text-align: center; +} + +section.chapter blockquote.verse p { + white-space: pre; + text-indent: 0; + margin: 0.5em; +} + +section.chapter h2 { + font-size: 120%; +} + +section.chapter p.end { + text-align: center; + text-indent: 0; + margin: 2em 0; + font-size: 140%; +} + +section.chapter blockquote h2 { + font-size: 120%; + text-align: center; +} + +blockquote i { + font-style: normal; +} + +footer.author-note { + border-top: 1px solid black; + margin-top: 1em; + padding-top: 1em; +} + +footer.author-note:before { + font-weight: bold; + content: "Author’s note: " +} |
