]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
only justify and text-wrap pretty on paragraph blocks
authorCameron Otsuka <cameron@otsuka.haus>
Mon, 2 Mar 2026 17:36:37 +0000 (09:36 -0800)
committerCameron Otsuka <cameron@otsuka.haus>
Mon, 2 Mar 2026 17:36:37 +0000 (09:36 -0800)
src/styles/style.css

index 0f77bbd7d6db8010c472048a29fafe326a66a957..6f3a5b065ea11f54a7a6e9c4812e027094241a9b 100644 (file)
@@ -45,8 +45,6 @@ body {
   padding: 0.5rem 1rem;
   line-height: var(--line-height-body);
   text-rendering: optimizeLegibility;
-  text-wrap: pretty;
-  text-align: justify;
 }
 h1,
 h2,
@@ -93,6 +91,8 @@ mark {
 }
 p {
   margin-block-end: 1rem;
+  text-wrap: pretty;
+  text-align: justify;
 }
 a {
   text-decoration: none;