Trying to put my only stylesheet passage in an external .tw file that gets included. External js and widget passages are working just fine but the stylesheet passage seems to be a no-go. I'm guessing this is a known issue but Google didn't turn anything up for and the various wikis haven't mentioned this as a limitation.
In Twine 1.4.2 on a mac. Using latest version of SugarCube from that website. Checked the css passage using Sublime Text and it looks ok.
Comments
I just created a new story, deleted all the existing passages and named it stylesheet.tws, then I added the following stylesheet passage to it:
I then created a second new story, named it main.tws, added a StoryInclues special passage to it that referenced the stylesheet.tws file. When I use both the Test and Build options the resulting HTML had a green background.
Should that work?
https://jigsaw.w3.org/css-validator/
IIRC, the Twine 1 text editing controls automatically convert to the proper encoding when you type/paste into them (or it's done after, the point is that it gets done), which is why it works there.
Also, can you attach your Twee source file here? It doesn't need to include more than the CSS passage which is giving you trouble (if there's more in there you'd rather not share), but it should be the actual file. I'll see if I can't figure out what's wrong.