reorder CSS rules for ePUB because FBReader is weird
[librarian.git] / librarian / epub / style.css
index e40c754..82ad4b9 100644 (file)
@@ -253,6 +253,12 @@ h2 + .paragraph:first-letter
     padding-bottom: 1.5em;
 }
 
+.dedication, .dedication .paragraph
+{
+    text-align: right;
+    font-style: italic;
+}
+
 .note
 {
     text-align: right;
@@ -266,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
@@ -376,3 +384,7 @@ table {
 table.border th, table.border td {
     border: 1px solid black;
 }
+
+th, td {
+    vertical-align: top;
+}
\ No newline at end of file