From 9fc749a0e3b17be5b5d9e125d88cba47902b06bd Mon Sep 17 00:00:00 2001 From: Garrit Franke Date: Tue, 30 Mar 2021 22:18:35 +0200 Subject: [PATCH] fix: text sizes --- styles/atoms.css | 6 ++++++ styles/contact.css | 6 ++++++ styles/services.css | 16 ++++++++++++++++ 3 files changed, 28 insertions(+) diff --git a/styles/atoms.css b/styles/atoms.css index f16492e..2491050 100644 --- a/styles/atoms.css +++ b/styles/atoms.css @@ -20,4 +20,10 @@ .button__link:hover { color: black; background: white; +} + +@media only screen and (max-width: 520px) { + .button__link p { + font-size: 1.3rem; + } } \ No newline at end of file diff --git a/styles/contact.css b/styles/contact.css index 78244b8..e7c8d1e 100644 --- a/styles/contact.css +++ b/styles/contact.css @@ -8,4 +8,10 @@ margin: auto; margin-bottom: 2rem; width: 15rem; +} + +@media only screen and (max-width: 520px) { + .button__contact { + width: auto; + } } \ No newline at end of file diff --git a/styles/services.css b/styles/services.css index 158a8d0..53482db 100644 --- a/styles/services.css +++ b/styles/services.css @@ -33,6 +33,16 @@ font-size: 1rem; } +@media only screen and (max-width: 520px) { + .services__offers__card { + margin-bottom: 3rem; + } + .services__offers__card__description { + font-size: 1.3rem; + height: auto; + } +} + @media only screen and (max-width: 380px) { .services__offers { width: 100vw; @@ -41,5 +51,11 @@ .services__offers__card { width: 25rem; + margin-bottom: 3rem; + } + + .services__offers__card__description { + font-size: 1.3rem; + height: auto; } }