From 0062bd82dc45191969bde58a067632a267c13298 Mon Sep 17 00:00:00 2001 From: TimVanDeursen Date: Tue, 14 May 2024 14:36:58 +0200 Subject: [PATCH] Update style.css Responsive fix --- css/style.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index cf26921..eba3c5b 100644 --- a/css/style.css +++ b/css/style.css @@ -60,7 +60,7 @@ article { margin: 0 auto; - width: 800px; + max-width: 800px; padding: 5em 0; } @@ -133,4 +133,11 @@ -webkit-box-shadow: 0 0 10px rgba(0,0,0,.7); -moz-box-shadow: 0 0 10px rgba(0,0,0,.7); } - \ No newline at end of file +/* Responsive adjustments */ +@media (max-width: 768px) { + header#banner h1 { + font-size: 1.5em; + } + +} +