Today the Hobbyist, Tommorow, The World!
Walter Bright
newshound at digitalmars.com
Wed May 3 03:30:05 PDT 2006
nick wrote:
>> Most of the Digital Mars site is now driven by Ddoc templates and style sheets. I'm open to suggestions for improvements via changing the style sheets and templates.
>
> One suggestion would be, instead of generating code like this:
> <pre class="d_code"><span style="color:blue">int</span></pre>
>
> you should say <span class = "identifier">.
>
> Then define "identifier" as being blue in the stylesheet:
> .d_code .identifier{ color: blue; }
>
> It's much more flexible that way because the appearance of the site can
> be changed by changing the .css file.
I'll make the change. Thanks!
More information about the Digitalmars-d
mailing list