From 5e5b75c971c787044470ae7118ee4cadf040d450 Mon Sep 17 00:00:00 2001
From: Olivia206 <olivia.simonet@mmibordeaux.com>
Date: Wed, 3 Aug 2022 11:47:17 +0200
Subject: [PATCH] Posts pagination

---
 .../sass/_theme/design-system/pagination.sass | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/assets/sass/_theme/design-system/pagination.sass b/assets/sass/_theme/design-system/pagination.sass
index 09f9272b..9ff88158 100644
--- a/assets/sass/_theme/design-system/pagination.sass
+++ b/assets/sass/_theme/design-system/pagination.sass
@@ -4,6 +4,7 @@
     justify-content: center
     margin: #{$grid-gutter * 2.5} 0 0
     li
+        @include list-reset
         // @extend .page-item
     a
         // @extend .page-link
@@ -101,3 +102,21 @@
             li.next
                 a
                     @include icon(arrow-right)
+
+.posts
+    + nav
+        .pagination
+            align-items: center
+            display: flex
+            margin: auto
+            li
+                a
+                    line-height: 140%
+                    padding: $spacing0/2 $spacing0
+                    text-decoration: none
+                    transition: background-color .15s ease-in-out
+                &.disabled
+                    pointer-events: none
+                &:not(.disabled)
+                    a:hover
+                        background-color: #e9ecef
\ No newline at end of file
-- 
GitLab