Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Using the Stylesheet to Format Links

I do not know how to correctly format the CSS stylesheet to use links as a selector. I want to change the color of all linked text in the story from blue to red. How would I do that? Just giving me the code to put in my stylesheet would be most helpful. Thanks!

Comments

  • You need to state which story format you are using as answers can be different for each one.

    If your using Harlowe, try adding the following to the Story Stylesheet:

    tw-link {
    color: red;
    }
    tw-enchantment.link {
    color: red;
    }
    If your using SugarCube:

    #passages a.link-internal {
    color: red;
    }
  • You can also replace "red" with an appropriate colour code if you want to fine-tune the colour. For example:

    color: #7A0909;
    Would be a dark red. Can find colours from here:

    http://www.quackit.com/css/css_color_codes.cfm
Sign In or Register to comment.