diff options
author | C. Lente <7017340+clente@users.noreply.github.com> | 2023-04-27 11:55:52 -0300 |
---|---|---|
committer | C. Lente <7017340+clente@users.noreply.github.com> | 2023-04-27 11:55:52 -0300 |
commit | 603876b88d754a10cdbcf11b18c4fcc4dc0aaa91 (patch) | |
tree | f6f10d0d58de21421175d57382ae55b5105de526 /assets/herman.css | |
parent | be1cbcc552b76f0e2e57933339c69f5ea473f1cb (diff) | |
download | hugo-bearcub-603876b88d754a10cdbcf11b18c4fcc4dc0aaa91.tar.gz hugo-bearcub-603876b88d754a10cdbcf11b18c4fcc4dc0aaa91.tar.bz2 |
Adjust heading sizes
Diffstat (limited to 'assets/herman.css')
-rw-r--r-- | assets/herman.css | 26 |
1 files changed, 8 insertions, 18 deletions
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; - } -} |