X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/ef7911fba9c330552599bc6eb9dc22606246dd7e..dd7a7591ae946e6526f7555672517563c994b3ee:/librarian/epub/style.css diff --git a/librarian/epub/style.css b/librarian/epub/style.css index f64978e..f06c579 100644 --- a/librarian/epub/style.css +++ b/librarian/epub/style.css @@ -1,7 +1,35 @@ +@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; } @@ -25,7 +53,6 @@ a .h2 { - size: big; font-size: 2em; margin: 0; margin-top: 1.5em; @@ -35,7 +62,7 @@ a .h3 { - text-align:left; + text-align:left; font-size: 1.5em; margin-top: 1.5em; font-weight: normal; @@ -131,6 +158,7 @@ p .title-page { margin-top: 1.5em; + margin-bottom: 1.5em; } .title