New to Squiffy (font and attributes question)
jessitayylor
22 Mar 2019, 07:38Hi I'm new to Squiffy. I have a question.
- Is it possible to change the font color of the text (not the passage/section)?
- How do I change the font color of the text if it's possible?
- How to bold and/or underline text?
So if normal text color can be changed then changing the color of passage/section/link can be changed as well right? So here's my question...
- How do I change the color of the link/section? Can they have different font color? (passage/passage different font color) or (section/section different font color) or (passage/section different font color)?
- Is it possible to have a description when the house hovers the link text? If so, how do I do that?
Last question. Sorry if I have so many questions. It's about attributes this time.
If for example I have health, how do I keep it on top of while the player plays?
Thank you!
Belén
22 Mar 2019, 11:56Yep, yo can do all that stuff. But you need to manually change the css style sheet of your index.html. Or make a js function that do the same on runtime.
For further info you can consider this: https://www.w3schools.com/css/
jessitayylor
25 Mar 2019, 03:23Oh okay. How do I do that?
How do I change the css style sheet or make a js function? I'm sorry, I really need a guide or a tutorial how to do it.
Belén
25 Mar 2019, 09:52You need to learn css or js, like everybody. In https://www.w3schools.com you have the best online free tutorial they can be.
marsetta
26 Mar 2019, 20:33How do you translate that into Squiffy?
Belén
26 Mar 2019, 20:40Squiffy generates an html+css+js output. You just need to edit these files in order to achieve the wanted effect.
marsetta
26 Mar 2019, 20:44It's the story.js, style.css, and jquery.min.js? How do I open? Could I use notes or wordpad?
Bluevoss
28 Mar 2019, 23:24I played with colors in this entry. You might find the notes in here helpful.
http://textadventures.co.uk/forum/squiffy/topic/ugxyy4yjk0_zuaimqotfaw/one-stop-color-background-question