From 155ff1f4b22fb487ab2063b249169038f08e6273 Mon Sep 17 00:00:00 2001 From: Olaf Grabienski Date: Tue, 28 Jun 2022 18:01:54 +0200 Subject: [PATCH] Add margin for Cards --- css/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/css/style.css b/css/style.css index 537e0f0..552573a 100644 --- a/css/style.css +++ b/css/style.css @@ -466,6 +466,7 @@ ul.primary li:not(.active) a { padding: 1.5rem 0; font-size: 1.5rem; } + /* Cards grid */ .l-top .block-views-promoted-cards-block { margin: 0 0 4rem; @@ -479,6 +480,7 @@ ul.primary li:not(.active) a { .front .block-views-promoted-cards-block .views-grid-box { border: none; border-radius: 0.25rem; + margin-bottom: 2rem; padding: 0 0 0.5rem 0; background-color: #f6f6f6; } @@ -579,6 +581,9 @@ article .field { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } + .front .block-views-promoted-cards-block .views-grid-box { + margin-bottom: 1rem; + } } /* Comments */