From 4bd66aeea956d7041d64417c7f3d9fa1a6da30ee Mon Sep 17 00:00:00 2001 From: Jens L Date: Sun, 25 Jun 2023 16:15:49 +0200 Subject: [PATCH] website: fix layout on mobile devices (#6058) --- website/src/css/custom.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 0f1d8afc2..a17c86ae0 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -38,6 +38,18 @@ max-height: 200px; } +@media (max-width: 996px) { + .hero_image > img { + display: none; + } +} + +@media (max-width: 430px) { + .hero__title { + font-size: 2rem; + } +} + .before-after-slider img { max-width: none; }