Hey there! I'm in need of help with formatting color on 1.4.2. I know you can add a color hook to Twine 2 with the following in the Stylesheet:
tw-hook[style*="color:"] tw-link, tw-hook[style*="color:"] .enchantment-link {
color: inherit;
}
But I'm not sure how/if this translates to 1.4.2, and if there's another way with 1.4.2. Any help would be appreciated!
Comments
I'm aware! I was asking if there existed a similar method, or any method at all, in Twine 1.4.2 that I could use for my stories there to color individual sections of text on the same page.
And then in passages write <span class="whitetext">This text is white.</span>
Although much less intuitive than Harlowe's method, this is still certainly good enough! Thank you very much!
Actually, one more important question! While this does work with normal text, it doesn't work with links. Is there any way to color individual links in Twine 1.4.2?
1. Vanilla story formats: Sugarcane, Jonah, Responsive:
1a. The CSS to style internal and external links, goes in your story's stylesheet tagged passage. 1b. The Markup used to indicate which link(s) to style, both inline (span) and block (div).
2. The SugarCube 1 or 2 story format:
2a. The CSS to style internal and external links. 2b. The Markup used to indicate which link(s) to style.
note: You can either use the same markup in point 1b or Sugarube's Custom Styles markup.
.whitetext a
Greyelf's answer may still be optimal, I've just never bothered to specify that level of detail.