diff options
author | 2024-04-29 01:33:12 +0100 | |
---|---|---|
committer | 2024-04-29 01:33:12 +0100 | |
commit | 5f97a47e1840b0b9a681999b11ccba4bba508749 (patch) | |
tree | 9532a7d7c27ce568c8562a4f10cdac0394f19f97 | |
parent | Add bottom margin (diff) |
Update fonts for small displays
-rw-r--r-- | src/layout/page.tsx | 5 |
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` |