Changing the color of bold links

What I’m trying to do

I want to specifically change the color of bold internal links. I know that there are ways to change the color of links or the color of bold texts, but I only want the combination of both to have a different color (preferably also in edit mode). Is there a CSS snippet that allows me to do that?

I am currently using the Minimal Theme.

Here’s the snippet:

strong .internal-link, .cm-hmd-internal-link.cm-strong {
	--link-color: red;
    --link-color-hover: red;
}

This will work for all views.

3 Likes

Thanks so much! That did it

If you want your unresolved internal links that are bold to also be in the same color just add --link-unresolved-color: red; to the snippet. Have a nice day!

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.