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 (149k 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.

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...