From d1851b3b418d62889c9cb6c531f369aa3477544d Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 19 Oct 2022 21:23:39 +0100 Subject: [PATCH] Adjust @media queries --- style/new_menu.css | 2 +- style/new_style.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/style/new_menu.css b/style/new_menu.css index 2b68934..335b7ec 100644 --- a/style/new_menu.css +++ b/style/new_menu.css @@ -75,7 +75,7 @@ width: 100%; } -@media screen and (min-width: 800px) { +@media screen and (min-width: 800px) and (min-height: 700px) { #menubar { position: -webkit-sticky; position: sticky; diff --git a/style/new_style.css b/style/new_style.css index 5b006d4..031324d 100644 --- a/style/new_style.css +++ b/style/new_style.css @@ -37,4 +37,10 @@ body { margin-top: 10px; margin-bottom: 10px; width: 90%; +} + +@media screen and (min-width: 800px) and (min-height: 700px) { + #header_image_home { + margin-top: auto; + } } \ No newline at end of file