From d31020031dbeb990a15136ca490e2749dbafbfe5 Mon Sep 17 00:00:00 2001 From: Michael Drury <mpdrury15@gmail.com> Date: Fri, 28 Apr 2023 13:22:27 +0100 Subject: [PATCH] changing font sizes to using vw so changes when screen size changes --- shop/static/styles.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shop/static/styles.css b/shop/static/styles.css index 51444b9..7239a77 100644 --- a/shop/static/styles.css +++ b/shop/static/styles.css @@ -60,7 +60,7 @@ a:link { } .shopping_title { - font-size: 450%; + font-size: 4vw; border: thin; margin-left: 2%; font-family: Andale Mono, monospace; @@ -180,9 +180,9 @@ li { display: block; font-family: Andale Mono, monospace; color: grey; - font-size: 200%; + font-size: 2vw; text-align: center; - padding: 18px 16px; + padding: 10% 10%; float: right text-align: center; } -- GitLab