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