[epub] output improvements - clean xhtml instead of html tag soup
[librarian.git] / librarian / epub / style.css
index 13501ac..bf44032 100644 (file)
@@ -110,7 +110,7 @@ p
 .annotation
 {
        margin-bottom: 0.3em;
-       text-align: left;
+       text-align: justify;
 }
 
 .block
@@ -218,12 +218,18 @@ div.didaskalia
 .paragraph
 {
        text-align: justify;
-       margin: 0
+       margin: 0;
+       text-indent: 1.2em;
 }
 
-.paragraph + .paragraph
+h1 + .paragraph, h2 + .paragraph
 {
-       text-indent: 1.2em;
+       text-indent: 0;
+}
+
+h2 + .paragraph:first-letter
+{
+    font-size: 1.6em;
 }
 
 .motto
@@ -250,7 +256,7 @@ div.didaskalia
 {
        text-align: right;
        font-style: italic;
-       margin-top: 0.5em;
+       margin-top: 1em;
        margin-bottom: 0.5em;
 }