From eb8440f34c4e51d51fe3231251a4d6c5e4c04481 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 25 Feb 2026 16:38:25 -0800 Subject: [PATCH] 36px font size to get about 8-9 lines per slide. --- app.py | 2 ++ templates/passage.css | 9 ++------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app.py b/app.py index f10f08e..c51bfa2 100644 --- a/app.py +++ b/app.py @@ -63,6 +63,8 @@ def index(): sp.decompose() for sp in soup.find_all('div',class_='crossrefs'): sp.decompose() + for sp in soup.find_all('h2'): + sp.decompose() for sp in soup.find_all('div',class_='passage-content'): verse_html = verse_html + sp.prettify() diff --git a/templates/passage.css b/templates/passage.css index a6b8f5b..6853e94 100644 --- a/templates/passage.css +++ b/templates/passage.css @@ -1,8 +1,8 @@ .text-html p, .text-html td { - font-size: 24px; + font-size: 36px; font-size: 1.6rem; - line-height: 24px; + line-height: 36px; line-height: 2.4rem; } @page { @@ -244,11 +244,6 @@ .text-html div.poetry p .text { position: relative; } -.text-html div.poetry p .versenum { - display: block; - position: absolute; - left: -4.4em; -} .text-html .footnotes div.poetry p .versenum { left: -1.25em; }