From be602f670e080d0cbd8460f8d21aafca20f2167c Mon Sep 17 00:00:00 2001
From: Olivia206 <olivia.simonet@mmibordeaux.com>
Date: Fri, 16 Dec 2022 12:56:34 +0100
Subject: [PATCH] hovered links in block pages

---
 assets/sass/_theme/blocks/pages.sass | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/assets/sass/_theme/blocks/pages.sass b/assets/sass/_theme/blocks/pages.sass
index fbe4cd60..de31c687 100644
--- a/assets/sass/_theme/blocks/pages.sass
+++ b/assets/sass/_theme/blocks/pages.sass
@@ -3,8 +3,10 @@
         h2, h3
             + .description
                 margin-top: $spacing1
-        a
-            text-decoration: none
+    a
+        @include link
+        text-decoration: underline
+        text-decoration-color: rgba(0,0,0,0)
     .grid, .cards
         article
             position: relative
@@ -20,7 +22,6 @@
         h1
             @include h3
             a
-                text-decoration: none
                 @include stretched-link(before)
             + p
                 margin-top: $spacing0
@@ -45,7 +46,6 @@
                 h2, h3
                     grid-column: 1 / 5
                     a
-                        text-decoration: none
                         @include icon("arrow-right", "after", px2rem(16), true)
                         @include hover-translate-icon
                         &::after
@@ -128,11 +128,6 @@
                 .more
                     text-decoration-color: $block-pages-card-page-color-hover
     &--list
-        .top h2 a,
-        a
-            @include in-page-with-or-without-sidebar
-                @include link
-                text-decoration-color: rgba(0,0,0,0)
         ul
             @include list-reset
             li
-- 
GitLab