Redesign of dlang.org
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Mon Dec 21 10:04:48 PST 2015
On Monday, 21 December 2015 at 17:37:11 UTC, Andrei Alexandrescu
wrote:
> That's a large leap. I suggest using Ddoc instead of Sass
> compact CSS files, see the existing instance at
> https://github.com/D-Programming-Language/dlang.org/blob/master/css/cssmenu.css.dd.
Why is there a $(COLON) macro in there? Is it because of the
silly section feature of ddoc? Why does it matter at the bottom
of the file but not in the rest of it?
Using text macros in CSS is something I support. Indeed, my css
expander does them too, but most of ddoc's other features I fear
are wrong like the colon thing, and it lacks stuff that is
specifically useful in css itself like nested selectors. (BTW,
your _=\n\n pattern is useless, it changes nothing and should be
removed.)
While I do like using css helper programs... here, I'd prefer to
just keep the file simple. Let's just write standard CSS,
understanding that it has a few warts, but then getting the
benefit of a very easy to understand file for anyone to look at,
no need to build it, and the possibility of using standard css
tools on it.
> CoffeeScript sounds like a nice thing to add and is from what
> I've heard reasonably stable.
Please don't. Coffeescript has distinctly negative value to me,
including complicating the build process even more, and just
being a PITA to write.
Again, I'd prefer to keep the javascript files simple too, no
processors on them. It's not like we need that much of it on this
site anyway.
More information about the Digitalmars-d
mailing list