Forum OpenACS Development: Re: template::head::add_css problem

Posted by Emmanuelle Raffenne on

After thinking a bit about it, I think we missed something when we made the decision to sort the CSS by media type and in 2 parts, first the default ones then the alternate ones.

Putting the alternate ones after the default one is OK, but to sort each part by media type probably not. For example, in theme Zen:

There are 3 general CSS for the theme, 1 for each media:
screen: main.css
handheld: handheld.css
print: print.css

Then there are CSS to refine or overwrite general styles but this time to be applied to all medias:

purple.css (in the case of communites)
2column.css (for the portal)

and those have to appear after the general ones.