I've been working on a story for a while, and recently, I realized that using Sugarcube as opposed to Harlowe would better suit my needs.
However, now that I've switched, I realized that all of the CSS I had in the 'story stylesheet' area is now completely obsolete. It seems to be overwritten by another stylesheet hidden somewhere.
How can I remove or alter the default Sugarcube stylesheet(s)?
Or will I have to change my stylesheet to conform to Sugarcube's format?
Screenshots (ignore the broken image):
The first one is how I'd like it to look, and the second one is with the overwritten Sugarcube CSS.
(Happens with both Sugarcube v1.0.32 and v2.18.0, as I tried both of them)
Comments
To get rid of the UI-bar, you can put into you Javascript:
(my apologies for some of the nonstandard ... choices, I guess, that I made here. I started this thing way before I learned CSS so I had to improvise).
I would almost understand if things like tw-passage or tw-link were ineffective because of the whole 'tw' thing, but none of the standard elements (h1, b/strong, i, ul) are working either.
Edit; didn't see TheMadExile's comment. I'll make sure to use v2 in the future as soon as I know I can change the CSS.
Specific documentation you should probably check out:
Place In Your Story JavaScript
You could kind of do this with CSS as you were in Harlowe, however, this is a much better way to remove the UI bar—it doesn't leave any cruft lying around afterwards.
Place In Your Story Stylesheet
Normally, I'd recommend prefixing most of your generic element styles with the #story selector, however, since you're getting rid of the UI bar it may not be necessary, so I won't bother in the example.
The JavaScript code gives me an immediate error upon testing, though, saying that the UIBar is not defined, and it ends up showing anyway. Is this normal?
(The CSS itself works perfectly fine past that stage.)
PS: Check the CSS for updates. I made a few edits since first posting it and added another link.