From c5a02cc721c74fe7a46a3975e7d47471ab05a8f6 Mon Sep 17 00:00:00 2001 From: xoy Date: Sun, 29 Jan 2023 20:41:01 +0100 Subject: [PATCH] =?UTF-8?q?css=20ver=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/styles/events.css | 11 ++++------- web/styles/home.css | 7 +++++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/web/styles/events.css b/web/styles/events.css index 3e8f0d0..05cc1bb 100644 --- a/web/styles/events.css +++ b/web/styles/events.css @@ -13,13 +13,14 @@ div.eventList a.event { } div.eventList a.event:hover { - text-decoration: underline; + text-decoration: none !important; } div.eventList a.event div.event { max-width: 100%; width: 420px; - height: 200px; + min-height: 200px; + height: auto; transform: scale(1); transition: transform .5s; padding: 10px 10px 10px 10px; @@ -33,13 +34,9 @@ div.eventList a.event:hover div.event { transition: transform .5s; } -div.eventList a.event:hover div.event p.date { - text-decoration: none !important; -} - div.eventList a.event div.event p.date { text-align: right; padding: 0 10px 0 0; margin: 0; - word-wrap: normal; + word-wrap: break-word; } \ No newline at end of file diff --git a/web/styles/home.css b/web/styles/home.css index a8997de..539959f 100644 --- a/web/styles/home.css +++ b/web/styles/home.css @@ -5,4 +5,11 @@ main img { main div.rundgang { height: 140px; +} + +@media only screen and (max-width: 885px) { + main img { + height: 400px; + object-fit: cover; + } } \ No newline at end of file