On Mon, Apr 16, 2012 at 22:14, Nokan Emiro <uzleep...@gmail.com> wrote:
> 2012/4/16 Bartosz Dziewoński <matma....@gmail.com>
>>
>> W dniu 16 kwietnia 2012 20:50 użytkownik Nokan Emiro
>> <uzleep...@gmail.com> napisał:
>> > Actually I think it's not logical that you can build HTML by default
>> > using
>> > Markaby, but you can't build CSS in the same way.
>>
>> You never need to insert any variables into your CSS code. (If you do,
>> you're doing it wrong.)
>
>
> I was not talking about variables.  (BTW, lesscss.org is imho great, and
> the basic concept is to use variables and substitutions instead of the old
> inheriting way.)  But what I was talking about is that Camping is great,
> because you can create a web application in one single file.  However,
> a web application consist of at least two parts, html and css, and it's
> some kind of asymmetry that you can only write html in Camping, and
> you need silly (and sometimes not properly working) tricks to include the
> css part.

In the latest Camping from GitHub you can write this:

  Camping.goes :App
  __END__
  @@ /style.css
  * { margin: 0; padding: 0 }

And Camping will serve it for you. See also:
https://github.com/camping/camping/blob/master/test/app_file.rb
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to