When setting up a link, I'd like to know how to format each section of it. What I mean by this is how would I set up a custom font and color for the link itself and have the displayed text remain the default white?
(link: "Link Bla Bla")[Displayed Bla Bla]
The link itself should be formatted.
Comments
1. Link Macro based link: 2. Hook with Click Macro based link: 3. Markup based link: note: There are many other CSS properties you can set within the CSS selectors, I have only included three.
Example: I want to click on a link that is displayed in purple and Arial font, but I want the output text to be the default white and whatever font Harlowe uses for regular text.
Does that give a better sense of what I'm looking for?
What you're looking to do is apply a css-defined style to a link, so you set the purple color and font in css under a selector, then apply the selector to the link.
Try this CSS for types 1 & 2 links, it goes in your Story Stylesheet: To test the CSS place the following within a passage:
Hence to change the colour of a link or whatever, you need to first define the new colour in CSS, then tell the link to reference that CSS instead of the default.
1. Open your story and click the menu at the bottom left (it has the story's title and gives you the option to publish to file, etc.)
2. Click "Edit Story Stylesheet"
3. Copy-paste the CSS in the stylesheet.
4. Test it out!
It does indeed work, but it's still pretty confusing. It's simply magic to me at this point :P