From 603876b88d754a10cdbcf11b18c4fcc4dc0aaa91 Mon Sep 17 00:00:00 2001 From: "C. Lente" <7017340+clente@users.noreply.github.com> Date: Thu, 27 Apr 2023 11:55:52 -0300 Subject: Adjust heading sizes --- assets/herman.css | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'assets') diff --git a/assets/herman.css b/assets/herman.css index cf54dd2..1eae1f3 100644 --- a/assets/herman.css +++ b/assets/herman.css @@ -69,25 +69,21 @@ img { h1, h2, h3, -h4, -h5 { +h4 { font-weight: 700; line-height: 1.3; } h1 { - font-size: calc(var(--size) * 5.7); + font-size: calc(var(--size) * 4.2); } h2 { - font-size: calc(var(--size) * 4.3); + font-size: calc(var(--size) * 3.4); } h3 { - font-size: calc(var(--size) * 3.2); + font-size: calc(var(--size) * 2.6); } h4 { - font-size: calc(var(--size) * 2.4); -} -h5 { font-size: calc(var(--size) * 1.8); } @@ -106,13 +102,13 @@ blockquote { max-width: 50ch; } -:is(h1, h2, h3, h4, h5, blockquote) { +:is(h1, h2, h3, h4, blockquote) { margin-block-end: calc(var(--spacing) / 2); } -:is(h1, h2, h3, h4, h5) + * { +:is(h1, h2, h3, h4) + * { margin-block-start: calc(var(--spacing) / 3); } -:is(h1, h2, h3, h4, h5) + :where(h2, h3, h4, h5) { +:is(h1, h2, h3, h4) + :where(h2, h3, h4) { margin-block-start: calc(var(--spacing) * 2); } @@ -120,7 +116,7 @@ blockquote { text-decoration: none; } .title h1 { - font-size: calc(var(--size) * 3.2); + font-size: calc(var(--size) * 3.4); margin-top: calc(var(--spacing) / 2); } @@ -178,9 +174,3 @@ td { gap: calc(var(--spacing) / 2); } } - -@media screen and (max-width: 600px) { - :root { - --size: 0.9rem; - } -} -- cgit v1.2.3