aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-11-11 17:36:20 +0100
committeralex <alex@pdp7.net>2023-11-11 17:36:20 +0100
commit3917753a4d6509cb32b1aa8199409cd34cf6e9e5 (patch)
treea42d8257a217135e080c716f16ac18db6c94a4f0
parentb3032c495b2eabd3ee0715f745fa9613f2668427 (diff)
Tweak CSS more
-rw-r--r--blog/blog/html.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/blog/blog/html.py b/blog/blog/html.py
index 72f5dfe6..bf21d349 100644
--- a/blog/blog/html.py
+++ b/blog/blog/html.py
@@ -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;