aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2025-09-04 17:09:41 -0500
committerChristian Cleberg <[email protected]>2025-09-04 17:09:41 -0500
commit4377fc38834142ae6a6d970cb3b62f0bd1a5e310 (patch)
tree3192d13aa2a01682f726ef93f6906d18d998a71c
parent8ed9f60af1f1a3beca8f114db0175ce31f17822d (diff)
downloadcleberg.net-4377fc38834142ae6a6d970cb3b62f0bd1a5e310.tar.gz
cleberg.net-4377fc38834142ae6a6d970cb3b62f0bd1a5e310.tar.bz2
cleberg.net-4377fc38834142ae6a6d970cb3b62f0bd1a5e310.zip
fix font sizes
-rw-r--r--theme/static/styles.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/theme/static/styles.css b/theme/static/styles.css
index 7fca84b..0758a1f 100644
--- a/theme/static/styles.css
+++ b/theme/static/styles.css
@@ -21,13 +21,19 @@ body {
background-color: var(--bg);
color: var(--fg);
font-family: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
- font-size: 1.25rem;
+ font-size: 1rem;
line-height: 1.5;
max-width: 50em;
margin: 0 auto;
padding: 0 clamp(1rem, 5vw, 3rem);
}
+@media only screen and (min-width: 768px) {
+ body {
+ font-size: 1.1rem;
+ }
+}
+
@media (min-width: 768px) {
body {
padding: 0 2rem;