aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blog/style.css8
1 files changed, 3 insertions, 5 deletions
diff --git a/blog/style.css b/blog/style.css
index 60cec1f7..ad714ff4 100644
--- a/blog/style.css
+++ b/blog/style.css
@@ -1,5 +1,8 @@
:root {
color-scheme: light dark;
+ /* from Mozilla reader mode and https://lobste.rs/c/zeegjm */
+ line-height: 1.6em;
+ font-size: max(1rem, 20px);
}
body {
max-width: 40em;
@@ -8,8 +11,3 @@ body {
padding-left: 2em;
padding-right: 2em;
}
-p, blockquote, li {
- /* from Mozilla reader mode and https://lobste.rs/c/zeegjm */
- line-height: 1.6em;
- font-size: max(1rem, 20px);
-}