[epub, mobi] Paragraph indentation improvements plus support for initials in chapters
authorRobert Błaut <listy@blaut.biz>
Sun, 16 Feb 2014 10:25:06 +0000 (11:25 +0100)
committerRobert Błaut <listy@blaut.biz>
Sun, 16 Feb 2014 10:25:06 +0000 (11:25 +0100)
librarian/epub/style.css

index f7afea4..c773481 100644 (file)
@@ -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