aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-09-04 17:09:41 -0500
committerChristian Cleberg <hello@cleberg.net>2025-09-04 17:09:41 -0500
commitbec26ec34a8f7f46f371e348378004699869b12e (patch)
tree3192d13aa2a01682f726ef93f6906d18d998a71c
parent96964fe6f8a2e4de7fcf85a859e3ec890dd5dca7 (diff)
downloadcleberg.net-bec26ec34a8f7f46f371e348378004699869b12e.tar.gz
cleberg.net-bec26ec34a8f7f46f371e348378004699869b12e.tar.bz2
cleberg.net-bec26ec34a8f7f46f371e348378004699869b12e.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;