From 86c641a3c259544759f23263167501611bb740f8 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 9 Jan 2024 09:31:30 +0100 Subject: [PATCH] adding link hovers --- resources/css/editor-content/gutenberg.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/resources/css/editor-content/gutenberg.css b/resources/css/editor-content/gutenberg.css index 95d495d..d0c2b77 100644 --- a/resources/css/editor-content/gutenberg.css +++ b/resources/css/editor-content/gutenberg.css @@ -124,7 +124,7 @@ article > *:not(.entry-content, .chapter-header-block), } ul, ol { - @apply mt-4 mb-8; + @apply mt-4 mb-5; } ol { @apply list-decimal list-inside; @@ -145,8 +145,14 @@ article > *:not(.entry-content, .chapter-header-block), } a:not(.wp-block-button__link, .cta) { - @apply text-primary underline font-bold; - /* text-decoration: underline; */ + @apply text-primary underline font-bold relative; + @apply px-2 py-1; + transition: all 0.2s ease-out; + + &:hover { + @apply rounded-md; + background: rgba(239, 239, 239); + } } a[rel='noreferrer noopener'] {