From 0a29c35cf8d4b08c0a6d2cafb2d338db4321b1b1 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Tue, 22 Nov 2022 16:36:51 +0100
Subject: [PATCH] key figures

---
 assets/sass/_theme/blocks/base.sass        |  4 ++--
 assets/sass/_theme/blocks/key_figures.sass | 19 ++++++++++++++++++-
 layouts/partials/footer/debug.html         |  2 ++
 3 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/assets/sass/_theme/blocks/base.sass b/assets/sass/_theme/blocks/base.sass
index 8aa1c597..d8fcbc90 100644
--- a/assets/sass/_theme/blocks/base.sass
+++ b/assets/sass/_theme/blocks/base.sass
@@ -1,7 +1,7 @@
 [class^="block-"]
     @include in-page-with-sidebar
-        h3, h2
+        h2, h3
             @extend .h2
     @include in-page-without-sidebar
-        h3, h2
+        h2, h3
             @extend .h5
\ No newline at end of file
diff --git a/assets/sass/_theme/blocks/key_figures.sass b/assets/sass/_theme/blocks/key_figures.sass
index 71e6b8c4..2e32fb5d 100644
--- a/assets/sass/_theme/blocks/key_figures.sass
+++ b/assets/sass/_theme/blocks/key_figures.sass
@@ -1,16 +1,30 @@
 .block-key_figures
+    .top
+        margin-bottom: 0
     ul
-        @include grid(4, md)
+        @include grid(3, md)
         @include list-reset
+        @include in-page-with-sidebar
+            @include grid(2, md)
+    .top + ul
+        margin-top: $spacing2
+    @include media-breakpoint-down(md)
+        li + li
+            margin-top: $spacing2
     dl
         margin-bottom: 0
         margin-top: 0
         dt
             white-space: nowrap
+            font-family: $heading-font-family
             font-size: $block-key_figures-font-size
+            font-weight: $heading-font-weight
+            font-weight: bold
+            line-height: 1
             strong
                 display: inline-block
                 font-size: $block-key_figures-number-font-size
+                margin-inline-end: 0.1em
             @include media-breakpoint-up(md)
                 font-size: $block-key_figures-font-size-md
                 strong
@@ -30,3 +44,6 @@
         dd
             margin-bottom: 0
             margin-left: 0
+        dt + dd
+            margin-top: $spacing0
+            
\ No newline at end of file
diff --git a/layouts/partials/footer/debug.html b/layouts/partials/footer/debug.html
index cb0f3ea2..40d3e21c 100644
--- a/layouts/partials/footer/debug.html
+++ b/layouts/partials/footer/debug.html
@@ -77,6 +77,8 @@
     width: 100%;
     border-bottom: 1px solid white;
     display: block;
+    color: white;
+    text-indent: 5px;
   }
   .d-spacing > div:nth-child(1){
     border-top: 1px solid white;
-- 
GitLab