STYLE Enhance content box styles with advised text color and margin adjustments for full-width variants
This commit is contained in:
parent
d574a7f385
commit
11a7148fb1
|
|
@ -20,10 +20,16 @@
|
|||
|
||||
&--bg-light {
|
||||
--content-box-text-color: var(--wp--preset--color--carhop-green);
|
||||
--advised-text-color: var(--wp--preset--color--carhop-green, inherit);
|
||||
}
|
||||
|
||||
&--bg-dark {
|
||||
--content-box-text-color: #fff;
|
||||
--advised-text-color: #fff;
|
||||
|
||||
p {
|
||||
color: var(--advised-text-color, inherit);
|
||||
}
|
||||
|
||||
.wp-block-carhop-blocks-cta {
|
||||
--cta-current-color: #fff;
|
||||
|
|
@ -145,3 +151,14 @@ body.page .content-box {
|
|||
@apply font-bold tracking-bigbig;
|
||||
}
|
||||
}
|
||||
|
||||
.content-box--variant-backgrounded.alignfull
|
||||
+ .content-box--variant-backgrounded.alignfull {
|
||||
@apply !mt-0;
|
||||
}
|
||||
|
||||
.content-box--variant-backgrounded.alignfull:has(
|
||||
+ .content-box--variant-backgrounded.alignfull
|
||||
) {
|
||||
@apply !mb-0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user