X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/5264de6515d8e9db8c6aa3c50275c8d7ec53cfd6..0d3fb261fc396c2f8f66018ff923bf202e869b35:/librarian/epub/style.css?ds=sidebyside

diff --git a/librarian/epub/style.css b/librarian/epub/style.css
index 652d903..622c8da 100644
--- a/librarian/epub/style.css
+++ b/librarian/epub/style.css
@@ -1,317 +1,372 @@
-body
-{
-	font-size: 12pt;
-	font: Georgia, "Times New Roman" , serif;
-	line-height: 1.5em;
-	margin: 0;
-}
-
-a
-{
-	color: black;
-	text-decoration: none;
-}
-
-#book-text
-{
-	margin: 2em;
-	/*margin-right: 9em;*/
-}
-
-/* =================================================== */
-/* = Common elements: headings, paragraphs and lines = */
-/* =================================================== */
-
-
-.h2
-{
-	size: big;
-	font-size: 2em;
-	margin: 0;
-	margin-top: 1.5em;
-	font-weight: bold;
-	line-height: 1.5em;
-}
-
-.h3
-{
-	text-align:left;
-    font-size: 1.5em;
-    margin-top: 1.5em;
-    font-weight: normal;
-    line-height: 1.5em;
-}
-
-.h4
-{
-	font-size: 1em;
-    margin: 0;
-    margin-top: 1.5em;
-	line-height: 1.5em;
-}
-
-p
-{
-	margin: 0;
-}
-
-/* ======================== */
-/* = Footnotes and themes = */
-/* ======================== */
-
-.theme-begin
-{
-	border-left: 0.1em solid #DDDDDD;
-	color: #777;
-	padding: 0 0.5em;
-	width: 7.5em;
-	font-style: normal;
-	font-weight: normal;
-	font-size: 0.875em;
-	float: right;
-	margin-right: -9.5em;
-	clear: both;
-	left: 40em;
-	line-height: 1.5em;
-	text-align: left;
-}
-
-.annotation
-{
-	font-style: normal;
-	font-weight: normal;
-	font-size: 0.875em;
-}
-
-#footnotes .annotation
-{
-	display: block;
-	float: left;
-	width: 2.5em;
-	clear: both;
-}
-
-#footnotes div
-{
-    margin: 0;
-    margin-top: 1.5em;
-}
-
-#footnotes p
-{
-	margin-left: 2.5em;
-	font-size: 0.875em;
-}
-
-.block
-{
-	font-size: 0.875em;
-	padding: 1em;
-}
-
-/* ============= */
-/* = Numbering = */
-/* ============= */
-
-.anchor
-{
-	margin: -0.25em -0.5em;
-	color: #777;
-	font-size: 0.875em;
-	width: 2em;
-	text-align: center;
-	padding: 0.25em 0.5em;
-	line-height: 1.5em;
-}
-
-/* =================== */
-/* = Custom elements = */
-/* =================== */
-
-.title-page
-{
-    margin-top: 1.5em;
-}
-
-.title
-{
-    font-size: 3em;
-    margin-bottom: 1.5em;
-    text-align: center;
-    line-height: 1.5em;
-    font-weight: bold;
-}
-
-.author
-{
-    margin: 0;
-    text-align: center;
-    font-weight: bold;
-
-    font-size: 1.5em;
-    line-height: 1.5em;
-    margin-bottom: 0.25em;
-}
-
-.collection
-{
-    margin: 0;
-    text-align: center;
-    font-weight: bold;
-
-	font-size: 1.125em;
-	line-height: 1.5em;
-	margin-bottom: -0.25em;
-}
-
-.subtitle
-{
-    margin: 0;
-    text-align: center;
-    font-weight: bold;
-
-	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;
-}
-
-div.kwestia
-{
-	margin-top: 0.5em;
-}
-
-div.stanza
-{
-	margin-top: 1.5em;
-}
-
-.paragraph
-{
-	text-align: justify;
-	margin-top: 1.5em;
-}
-
-.motto
-{
-	text-align: justify;
-	font-style: italic;
-	margin-top: 1.5em;
-}
-
-.motto_podpis
-{
-	font-size: 0.875em;
-	text-align: right;
-}
-
-div.fragment
-{
-	border-bottom: 0.1em solid #999;
-	padding-bottom: 1.5em;
-}
-
-div.note
-{
-	text-align: right;
-	font-style: italic;
-}
-div.note div.paragraph
-{
-    text-align: right;
-    font-style: italic;
-}
-div.dedication
-{
-    text-align: right;
-    font-style: italic;
-}
-div.dedication div.paragaph
-{
-    text-align: right;
-    font-style: italic;
-}
-
-
-hr.spacer
-{
-	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;
-}
-
-.spacer-asterisk
-{
-	padding: 0;
-    margin: 0;
-    margin-top: 1.5em;
-    margin-bottom: 1.5em;
-	text-align: center;
-}
-
-div.person-list ol
-{
-	list-style: none;
-	padding: 0;
-	padding-left: 1.5em;
-}
-
-.place-and-time
-{
-	font-style: italic;
-}
-
-em.math
-{
-	font-style: italic;
-}
-em.foreign-word
-{
-    font-style: italic;
-}
-em.book-title
-{
-    font-style: italic;
-}
-em.didaskalia
-{
-    font-style: italic;
-}
-
-em.author-emphasis
-{
-	letter-spacing: 0.1em;
-}
-
-em.person
-{
-	font-style: normal;
-	font-variant: small-caps;
-}
-
-p.info
-{
-	text-align: center;
-	margin-bottom: 1em;
-}
-
-p.info img
-{
-	margin: 0;
-	margin-left: 2em;
-	margin-right: 2em;
-}
+@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
+{
+	line-height: 1.5em;
+	margin: 0;
+}
+
+a
+{
+	text-decoration: none;
+	color: #00e;
+}
+
+a img {
+    border: 0;
+}
+
+#book-text
+{
+	margin: 2em;
+	/*margin-right: 9em;*/
+}
+
+/* =================================================== */
+/* = Common elements: headings, paragraphs and lines = */
+/* =================================================== */
+
+
+.h2
+{
+	font-size: 2em;
+	margin: 0;
+	margin-top: 1.5em;
+	font-weight: bold;
+	line-height: 1.5em;
+}
+
+.h3
+{
+    text-align:left;
+    font-size: 1.5em;
+    margin-top: 1.5em;
+    font-weight: normal;
+    line-height: 1.5em;
+}
+
+.h4
+{
+	font-size: 1em;
+    margin: 0;
+    margin-top: 1.5em;
+	line-height: 1.5em;
+}
+
+p
+{
+	margin: 0;
+}
+
+/* ======================== */
+/* = Footnotes and themes = */
+/* ======================== */
+
+.theme-begin
+{
+	border-left: 0.1em solid #DDDDDD;
+	color: #777;
+	padding: 0 0.5em;
+	width: 7.5em;
+	font-style: normal;
+	font-weight: normal;
+	font-size: 0.875em;
+	float: right;
+	margin-right: -9.5em;
+	clear: both;
+	left: 40em;
+	line-height: 1.5em;
+	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;
+}
+
+.block
+{
+	font-size: 0.875em;
+	padding: 1em;
+}
+
+/* ============= */
+/* = Numbering = */
+/* ============= */
+
+.anchor
+{
+	margin: -0.25em -0.5em;
+	color: #777;
+	font-size: 0.875em;
+	width: 2em;
+	text-align: center;
+	padding: 0.25em 0.5em;
+	line-height: 1.5em;
+}
+
+/* =================== */
+/* = Custom elements = */
+/* =================== */
+
+.title-page
+{
+    margin-top: 1.5em;
+}
+
+.title
+{
+    font-size: 3em;
+    text-align: center;
+    line-height: 1.5em;
+    font-weight: bold;
+}
+
+.author
+{
+    margin: 0;
+    text-align: center;
+    font-weight: bold;
+
+    font-size: 1.5em;
+    line-height: 1.5em;
+    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;
+    text-align: center;
+    font-weight: bold;
+
+	font-size: 1.125em;
+	line-height: 1.5em;
+	margin-bottom: -0.25em;
+}
+
+.subtitle
+{
+    margin: 0;
+    text-align: center;
+    font-weight: bold;
+
+	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;
+}
+
+div.kwestia
+{
+	margin-top: 0.5em;
+}
+
+.paragraph
+{
+	text-align: justify;
+	margin-top: 1.5em;
+}
+
+.motto
+{
+	text-align: justify;
+	font-style: italic;
+	margin-top: 1.5em;
+}
+
+.motto_podpis
+{
+	font-size: 0.875em;
+	text-align: right;
+}
+
+div.fragment
+{
+	border-bottom: 0.1em solid #999;
+	padding-bottom: 1.5em;
+}
+
+div.note
+{
+	text-align: right;
+	font-style: italic;
+}
+div.note div.paragraph
+{
+    text-align: right;
+    font-style: italic;
+}
+div.dedication
+{
+    text-align: right;
+    font-style: italic;
+}
+div.dedication div.paragaph
+{
+    text-align: right;
+    font-style: italic;
+}
+
+
+hr.spacer
+{
+	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;
+}
+
+.spacer-asterisk
+{
+	padding: 0;
+    margin: 0;
+    margin-top: 1.5em;
+    margin-bottom: 1.5em;
+	text-align: center;
+}
+
+div.person-list ol
+{
+	list-style: none;
+	padding: 0;
+	padding-left: 1.5em;
+}
+
+.place-and-time
+{
+	font-style: italic;
+}
+
+em.math
+{
+	font-style: italic;
+}
+em.foreign-word
+{
+    font-style: italic;
+}
+em.book-title
+{
+    font-style: italic;
+}
+em.didaskalia
+{
+    font-style: italic;
+}
+
+em.author-emphasis
+{
+	letter-spacing: 0.1em;
+}
+
+.person-list em.person
+{
+	font-style: normal;
+	/*font-variant: small-caps;*/
+	text-transform: uppercase;
+}
+
+.info
+{
+	text-align: center;
+	margin-bottom: 1em;
+}
+.info div
+{
+    text-align: center;
+}
+
+.info img
+{
+	margin: 0;
+	margin-left: 2em;
+	margin-right: 2em;
+}
+
+p.minor {
+    font-size: 0.75em;
+}
+p.footer {
+    margin-top: 2em;
+}