X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/ef7911fba9c330552599bc6eb9dc22606246dd7e..a2f8ee881d66601e9cb714069dc88d3ed9703db6:/librarian/epub/style.css diff --git a/librarian/epub/style.css b/librarian/epub/style.css index f64978e..fd98f07 100644 --- a/librarian/epub/style.css +++ b/librarian/epub/style.css @@ -1,15 +1,47 @@ +@font-face { + font-family: "DejaVu Serif"; + font-weight: normal; + font-style: normal; + src: url(DejaVuSerif.ttf); +} +@font-face { + font-family: "DejaVu Serif"; + font-weight: bold; + font-style: normal; + src: url(DejaVuSerif-Bold.ttf); +} +@font-face { + font-family: "DejaVu Serif"; + font-weight: normal; + font-style: italic; + src: url(DejaVuSerif-Italic.ttf); +} +@font-face { + font-family: "DejaVu Serif"; + font-weight: bold; + font-style: italic; + src: url(DejaVuSerif-BoldItalic.ttf); +} + +body, p, h1, h2, h3, h4 { + font-family: "DejaVu Serif", serif; +} + + body { - font-size: 12pt; - font: Georgia, "Times New Roman" , serif; line-height: 1.5em; margin: 0; } a { - color: black; text-decoration: none; + color: #00e; +} + +a img { + border: 0; } #book-text @@ -25,7 +57,6 @@ a .h2 { - size: big; font-size: 2em; margin: 0; margin-top: 1.5em; @@ -35,7 +66,7 @@ a .h3 { - text-align:left; + text-align:left; font-size: 1.5em; margin-top: 1.5em; font-weight: normal; @@ -136,7 +167,6 @@ p .title { font-size: 3em; - margin-bottom: 1.5em; text-align: center; line-height: 1.5em; font-weight: bold; @@ -153,6 +183,28 @@ p margin-bottom: 0.25em; } +.intitle +{ + margin: 0; + text-align: center; + font-weight: bold; + + font-size: 1.5em; + line-height: 1.5em; + margin-bottom: 0.25em; +} + +.insubtitle +{ + margin: 0; + text-align: center; + font-weight: bold; + + font-size: 1em; + line-height: 1.5em; + margin-bottom: 0.25em; +} + .collection { margin: 0; @@ -310,3 +362,10 @@ p.info img margin-left: 2em; margin-right: 2em; } + +p.minor { + font-size: 0.75em; +} +p.footer { + margin-top: 2em; +}