I've been looking around the internet, but I can't seem to find anything on how to get my story to show just one sentence as red, whereas everything else stays the way it is. I tried putting in the CSS into the "edit story stylesheet" but it didn't work when I tested the game.
If someone could tell me clearly how to make one sentence red and everything else stays the same on sugarcube, I'd really appreciate it.
Comments
For the former, you could either use the custom styles markup or a <span> element with the appropriate CSS style. For example:
For the latter, you're probably better off making a CSS class out of it and, again, either using the custom styles markup or a <span> element with the class. For example, the CSS (goes in the Story Stylesheet): And making use of it:
I go:
<span class="redtext">This text is red.</span>
And in CSS:
.redtext {
color: #800000;
}
I'm using Twine 2.0.4. It's far more likely I just have no idea what I'm talking about.