<?xml version="1.0" encoding="windows-1252"?>
<node id="44805" title="On Stylesheets" created="2000-12-04 15:47:25" updated="2005-08-10 16:11:49">
<type id="1036">
monkdiscuss</type>
<author id="3607">
Petruchio</author>
<data>
<field name="doctext">
Since we seem to be running out of ideas for improving 
the monastery, and [vroom] seems awfully bored, I thought 
I'd pitch in. ;-)&lt;p&gt;

Last night, when the chatterbox discussion turned to how 
bad my [Petruchio|home node] looks under the Dark Theme, 
Cascading Style Sheets came up. It seems to me that one 
of the easiest ways to enable folks to customize the look 
of the Monastery would be to allow them to specify the URL 
of a stylesheet to be placed in the head of every page 
they view. This would, essentially, turn every monk loose 
to more easily create and trade themes, and help 
decentralize some of the housekeeping here.&lt;p&gt;

This would seem to be simple enough to implement, and 
would allow people to do neat things like create their 
own background graphics. For the sake of discusson, 
however, I'll mention some other possibilities.&lt;p&gt;

More flexibility could be gained by adding extra 
attributes to various HTML tags, thus allowing the 
stylesheets to  
differentiate categories of elements. If the tags 
in the "Other Users" section, for instance, each 
specified &lt;code&gt;area="users"&lt;/code&gt;, it would be 
easy enough for a monk to make the Other Users 
background pink, while leaving the rest of the 
page purple.&lt;p&gt;

It would be interesting as well if, on one's homenode, 
the author's stylesheet link could (depending on the 
viewer's preferences) 
take precedence over the viewer's. Thus people could 
*really* get creative with their home nodes, and yet 
never have need to store either graphics or style sheets on Perl Monks. As I can 
think of no security problems with this, it could, 
perhaps, make up for our necessary loss of JavaScript.&lt;p&gt;

Anyway, just some thoughts. I realize that monks can 
create and submit their own themes for consideration, but 
it is, I think, preferable to allow [vroom] &amp; friends to 
focus on content, rather than on presentation. And anyway, 
as a lowly Monk, I get a "tough beans" error when I try 
to read the Themes node. :-)&lt;p&gt;

What do you think?</field>
</data>
</node>
