From 4a3b92f3619916fc704ee5a8c392187914f9867b Mon Sep 17 00:00:00 2001 From: trwnh Date: Sat, 3 Oct 2020 08:30:41 -0500 Subject: [PATCH] adjust headings size --- assets/scss/main.scss | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 369b84d..90196d9 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -69,24 +69,30 @@ main {flex-grow: 1} } /* single */ -.page-header { - - max-height: calc(100vh - 44px); -} -.page-title { - font-size: 2em; - @media (min-width: 62em) {font-size: 3em;} - font-weight: 700; - line-height: 1.2; -} .page { + h1 { + font-size: 1.5em; + @media (min-width: 600px) {font-size: 2rem} + @media (min-width: 768px) {font-size: 3rem} + font-weight: 700; + } h2 { - font-size: 2em; + font-size: 1.25em; + @media (min-width: 600px) {font-size: 1.75rem} + @media (min-width: 768px) {font-size: 2rem} font-weight: 700; margin-bottom: 0.7em; margin-top: 2em; line-height: 1.2; } + h3 { + font-size: 1em; + @media (min-width: 600px) {font-size: 1.5rem} + @media (min-width: 768px) {font-size: 1.75rem} + font-weight: 700; + margin-bottom: 0.7em; + line-height: 1.2; + } a { color: inherit; text-underline-offset: 7px;