Ruby

Compass: CSS Stylesheet Framework

Compass is a stylesheet authoring framework that makes your stylesheets and markup easier to build and maintain. With compass, you write your stylesheets in Sass instead of CSS. Using the power of Sass Mixins and the Compass community, you can apply battle-tested styles from frameworks like Blueprint to your stylesheets instead of your markup.

Compass

It’s a Ruby on Rails project. You run a CLI utility that watches a directory where your .css and .sass reside. The changes you make to your .sass files get automatically parsed and translated to .css files. The .sass format allows you to have a simplified less repetitive stylesheet markup, in addition to the ability to use variables, functions, mathematic operations, and more.

  • In CSS, ever wished you could store the color palette for your site design in a few variables and then just reference those variables through the stylesheet?
  • Ever wished you could perform cross-browser compatible mathematical addition on layout column widths?
  • Ever wished you could easily gather a library of commonly used CSS, and then selectively include them in your various designs with a single line?

Now you can, with Compass.

Installation on Debian/Ubuntu 9.10 Karmic is like:

sudo aptitude install ruby gem; # dependencies
sudo gem sources --add http://gems.github.com/
sudo gem install chriseppstein-compass; # install
sudo gem install chriseppstein-compass-960-plugin; #optional plugin
compass -f blueprint project; # example usage
compass -r ninesixty -f 960 project; # example plugin usage

Looks promising! See more detailed Compass install instructions.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Learn Ruby on Rails on Windows!

If you are interested in learning Ruby on a Windows machine I recommend spending a weekend to read the free online book Programming Ruby and downloading InstantRails and RadRails to begin testing the Ruby code snippets it will show you.

After that, I recommend Agile Web Developent with Rails by the-one-and-only David Heinemeier Hansson.

For support while learning hop on freenode.net and join #ruby-lang and #rubyonrails. The crowd is very enthusiastic and willing to answer your questions.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...