diff --git a/style.css b/style.css new file mode 100644 index 0000000..f7bb35c --- /dev/null +++ b/style.css @@ -0,0 +1,26 @@ +body { + max-width: 40em; + font-family: Antykwa Torunska; +} + +img { + max-width: 100%; + max-height: 100%; +} + +.part { + padding: 40% 0; + page-break-before: always; + page-break-after: always; + font-size: 400%; + text-align: center; +} + +.chapter { + page-break-before: always; + margin-top: 40%; +} + +.author { + border-bottom: 2px solid black; +} diff --git a/toepub.py b/toxhtml.py similarity index 91% rename from toepub.py rename to toxhtml.py index 4eb96b0..5ad7eea 100755 --- a/toepub.py +++ b/toxhtml.py @@ -93,9 +93,10 @@ def art(artist, url, title=None): print('
%s
' % (atxt)) print('