[ePub] Fix for inconsistent styles between on-line reader and ePub.
[librarian.git] / librarian / epub / style.css
index 622c8da..81ce12b 100644 (file)
@@ -140,16 +140,11 @@ p
 /* = Numbering = */
 /* ============= */
 
-.anchor
+.anchor sup
 {
-       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;
-}
+       vertical-align: text-top;
+       font-size: 0.7em;
+}      
 
 /* =================== */
 /* = Custom elements = */
@@ -230,7 +225,7 @@ div.didaskalia
        margin-left: 1.5em;
 }
 
-div.kwestia
+.kwestia
 {
        margin-top: 0.5em;
 }
@@ -238,7 +233,12 @@ div.kwestia
 .paragraph
 {
        text-align: justify;
-       margin-top: 1.5em;
+       margin: 0
+}
+
+.paragraph + .paragraph
+{
+       text-indent: 1.5em;
 }
 
 .motto
@@ -248,40 +248,30 @@ div.kwestia
        margin-top: 1.5em;
 }
 
-.motto_podpis
+.motto_podpis, .motto_podpis .paragraph
 {
        font-size: 0.875em;
        text-align: right;
 }
 
-div.fragment
+.fragment
 {
        border-bottom: 0.1em solid #999;
        padding-bottom: 1.5em;
 }
 
-div.note
+.note, .note .paragraph
 {
        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
+
+.dedication, .dedication .paragraph
 {
     text-align: right;
     font-style: italic;
 }
 
-
 hr.spacer
 {
        height: 3em;
@@ -364,7 +354,9 @@ em.author-emphasis
        margin-right: 2em;
 }
 
-p.minor {
+p.minor-info {
+    text-align: center;
+    margin-bottom: 1em;
     font-size: 0.75em;
 }
 p.footer {