aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-04-29 01:33:12 +0100
committerGravatar Joe Banks <[email protected]>2024-04-29 01:33:12 +0100
commit5f97a47e1840b0b9a681999b11ccba4bba508749 (patch)
tree9532a7d7c27ce568c8562a4f10cdac0394f19f97
parentAdd bottom margin (diff)
Update fonts for small displays
-rw-r--r--src/layout/page.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/layout/page.tsx b/src/layout/page.tsx
index 8c4ba7d..2bfec09 100644
--- a/src/layout/page.tsx
+++ b/src/layout/page.tsx
@@ -37,10 +37,15 @@ const CenterImage = styled.img`
const Header = styled.h1`
font-size: 3em;
margin: 0;
+
+ @media (max-width: 600px) {
+ font-size: 2em;
+ }
`
const SubHeader = styled.h2`
margin: 0;
+line-height: 1em;
`
const HeaderDiv = styled.div`