From cf8be762ca914e5761868ae4fefb9d05f608c5d6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 21 Feb 2021 10:30:24 +0100 Subject: [PATCH] modified css for tablet and mobile --- themes/default/static/css/main.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/themes/default/static/css/main.css b/themes/default/static/css/main.css index 6162aaa..75be08c 100644 --- a/themes/default/static/css/main.css +++ b/themes/default/static/css/main.css @@ -28,7 +28,7 @@ header#banner{ } header#banner h1{ font-family: 'Syne'; - font-size: 10em; + font-size: 9vw; line-height:1.25; margin: 0 auto; padding-bottom: 0.5em; @@ -137,7 +137,7 @@ ul.navprevnext{ ul.navprevnext li.none{ position: relative; width: 20%; - height: 150px; + height: auto; top:0; background-color: #a4e7ff; border-radius: 1em; @@ -168,12 +168,14 @@ ul.navprevnext{ ul.navprevnext li.none, ul.navprevnext li.prev{ float: left; - left:-5.5%; + left:-14%; + padding-bottom: 2.5em; } ul.navprevnext li.next, ul.navprevnext li.done{ float: right; right: -11.5%; + padding-bottom: 1.7em; } /* you finished this section */ ul.navprevnext li.done{ @@ -262,7 +264,7 @@ p { } header#banner h1 { - font-size: 2.5em; + font-size: 11vw; } h1.category { @@ -306,7 +308,7 @@ p { } header#banner h1 { - font-size: 2.5em; + font-size: 11vw; } h1.category {