X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/ef7911fba9c330552599bc6eb9dc22606246dd7e..ccd5654568bb362a15185bcf0c1dfa5cb9f3ace7:/librarian/epub/style.css?ds=sidebyside diff --git a/librarian/epub/style.css b/librarian/epub/style.css index f64978e..0bc8000 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;