Stylesheets for Sugarcane

404 views
Skip to first unread message

BerenB

unread,
Sep 27, 2009, 8:52:56 PM9/27/09
to Tweecode
Hey there,

first of all Twine is awesome, I'm very happay I found it :)

A short question about style sheets. I'm at a loss there. How can I
add css code?
I tried what was suggested in the manual:

- create a new passage
- name it CSS (or anything you want)
- add a tag "stylesheet" (without quotation marks)
- write your css code into the passage

At least that's what I understood. Any help apprechiated, thanks!

Chris Klimas

unread,
Sep 30, 2009, 12:20:31 PM9/30/09
to Tweecode
My suspicion would be that your CSS rules are not specific enough to
override the built-in ones. The easiest way to test this is to add an !
important after each property, like this:

* { color: red !important; }

Klavier Gavin

unread,
Oct 21, 2014, 10:42:27 AM10/21/14
to twee...@googlegroups.com
Hi, I need to put padding around my images, and I looked on the twine wiki but I didn't understand how to use the image selector in the css. Help please?
Reply all
Reply to author
Forward
0 new messages