[epub, mobi] fix for IT #3356 - new line char is problemtic in toc.ncx - replace...
[librarian.git] / librarian / epub / style.css
index e90ce4a..c773481 100644 (file)
@@ -206,6 +206,7 @@ div.didaskalia
 {
        font-style: italic;
        margin-top: 0.5em;
+       margin-bottom: 0.5em;
        margin-left: 1.5em;
 }
 
@@ -217,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
@@ -236,6 +243,7 @@ div.didaskalia
 {
        font-size: 0.875em;
        text-align: right;
+    font-style: italic;
 }
 
 .fragment
@@ -244,15 +252,17 @@ div.didaskalia
        padding-bottom: 1.5em;
 }
 
-.note, .note .paragraph
+.note
 {
        text-align: right;
        font-style: italic;
+       margin-top: 1em;
+       margin-bottom: 0.5em;
 }
 
-.note
+.note .paragraph
 {
-    margin-bottom: 1.5em;
+    text-align: justify;
 }
 
 .dedication, .dedication .paragraph