Jump to page: 1 24  
Page
Thread overview
Preprocessing CSS
May 23, 2016
Dmitry Olshansky
May 24, 2016
Jacob Carlborg
May 24, 2016
Vladimir Panteleev
May 24, 2016
Jacob Carlborg
May 24, 2016
Jacob Carlborg
May 24, 2016
Dmitry Olshansky
May 24, 2016
Adam D. Ruppe
May 24, 2016
Vladimir Panteleev
May 24, 2016
Gary Willoughby
May 24, 2016
Thiez
May 24, 2016
Adam D. Ruppe
May 24, 2016
Seb
May 25, 2016
sarn
May 25, 2016
Seb
May 25, 2016
Vladimir Panteleev
May 25, 2016
Jacob Carlborg
May 25, 2016
Johannes Pfau
May 25, 2016
Jacob Carlborg
May 25, 2016
Adam D. Ruppe
May 25, 2016
Adam D. Ruppe
May 25, 2016
Adam D. Ruppe
May 24, 2016
Wyatt
May 24, 2016
Dicebot
May 25, 2016
Jacob Carlborg
May 23, 2016
Found this on reddit: http://blog.00null.net/post/144763147991/using-gnu-m4-as-a-css-pre-processor. I found it interesting because I found it useful to preprocess our style.css on dlang.org with ddoc. Somehow that got lost a while ago. How can I find the rename style.css -> style.css.dd and then back on github? Thx! -- Andrei
May 23, 2016
On 23-May-2016 19:04, Andrei Alexandrescu wrote:
> Found this on reddit:
> http://blog.00null.net/post/144763147991/using-gnu-m4-as-a-css-pre-processor.
> I found it interesting because I found it useful to preprocess our
> style.css on dlang.org with ddoc. Somehow that got lost a while ago. How
> can I find the rename style.css -> style.css.dd and then back on github?
> Thx! -- Andrei

Or just use SASS or LESS or any popular tool designed for CSS, no?

-- 
Dmitry Olshansky
May 23, 2016
On 05/23/2016 02:15 PM, Dmitry Olshansky wrote:
> On 23-May-2016 19:04, Andrei Alexandrescu wrote:
>> Found this on reddit:
>> http://blog.00null.net/post/144763147991/using-gnu-m4-as-a-css-pre-processor.
>>
>> I found it interesting because I found it useful to preprocess our
>> style.css on dlang.org with ddoc. Somehow that got lost a while ago. How
>> can I find the rename style.css -> style.css.dd and then back on github?
>> Thx! -- Andrei
>
> Or just use SASS or LESS or any popular tool designed for CSS, no?

I looked into those and they seemed to add additional dependencies for little else than what could be done with ddoc immediately. -- Andrei
May 24, 2016
On 2016-05-23 22:03, Andrei Alexandrescu wrote:

> I looked into those and they seemed to add additional dependencies for
> little else than what could be done with ddoc immediately. -- Andrei

Sass supports control flow, like if statements, for loops and so on.

-- 
/Jacob Carlborg
May 24, 2016
On Tuesday, 24 May 2016 at 07:05:12 UTC, Jacob Carlborg wrote:
> On 2016-05-23 22:03, Andrei Alexandrescu wrote:
>
>> I looked into those and they seemed to add additional dependencies for
>> little else than what could be done with ddoc immediately. -- Andrei
>
> Sass supports control flow, like if statements, for loops and so on.

If you find that your style sheet needs loops, something has gone terribly wrong.
May 24, 2016
On Monday, 23 May 2016 at 16:04:14 UTC, Andrei Alexandrescu wrote:
> Found this on reddit: http://blog.00null.net/post/144763147991/using-gnu-m4-as-a-css-pre-processor. I found it interesting because I found it useful to preprocess our style.css on dlang.org with ddoc. Somehow that got lost a while ago. How can I find the rename style.css -> style.css.dd and then back on github? Thx! -- Andrei

There was no style.css.dd, but there was a cssmenu.css.dd. It was removed in the last redesign, as it was no longer needed.

May 24, 2016
On 2016-05-24 09:49, Vladimir Panteleev wrote:

> If you find that your style sheet needs loops, something has gone
> terribly wrong.

Fair enough. But claiming that Ddoc can do what Sass can, is just plain wrong.

-- 
/Jacob Carlborg
May 24, 2016
On Monday, 23 May 2016 at 16:04:14 UTC, Andrei Alexandrescu wrote:
> Found this on reddit: http://blog.00null.net/post/144763147991/using-gnu-m4-as-a-css-pre-processor. I found it interesting because I found it useful to preprocess our style.css on dlang.org with ddoc. Somehow that got lost a while ago. How can I find the rename style.css -> style.css.dd and then back on github? Thx! -- Andrei

I just want to throw out there that we would get more contributors to the website were it to use industry standard tools. i.e. Sass, Less, etc.
May 24, 2016
On 05/24/2016 10:39 AM, Gary Willoughby wrote:
> On Monday, 23 May 2016 at 16:04:14 UTC, Andrei Alexandrescu wrote:
>> Found this on reddit:
>> http://blog.00null.net/post/144763147991/using-gnu-m4-as-a-css-pre-processor.
>> I found it interesting because I found it useful to preprocess our
>> style.css on dlang.org with ddoc. Somehow that got lost a while ago.
>> How can I find the rename style.css -> style.css.dd and then back on
>> github? Thx! -- Andrei
>
> I just want to throw out there that we would get more contributors to
> the website were it to use industry standard tools. i.e. Sass, Less, etc.

That'd need to be balanced with dogfooding. -- Andrei
May 24, 2016
On 05/24/2016 09:39 AM, Jacob Carlborg wrote:
> On 2016-05-24 09:49, Vladimir Panteleev wrote:
>
>> If you find that your style sheet needs loops, something has gone
>> terribly wrong.
>
> Fair enough. But claiming that Ddoc can do what Sass can, is just plain
> wrong.

Who made that silly claim? Ah, indeed I now see how what I said could be construed like that. Allow me to amend:

"I looked into those and they seemed to add additional dependencies for little else than what could be done with ddoc immediately."

->

"I looked into those and for our modest needs they seemed to add additional dependencies for little else than what could be done with ddoc immediately."


Andrei

« First   ‹ Prev
1 2 3 4