]> xn--ix-yja.es Git - alex.git/commitdiff
Tweak CSS more
authoralex <alex@pdp7.net>
Sat, 11 Nov 2023 16:36:20 +0000 (17:36 +0100)
committeralex <alex@pdp7.net>
Sat, 11 Nov 2023 16:36:20 +0000 (17:36 +0100)
blog/blog/html.py

index 72f5dfe6c85ba38eb004a71ab707d3cde6eb4e56..bf21d349c9774f2f62f07b8883cdbe0261fb22e7 100644 (file)
@@ -31,11 +31,14 @@ def html_template(*content, page_title=None, full):
                 h.LINK(rel="alternate", type="application/rss+xml", title=meta.TITLE, href=f"{meta.SCHEMA}://{meta.HOST}/feed/"),
                 h.STYLE(textwrap.dedent("""
                     body {
-                        max-width: 60em;
+                        max-width: 50em;
                         margin-left: auto;
                         margin-right: auto;
                         padding-left: 2em;
                         padding-right: 2em;
+                        background-color: #fffffa;
+                    }
+                    p {
                         /* from Mozilla reader mode */
                         line-height: 1.6em;
                         font-size: 20px;