X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/2197a34c52c6e333d125b059666140b5eabb833d..1c58de768c37f60fb6207374cbf523537bfca9ae:/librarian/epub/style.css?ds=sidebyside diff --git a/librarian/epub/style.css b/librarian/epub/style.css index 8931536..8ebdc60 100644 --- a/librarian/epub/style.css +++ b/librarian/epub/style.css @@ -1,3 +1,6 @@ +@page { + margin: 5pt; +} @font-face { font-family: "DejaVu Serif"; font-weight: normal; @@ -44,10 +47,8 @@ a img { border: 0; } -#book-text -{ - margin: 2em; - /*margin-right: 9em;*/ +#book-text { + margin: 0; } /* =================================================== */ @@ -107,33 +108,16 @@ p text-align: left; } -.annotation-anchor -{ - font-style: normal; - font-weight: normal; - font-size: 0.875em; - display: block; - float: left; - width: 2.5em; - clear: both; -} - .annotation { - margin: 0; - margin-top: 1.5em; -} - -.annotation-body -{ - margin-left: 2.5em; - font-size: 0.875em; + margin-bottom: 0.3em; + text-align: justify; } .block { - font-size: 0.875em; - padding: 1em; + font-size: 0.875em; + padding: 1em; } /* ============= */ @@ -218,70 +202,80 @@ p text-align: center; font-weight: bold; - font-size: 1.5em; - line-height: 1.5em; - margin-top: -0.25em; + font-size: 1.5em; + line-height: 1.5em; + margin-top: -0.25em; } div.didaskalia { - font-style: italic; - margin-top: 0.5em; - margin-left: 1.5em; + font-style: italic; + margin-top: 0.5em; + margin-bottom: 0.5em; + margin-left: 1.5em; } -div.kwestia +.kwestia { - margin-top: 0.5em; + margin-top: 0.5em; } .paragraph { - text-align: justify; - margin-top: 1.5em; + text-align: justify; + margin: 0; + text-indent: 1.2em; } -.motto +h1 + .paragraph, h2 + .paragraph { - text-align: justify; - font-style: italic; - margin-top: 1.5em; + text-indent: 0; } -.motto_podpis +h2 + .paragraph:first-letter { - font-size: 0.875em; - text-align: right; + font-size: 1.6em; } -div.fragment +.motto { - border-bottom: 0.1em solid #999; - padding-bottom: 1.5em; + text-align: justify; + font-style: italic; + margin-top: 1.5em; } -div.note -{ - text-align: right; - font-style: italic; -} -div.note div.paragraph +.motto_podpis, .motto_podpis .paragraph { + font-size: 0.875em; text-align: right; font-style: italic; } -div.dedication + +.fragment +{ + border-bottom: 0.1em solid #999; + padding-bottom: 1.5em; +} + +.note { text-align: right; font-style: italic; + margin-top: 1em; + margin-bottom: 0.5em; +} + +.note .paragraph +{ + text-align: justify; } -div.dedication div.paragaph + +.dedication, .dedication .paragraph { text-align: right; font-style: italic; } - .frame { border: 1px darkgray solid; @@ -292,43 +286,43 @@ div.dedication div.paragaph hr.spacer { - height: 3em; - visibility: hidden; + height: 3em; + visibility: hidden; } hr.spacer-line { - margin: 0; - margin-top: 1.5em; - margin-bottom: 1.5em; - border: none; - border-bottom: 0.1em solid #000; + margin: 0; + margin-top: 1.5em; + margin-bottom: 1.5em; + border: none; + border-bottom: 0.1em solid #000; } .spacer-asterisk { - padding: 0; + padding: 0; margin: 0; margin-top: 1.5em; margin-bottom: 1.5em; - text-align: center; + text-align: center; } div.person-list ol { - list-style: none; - padding: 0; - padding-left: 1.5em; + list-style: none; + padding: 0; + padding-left: 1.5em; } .place-and-time { - font-style: italic; + font-style: italic; } em.math { - font-style: italic; + font-style: italic; } em.foreign-word { @@ -345,20 +339,20 @@ em.didaskalia em.author-emphasis { - letter-spacing: 0.1em; + letter-spacing: 0.1em; } .person-list em.person { - font-style: normal; - /*font-variant: small-caps;*/ - text-transform: uppercase; + font-style: normal; + /*font-variant: small-caps;*/ + text-transform: uppercase; } .info { - text-align: center; - margin-bottom: 1em; + text-align: center; + margin-bottom: 1em; } .info div { @@ -367,14 +361,28 @@ em.author-emphasis .info img { - margin: 0; - margin-left: 2em; - margin-right: 2em; + margin: 0; + margin-left: 2em; + margin-right: 2em; } p.minor { + text-align: center; + margin-bottom: 1em; font-size: 0.75em; } p.footer { margin-top: 2em; } + +table { + border-collapse: collapse; + width: 100%; +} +table.border th, table.border td { + border: 1px solid black; +} + +th, td { + vertical-align: top; +} \ No newline at end of file