summaryrefslogtreecommitdiffstats
path: root/assets/css
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2026-05-31 20:51:26 +0800
committerSadeep Madurange <sadeep@asciimx.com>2026-06-01 11:04:18 +0800
commitd8fd44c649b01f4cc945a7418895a2c1434f17f6 (patch)
tree773915653b2f981929827426d7b741dcb04b6dec /assets/css
parent199363b375f2c44f6da956b1627fa28cad87a335 (diff)
downloadwww-d8fd44c649b01f4cc945a7418895a2c1434f17f6.tar.gz
Justify text and reduce column width.
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/main.css9
1 files 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 {