aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2025-08-25 14:58:08 +0200
committerMathias Magnusson <mathias@magnusson.space>2025-08-25 14:58:08 +0200
commit5391b4a7b69c7fea5df6fa658c67ec683a94cea3 (patch)
tree58425bcaab7763981e0a74820f9710609f3674c9 /style.css
parentb9f64aef2d79bbe389cd5b3c627d1d6bd948475b (diff)
downloadtraedgaardstomten-5391b4a7b69c7fea5df6fa658c67ec683a94cea3.tar.gz
Fix header font on mobile
Diffstat (limited to 'style.css')
-rw-r--r--style.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/style.css b/style.css
index 327d962..ba4bea3 100644
--- a/style.css
+++ b/style.css
@@ -29,13 +29,19 @@ body {
header section {
padding-block: 0.6em;
text-align: center;
- font-size: 48px;
+ font-size: 32px;
background-color: var(--green);
display: grid;
place-items: center;
color: var(--beige);
}
+@media (min-width: 500px) {
+ header section {
+ font-size: 48px;
+ }
+}
+
header nav {
display: flex;
justify-content: center;