Commit 4377fc3883

4377fc38834142ae6a6d970cb3b62f0bd1a5e310

parent: 8ed9f60af1

Unsigned

cmc <hello@cleberg.net> · 2025-09-04 22:09 UTC

fix font sizes

Layout: unified · split

theme/static/styles.css +7 −1
@@ -21,13 +21,19 @@ body {
21 background-color: var(--bg); 21 background-color: var(--bg);
22 color: var(--fg); 22 color: var(--fg);
23 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; 23 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;
24 font-size: 1.25rem; 24 font-size: 1rem;
25 line-height: 1.5; 25 line-height: 1.5;
26 max-width: 50em; 26 max-width: 50em;
27 margin: 0 auto; 27 margin: 0 auto;
28 padding: 0 clamp(1rem, 5vw, 3rem); 28 padding: 0 clamp(1rem, 5vw, 3rem);
29} 29}
30 30
31@media only screen and (min-width: 768px) {
32 body {
33 font-size: 1.1rem;
34 }
35}
36
31@media (min-width: 768px) { 37@media (min-width: 768px) {
32 body { 38 body {
33 padding: 0 2rem; 39 padding: 0 2rem;