From 7d094a0fe56ebc2685b2fa2c48ced4e1ca5d1698 Mon Sep 17 00:00:00 2001 From: Adam Wood <1017872+adamwoodnz@users.noreply.github.com> Date: Thu, 14 Mar 2024 15:33:11 +1300 Subject: [PATCH] Block styles: Style card item elements the same for links and static --- .../themes/wporg-parent-2021/sass/block-styles.scss | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/source/wp-content/themes/wporg-parent-2021/sass/block-styles.scss b/source/wp-content/themes/wporg-parent-2021/sass/block-styles.scss index 4f850b4b..5b3fe683 100644 --- a/source/wp-content/themes/wporg-parent-2021/sass/block-styles.scss +++ b/source/wp-content/themes/wporg-parent-2021/sass/block-styles.scss @@ -223,9 +223,7 @@ border: 1px solid var(--wp--preset--color--light-grey-1); color: var(--wp--preset--color--charcoal-1); border-radius: 2px; - } - > a { h2, h3, h4, @@ -233,12 +231,21 @@ h6 { margin-top: 0; margin-bottom: calc(var(--wp--preset--spacing--10) / 2); - color: var(--wp--custom--link--color--text); } p { margin-top: 0; } + } + + > a { + h2, + h3, + h4, + h5, + h6 { + color: var(--wp--custom--link--color--text); + } &:hover { background-color: var(--wp--preset--color--light-grey-2);