adding link hovers

This commit is contained in:
Antoine M 2024-01-09 09:31:30 +01:00
parent 50f1d61b3f
commit 86c641a3c2

View File

@ -124,7 +124,7 @@ article > *:not(.entry-content, .chapter-header-block),
} }
ul, ul,
ol { ol {
@apply mt-4 mb-8; @apply mt-4 mb-5;
} }
ol { ol {
@apply list-decimal list-inside; @apply list-decimal list-inside;
@ -145,8 +145,14 @@ article > *:not(.entry-content, .chapter-header-block),
} }
a:not(.wp-block-button__link, .cta) { a:not(.wp-block-button__link, .cta) {
@apply text-primary underline font-bold; @apply text-primary underline font-bold relative;
/* text-decoration: underline; */ @apply px-2 py-1;
transition: all 0.2s ease-out;
&:hover {
@apply rounded-md;
background: rgba(239, 239, 239);
}
} }
a[rel='noreferrer noopener'] { a[rel='noreferrer noopener'] {