Commit 8fae208f authored by Michael Apfelthaler's avatar Michael Apfelthaler

Add Margin to Fact Filter

parent 854e3ba2
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
{% endif %}</h2> {% endif %}</h2>
<div class="news mt16"> <div class="news mt16">
{% for newsElement in craft.entries.section('facts').limit(3) %} {% for newsElement in craft.entries.section('facts').limit(3) %}
{% set image = newsElement.images.one() %} {% set image = newsElement.teaserImage.one() %}
<div class="wm-card wm-card--m wm-card--linked" data-wm-card> <div class="wm-card wm-card--m wm-card--linked" data-wm-card>
<h3 class="wm-card__heading "> <h3 class="wm-card__heading ">
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<h1 class="mt32"> <h1 class="mt32">
{{ "Facts"|t }} {{ "Facts"|t }}
</h1> </h1>
<form class="fact-filters wm-nav-tag__list mt16"> <form class="fact-filters wm-nav-tag__list">
{% set allFilterEnabled = true %} {% set allFilterEnabled = true %}
{% for thema in craft.entries.section('themen') %} {% for thema in craft.entries.section('themen') %}
{% if category == thema.slug %} {% if category == thema.slug %}
......
...@@ -551,6 +551,11 @@ iframe { ...@@ -551,6 +551,11 @@ iframe {
order: -1; order: -1;
} }
.fact-filters {
margin-top: 32px;
margin-bottom: 48px;
}
.fact-filters .wm-nav-tag__link[disabled] { .fact-filters .wm-nav-tag__link[disabled] {
background-color: #f3f1ef; background-color: #f3f1ef;
color: #000; color: #000;
...@@ -589,6 +594,10 @@ iframe { ...@@ -589,6 +594,10 @@ iframe {
margin-bottom: 32px; margin-bottom: 32px;
} }
.mb48 {
margin-bottom: 48px;
}
@media only screen and (max-width: 1200px) { @media only screen and (max-width: 1200px) {
.maxWidthLimit { .maxWidthLimit {
padding-left: 32px; padding-left: 32px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment