Fix: Reduce header sizes, only increased body/paragraph text (18px base)

This commit is contained in:
Kunthawat Greethong
2026-03-04 10:59:07 +07:00
parent 49a92862fb
commit 62e5f83cb9

View File

@@ -37,8 +37,27 @@
body { body {
font-family: var(--font-sans); font-family: var(--font-sans);
color: var(--color-text); color: var(--color-text);
line-height: 1.6; line-height: 1.7;
background: var(--color-white); background: var(--color-white);
font-size: 1.125rem; /* 18px base - increased for body text */
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-display);
font-weight: 700;
line-height: 1.3;
margin-bottom: 0.75em;
}
/* Heading sizes - kept reasonable */
h1 { font-size: 2.5rem; } /* 40px */
h2 { font-size: 2rem; } /* 32px */
h3 { font-size: 1.5rem; } /* 24px */
h4 { font-size: 1.25rem; } /* 20px */
p {
margin-bottom: 1.25em;
font-size: 1.0625rem; /* 17px for paragraphs */
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {