From dc6e7810dca6c89dc2d832ac4c010f3a115aa5de Mon Sep 17 00:00:00 2001 From: Rob Rusher <robrusher@gmail.com> Date: Tue, 7 Nov 2023 16:17:32 -0700 Subject: [PATCH] adjust selector precedence --- blocks/cards/cards.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/blocks/cards/cards.css b/blocks/cards/cards.css index 90e21beb..bb0fa9ba 100644 --- a/blocks/cards/cards.css +++ b/blocks/cards/cards.css @@ -127,6 +127,11 @@ letter-spacing: var(--letter-spacing-xs); } +.cards.block.shade-icon .cards-list .cards-item .card-body p { + text-align: center; + margin-bottom: 10px; +} + .section.grey-background .cards.block .cards-list .cards-item .card-image p { background-color: var(--light-grey); } @@ -149,11 +154,6 @@ padding: 8px 0 20px; } -.cards.block.shade-icon .cards-list .cards-item .card-body p { - text-align: center; - margin-bottom: 10px; -} - .cards.block.shade-icon .cards-list .cards-item .card-body .icon img { margin: 0 auto; display: block;