Add option to use a stylesheet instead of inline styles.

Not sure if you'd want this, but I found it useful for later overriding the colors with my own stylesheet.

I have no experience with C so I've probably done something wrong.