From d67668de230bcb3e17c388abc4acef4dcd29b112 Mon Sep 17 00:00:00 2001
From: wsuetholz
Date: Tue, 9 Nov 2010 18:20:37 -0600
Subject: [PATCH] Changes to the format of the title page. Tried to fix the
description field on the title page and the contents.opf page.
---
constants.py | 43 ++++++++++++++++---------------------------
output.py | 11 +++++++++--
2 files changed, 25 insertions(+), 29 deletions(-)
diff --git a/constants.py b/constants.py
index 6ea1f08..9f14afb 100644
--- a/constants.py
+++ b/constants.py
@@ -2,12 +2,14 @@
CSS = '''body { margin-left: 5%; margin-right: 5%; margin-top: 5%; margin-bottom: 5%; text-align: justify; }
pre { font-size: x-small; }
+sml { font-size: small; }
h1 { text-align: center; }
h2 { text-align: center; }
h3 { text-align: center; }
h4 { text-align: center; }
h5 { text-align: center; }
h6 { text-align: center; }
+h7 { text-align: left; font-size: large; font-weight: bold; }
.CI {
text-align:center;
margin-top:0px;
@@ -26,34 +28,21 @@ h6 { text-align: center; }
MIMETYPE = '''application/epub+zip'''
TITLE_PAGE = '''
-%s - %s
-
+
%s - %s
+
%s by %s
-
-| |
- |
-
| |
- |
-
| Category: | %s |
-
| Genre: | %s |
-
| Status: | %s |
-
| Published: | %s |
-
| Updated: | %s |
-
| Packaged: | %s |
-
| Rating Age/User: | %s / %s |
-
| Chapters/Words: | %s / %s |
-
| URL: | |
-
| Summary: |
-
| %s |
-
| |
- |
-
| |
- |
-
-
+| Category: | %s |
+| Genre: | %s |
+| Status: | %s |
+| Published: | %s |
+| Updated: | %s |
+| Packaged: | %s |
+| Rating Age/User: | %s / %s |
+| Chapters/Words: | %s / %s |
+
+URL:
%s
+Summary:
%s
+