From 3a1b492a103cce0a38777e61ee2bdefe826169fe Mon Sep 17 00:00:00 2001 From: Bjorn Zschernack Date: Thu, 18 Jan 2024 13:06:22 +0100 Subject: [PATCH] update --- scss/includes/_content.scss | 4 ++++ scss/styles.css | 17 +++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/scss/includes/_content.scss b/scss/includes/_content.scss index 13e9c60..0f6a768 100644 --- a/scss/includes/_content.scss +++ b/scss/includes/_content.scss @@ -151,6 +151,10 @@ a{ &.subpage-content{ .teaser { height: 140px; + + @media(max-width:992px) { + height: auto; + } } height: auto; } diff --git a/scss/styles.css b/scss/styles.css index 73a9561..a8314f5 100644 --- a/scss/styles.css +++ b/scss/styles.css @@ -363,31 +363,31 @@ body #header .headercontent.more-margin-top, body #header-mobile .headercontent. background-image: url("../images/icons/felge_icon_white.svg"); display: inline-block; } -#menucontainer ul li.beschichtung a:before { +#menucontainer ul li.aufbereitung a:before { background-image: url("../images/icons/Beschichtung_icon.svg"); background-size: 25.8px 14.9px !important; display: inline-block; } @media (max-width: 1200px) { - #menucontainer ul li.beschichtung a:before { + #menucontainer ul li.aufbereitung a:before { background-size: 50% !important; } } -#menucontainer ul li.beschichtung:hover a:before, #menucontainer ul li.beschichtung.current-menu-item a:before { +#menucontainer ul li.aufbereitung:hover a:before, #menucontainer ul li.aufbereitung.current-menu-item a:before { background-image: url("../images/icons/Beschichtung_icon_white.svg"); display: inline-block; } -#menucontainer ul li.aufbereitung a:before { +#menucontainer ul li.beschichtung a:before { background-image: url("../images/icons/aufbereitung_icon.svg"); background-size: 25.8px 14.9px !important; display: inline-block; } @media (max-width: 1200px) { - #menucontainer ul li.aufbereitung a:before { + #menucontainer ul li.beschichtung a:before { background-size: 60% !important; } } -#menucontainer ul li.aufbereitung:hover a:before { +#menucontainer ul li.beschichtung:hover a:before { background-image: url("../images/icons/aufbereitung_icon_white.svg"); display: inline-block; } @@ -762,6 +762,11 @@ a:hover { .posts-grid .single-post .single-post-content.subpage-content .teaser { height: 140px; } +@media (max-width: 992px) { + .posts-grid .single-post .single-post-content.subpage-content .teaser { + height: auto; + } +} .posts-grid .single-post .imagecontainer { width: 100%; height: 240px;