I am using Twine 1.4 and SugarCube 2.x and I've just learned how to style links thanks to @TheMadExile
(his reply to this
thread, to be exact). Thanks a lot!
However, when I try to apply this knowledge to links in the StoryMenu passage, basically with the goal of coloring the appearance/examine-me/check-yourself link to reflect the main character's state, SugarCube seems to ignore my coding and nothing happens (the link remains a dull grey). Is it possible to override SugarCube's styling of the link with my own? It would be nice if I could not only color it, but also un-force the uppercase on it.
Warning: This could all be nonsense. Someone may be along soon to confirm (that it is indeed nonsense)
@WolfRawrrr You may want to check SugarCube v2's HTML documentation which shows the basic UI markup, and thus the selectors you'll need.
You may need multiple selectors, depending on what exactly about the base styling you wish to change, however, the basic selector you want for the links themselves is #menu-story li a. There are other selectors which would also work, though—if memory serves—that is the shortest.
For example, to change the text color of the links:
Just to correct another thing in my last post, you ask how to unforce uppercase and I showed how to force lowercase, which isn't what you asked.
For the record: Forces all uppercase. Forces all lowercase. Forces first letter of each word to be a capital. Allows links to be shown as written.
Thank you both!
That's help forums in general, by the way. The Twine community seem to be very good on that front.