0 votes
by (150 points)
I'm making a story that includes the click-replace macro. I used the story stylesheet to change the color of all the passage links, but the click-replace links are still the default blue color. I'd like these two types of links to be indistinguishable, so is there a way to change the color of the click-replace links?

1 Answer

0 votes
by (156k points)
selected by
 
Best answer

The four CSS selectors that control the styling of links are:

tw-link, .enchantment-link {
    /* Style properties. */
}

tw-link:hover, .enchantment-link:hover {
    /* Style properties. */
}

.visited {
    /* Style properties. */
}

.visited:hover {
    /* Style properties. */
}


warning: Due to how the (click:) related macros are implemented it is generally recommend to only use them if it is not possible to achieve the same result by use a (link:) related macro instead.

...