The CSS example you gave is for the Harlowe story format, which is not available for Twine 1.4.2.
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.
You can do something like just specify a span in the stylesheet like
.whitetext {
color:#fff;
}
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?
1b. The Markup used to indicate which link(s) to style, both inline (span) and block (div).
<span class="whitetext">[[Internal Link 1|Next Passage]]</span>
<span class="whitetext">[[Extenral Link 1|http://google.com/]]</span>
<span class="whitetext">[[Internal Link 2|Next Passage]] [[Extenral Link 2|http://google.com/]]</span>
<div class="whitetext">[[Internal Link 3|Next Passage]]
[[Extenral Link 3|http://google.com/]]</div>
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.