chiark / gitweb /
Set a maximum width on the body of the Web page
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 10 Oct 2021 19:41:03 +0000 (20:41 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 10 Oct 2021 19:41:03 +0000 (20:41 +0100)
This stops the lines of text becoming excessively long.

bedstead.css

index 77d2165c0fcd3464f5285ec4c3433a42316993f7..89df7cecde0121005cbf2dd958be50ec196801e8 100644 (file)
@@ -10,6 +10,7 @@ body {
     font-feature-settings: "palt";
     font-synthesis: none;
     margin-left: 24px;
+    max-width: 60em;
 }
 
 /* Except where it's conventional to use a monospaced version. */