aboutsummaryrefslogtreecommitdiff
path: root/blog/src
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-03-15 15:55:04 +0100
committeralexpdp7 <alex@corcoles.net>2025-03-15 15:57:32 +0100
commit10b585c490558ae744510a01a9556d251ce0b941 (patch)
tree0164a9105d938515a2813d2c44fee2404df714d5 /blog/src
parentb8c97576fd44045ad7edf26afb51740f61840a8e (diff)
Fix indentation
Diffstat (limited to 'blog/src')
-rw-r--r--blog/src/blog/html.py38
1 files changed, 19 insertions, 19 deletions
diff --git a/blog/src/blog/html.py b/blog/src/blog/html.py
index f2319fb4..7ab41178 100644
--- a/blog/src/blog/html.py
+++ b/blog/src/blog/html.py
@@ -47,27 +47,27 @@ def html_template(*content, page_title=None, path, full):
),
h.STYLE(
textwrap.dedent("""
- body {
- max-width: 40em;
- margin-left: auto;
- margin-right: auto;
- padding-left: 2em;
- padding-right: 2em;
- background-color: #fffffa;
- color: #000000;
- }
- @media (prefers-color-scheme: dark) {
body {
- background-color: #000000;
- color: #fffffa;
+ max-width: 40em;
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: 2em;
+ padding-right: 2em;
+ background-color: #fffffa;
+ color: #000000;
}
- }
- p, blockquote, li {
- /* from Mozilla reader mode */
- line-height: 1.6em;
- font-size: 20px;
- }
- """).lstrip()
+ @media (prefers-color-scheme: dark) {
+ body {
+ background-color: #000000;
+ color: #fffffa;
+ }
+ }
+ p, blockquote, li {
+ /* from Mozilla reader mode */
+ line-height: 1.6em;
+ font-size: 20px;
+ }
+ """).lstrip()
),
),
h.BODY(