From 2fe5dfbd7dbbb0f8ad9ccd05a0858cbcecf0f119 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sun, 13 Feb 2022 21:35:32 -0500 Subject: Fixed Mobile site Text --- CSS/main.css | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'CSS/main.css') diff --git a/CSS/main.css b/CSS/main.css index 0fbc714..0ba775a 100644 --- a/CSS/main.css +++ b/CSS/main.css @@ -71,14 +71,13 @@ margin-top:10px; margin-bottom:10px; } - @media only screen and (max-width: 838px){ + @media only screen and (orientation: portrait){ .main{ margin:auto; width:90%; + font-size:36px; } - } - @media only screen and (min-height: 1440px){ - li a{ + li.topLink a{ font-size:36px; } .search{ @@ -88,11 +87,6 @@ font-size:256px; } } - @media only screen and (max-width: 1365px){ - .desktop{ - display:none; - } - } } @media (prefers-color-scheme: dark) { @@ -168,14 +162,13 @@ margin-top:10px; margin-bottom:10px; } - @media only screen and (max-width: 838px){ + @media only screen and (orientation: portrait){ .main{ margin:auto; width:90%; + font-size:36px; } - } - @media only screen and (min-height: 1440px){ - li a{ + li.topLink a{ font-size:36px; } .search{ @@ -185,9 +178,4 @@ font-size:256px; } } - @media only screen and (max-width: 1365px){ - .desktop{ - display:none; - } - } } \ No newline at end of file -- cgit v1.2.3