From 90b19cf49cc98d0fe3f1eba475047e61f534ad56 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 21 Sep 2022 09:54:12 +0100 Subject: [PATCH] Updates styles again --- styles/style.css | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/styles/style.css b/styles/style.css index 615581a..9232f1c 100644 --- a/styles/style.css +++ b/styles/style.css @@ -32,6 +32,12 @@ body { font-size: 18px; } +@media only screen and (min-width: 600px) { + .form-text-small { + width: 50%; + } +} + .form-text-large { text-align: left; border: black; @@ -42,6 +48,12 @@ body { font-size: 16px; } +@media only screen and (min-width: 600px) { + .form-text-large { + width: 50%; + } +} + .form-info { color: #0280e5; font-size: 17px; @@ -55,20 +67,12 @@ body { padding-bottom: 5px; } -.text-description p { +p.text-description{ width: 80%; } -@media only screen and (min-width: 768px) { - .form-text-small { - width: 50%; - } - - .form-text-large { - width: 50%; - } - - .text-description p { +@media only screen and (min-width: 600px) { +p.text-description{ width: 50%; } }