Style Sheets - Suggestion
Posted: Thu Jun 16, 2005 2:04 am
Hi all,
I think I was in the IRC room the other night when a brief discussion regarding templates broke out. In playing with them some, and trying to understand them better, then hearing that they might be reworked a little, I thought I might provide a suggestion for doing templates in a future release...
Currently it works like so: You have a set of templates and you link templates to a given style sheet. For example--
Style Sheet: default_ltblue
|--------> Default Template
\-------> Corey's Template
If you do that, and you followed the semantics by using the CSS elements correctly throughout the template, you should get blue highlights, etc.
What if it happened this way: There is a pool of style sheets--
style_font_sans
style_font_serif
style_color_pink
style_color_blue
Then a template--
Default Template
Then at the template level, you linked the style sheets:
Template: Default
|--------->style_blue
\--------->style_serif
The template would have it's own style sheet, but portions of it could/would be supersceded by the style sheets as they were imported. And as a bonus, it would really need if you could adjust the "priority" of the style sheets. So have buttons where it would be possible to bump style_serif above style_blue, etc.
If this has already been tossed around, I apologize for the redundancy, but something like this would be pretty sweet if done properly.
Thanks for listening!
Corey
I think I was in the IRC room the other night when a brief discussion regarding templates broke out. In playing with them some, and trying to understand them better, then hearing that they might be reworked a little, I thought I might provide a suggestion for doing templates in a future release...
Currently it works like so: You have a set of templates and you link templates to a given style sheet. For example--
Style Sheet: default_ltblue
|--------> Default Template
\-------> Corey's Template
If you do that, and you followed the semantics by using the CSS elements correctly throughout the template, you should get blue highlights, etc.
What if it happened this way: There is a pool of style sheets--
style_font_sans
style_font_serif
style_color_pink
style_color_blue
Then a template--
Default Template
Then at the template level, you linked the style sheets:
Template: Default
|--------->style_blue
\--------->style_serif
The template would have it's own style sheet, but portions of it could/would be supersceded by the style sheets as they were imported. And as a bonus, it would really need if you could adjust the "priority" of the style sheets. So have buttons where it would be possible to bump style_serif above style_blue, etc.
If this has already been tossed around, I apologize for the redundancy, but something like this would be pretty sweet if done properly.
Thanks for listening!
Corey