diff --git a/templates/_modules/side-heading.twig b/templates/_modules/side-heading.twig index e5bdbf9..b591e55 100644 --- a/templates/_modules/side-heading.twig +++ b/templates/_modules/side-heading.twig @@ -11,7 +11,7 @@

- {{ headline }} + {{ headline }}

{% endif %} {% set layoutClasses = not hasHeading and fullWidth diff --git a/templates/_rich-text/standard.twig b/templates/_rich-text/standard.twig index c3175f1..1cc1c33 100644 --- a/templates/_rich-text/standard.twig +++ b/templates/_rich-text/standard.twig @@ -32,8 +32,8 @@ [ "attr", "body > blockquote", { class: "border-l-4 border-l-hot-pink pl-2.5 md:pl-4 my-[60px] md:mt-5" }, false], [ "attr", "body > blockquote, body > blockquote > p", { class: "font-surt text-rich-blue text-body-20 md:text-body-24 [hanging-punctuation:first_last] dark:text-sky-blue" }, false], - [ "attr", "body > * > a, body * > a", { class: "underline decoration-sky-blue hover:bg-light-blue dark:hover:text-gray-900" }, false], - [ "attr", "body > p > .button", { class: "uppercase font-surt text-ui-14 md:text-ui-16 border-gray border-l border-r px-[10px] py-[5px] bg-black text-white hover:bg-white hover:text-black transition-colors rk:bg-white dark:text-gray-900 dark:border-white dark:hover:bg-gray-300" }], + [ "attr", "body > * > a:not(.anchor), body * > a:not(.anchor)", { class: "underline decoration-sky-blue hover:bg-light-blue dark:hover:text-gray-900" }, false], + [ "attr", "body > p > .button", { class: "uppercase font-surt text-ui-14 md:text-ui-16 border-black border-l border-r px-[10px] py-[5px] bg-gray-900 text-white hover:bg-transparent hover:text-black transition-colors dark:bg-white dark:hover:bg-transparent dark:text-gray-900 dark:hover:text-white dark:border-white" }], [ "attr", ".highlighted", { class: "bg-sky-blue dark:text-gray-900" }] ])|raw }}