reorder CSS rules for ePUB because FBReader is weird
[librarian.git] / librarian / epub / style.css
index 1f5d11b..82ad4b9 100644 (file)
@@ -1,3 +1,6 @@
+@page {
+  margin: 5pt;
+}
 @font-face {
     font-family: "DejaVu Serif";
     font-weight: normal;
@@ -44,17 +47,8 @@ a img {
     border: 0;
 }
 
-#book-text
-{
-    margin: 2em;
-}
-
-@media amzn-kf8
-{
-   #book-text
-    {
-        margin: 0;
-    }
+#book-text {
+    margin: 0;
 }
 
 /* =================================================== */
@@ -259,6 +253,12 @@ h2 + .paragraph:first-letter
     padding-bottom: 1.5em;
 }
 
+.dedication, .dedication .paragraph
+{
+    text-align: right;
+    font-style: italic;
+}
+
 .note
 {
     text-align: right;
@@ -272,10 +272,12 @@ h2 + .paragraph:first-letter
     text-align: justify;
 }
 
-.dedication, .dedication .paragraph
+.frame
 {
-    text-align: right;
-    font-style: italic;
+    border: 1px darkgray solid;
+    padding: 1em;
+    margin-top: 1em;
+    margin-bottom: 1em;
 }
 
 hr.spacer
@@ -336,6 +338,12 @@ em.author-emphasis
     letter-spacing: 0.1em;
 }
 
+em.wieksze-odstepy
+{
+    font-style: normal;
+    word-spacing: 1em;
+}
+
 .person-list em.person
 {
     font-style: normal;
@@ -368,3 +376,15 @@ p.minor-info {
 p.footer {
     margin-top: 2em;
 }
+
+table {
+    border-collapse: collapse;
+    width: 100%;
+}
+table.border th, table.border td {
+    border: 1px solid black;
+}
+
+th, td {
+    vertical-align: top;
+}
\ No newline at end of file