Hey all. I recently switched from Harlowe to SugarCube 2.6.2 in Twine 2.0 (for its superior audio capabilities). I'm trying to change the background of passages using tags to be able to switch from background to another when I switch to another passage. In my stylesheet, I have the following:
In SugarCube 2.6.2, this causes a test passage I made to look like this:
I tried the same stylesheet with Twine 2's built-in version of SugarCube 1.0.34, which resulted in this:
The latter is clearly what I was going for, but I can't seem to get it to work in SugarCube 2.6.2, and a good deal of Googling seems to not have helped me much. Am I doing something wrong here (very likely, I'm not really all that experienced with HTML and CSS) or is something else broken? Am I better off just sticking with SugarCube 1? Thanks in advance!
body.test { background-color: white; color: black; }
In SugarCube 2.6.2, this causes a test passage I made to look like this:
I tried the same stylesheet with Twine 2's built-in version of SugarCube 1.0.34, which resulted in this:
The latter is clearly what I was going for, but I can't seem to get it to work in SugarCube 2.6.2, and a good deal of Googling seems to not have helped me much. Am I doing something wrong here (very likely, I'm not really all that experienced with HTML and CSS) or is something else broken? Am I better off just sticking with SugarCube 1? Thanks in advance!