From d8fd44c649b01f4cc945a7418895a2c1434f17f6 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sun, 31 May 2026 20:51:26 +0800 Subject: Justify text and reduce column width. --- assets/css/main.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 9d84bb2..88e4f71 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -2,10 +2,16 @@ body { font: 17px/1.6 sans-serif; text-rendering: optimizeLegibility; padding: 2rem; - max-width: 72ch; + max-width: 65ch; margin: 0 auto; } +article { + text-align: justify; + text-justify: inter-word; + hyphens: auto; +} + h1, h2, h3, h4, h5 { font-size: inherit; font-weight: inherit; @@ -23,7 +29,6 @@ pre, code { background: #2d7a99; color: #ffffff; line-height: 1.5; - border-radius: 4px; } .pre-no-style { -- cgit v1.2.3