commit b4a44a53c42c41f369be46bf07fde8b6c62ffa03
parent d66b12f585fba304b3cce33a92196988473d7c7f
Author: Gabriel de Brito <me@gboncoffee.dev.br>
Date: Mon, 30 Nov 2026 21:05:07 -0300
Justify prose text with automatic hyphenation.
Verse blocks stay left-aligned and unhyphenated, so wrapped verse lines
on narrow screens are not stretched.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/head.html b/head.html
@@ -128,6 +128,17 @@
padding-bottom: 4em;
}
+ #content p, #content li {
+ text-align: justify;
+ hyphens: auto;
+ }
+
+ /* Verse lines that wrap on narrow screens must not be stretched. */
+ #content p.verse {
+ text-align: left;
+ hyphens: manual;
+ }
+
img {
max-width: 80vw;
max-height: 80vh;