How I change the stylesheet

In Tinderbox, I added a string attribute called "CSS".

On top of my export template, it says

<style type="text/css" media="all">

@import "../../css/surfstil.css";


@import "../../css/^get(CSS)";



If the CSS attribute is not empty, it will include the stylesheet named in the CSS attribute.

According to CSS' cascade rule, the second stylesheet will apply first, then the first stylesheet will apply wherever it is not in conflict with the second.

Related Overviews