From e38db62af2f2ca57ee6c348985757c89d303ada7 Mon Sep 17 00:00:00 2001 From: yoanhg421 Date: Mon, 2 Oct 2023 11:41:26 -0700 Subject: [PATCH] revert some styles for better landscape display --- internal/epub/templates/epub_templates_style.css.tmpl | 3 ++- internal/epub/templates/epub_templates_text.xhtml.tmpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/epub/templates/epub_templates_style.css.tmpl b/internal/epub/templates/epub_templates_style.css.tmpl index f97bdf7..0f6033d 100644 --- a/internal/epub/templates/epub_templates_style.css.tmpl +++ b/internal/epub/templates/epub_templates_style.css.tmpl @@ -4,6 +4,8 @@ } body { + color: #{{ .View.Color.Foreground }}; + background: #{{ .View.Color.Background }}; display: block; margin: 0; padding: 0; @@ -19,5 +21,4 @@ div { img { margin: 0; padding: 0; - height: {{ .View.Height }}px; } \ No newline at end of file diff --git a/internal/epub/templates/epub_templates_text.xhtml.tmpl b/internal/epub/templates/epub_templates_text.xhtml.tmpl index 2042dcb..55aa8f2 100644 --- a/internal/epub/templates/epub_templates_text.xhtml.tmpl +++ b/internal/epub/templates/epub_templates_text.xhtml.tmpl @@ -9,7 +9,7 @@
- {{ .Title }} + {{ .Title }}
\ No newline at end of file