From 8df65da42513031414a6302559ea26144726caf7 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Fri, 27 Jun 2025 18:20:05 +0200 Subject: [PATCH] FEATURE Introducing the asset styles --- resources/css/blocks/content-box.css | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 resources/css/blocks/content-box.css diff --git a/resources/css/blocks/content-box.css b/resources/css/blocks/content-box.css new file mode 100644 index 0000000..476ad19 --- /dev/null +++ b/resources/css/blocks/content-box.css @@ -0,0 +1,29 @@ +.content-box { + @apply py-16; + background-color: var(--content-box-background-color); + color: var(--content-box-text-color); + + h1.wp-block-heading, + h2.wp-block-heading, + h3.wp-block-heading, + h4.wp-block-heading, + h5.wp-block-heading, + h6.wp-block-heading { + color: var(--content-box-text-color); + } + + p { + @apply pb-8; + } + + &__innerblocks { + @apply max-w-screen-2xl mx-auto px-8; + } + h3 { + @apply title-small font-bold; + } + + .carhop-heading:not(:first-child) { + @apply pt-32; + } +}