CSS best practices?

I'm starting a new Rails project, and I have all of my CSS lumped into a single style sheet. I am guessing this probably is not the best way to keep this organized. Does anyone have any tips on how to keep CSS organized, DRY, and easy to maintain within Rails?

The project will likely have 3 or 4 layouts, a consistent look-and- feel across the project, but the different layouts will have their own small differences between them.

Thanks in advance--

Jeff Wigal

Probably you should get this question sorted out at http://www.css-discuss.org/

– sekhar

I like to use:

http://blog.airbladesoftware.com/2006/12/11/cssdryer-dry-up-your-css

for starters.

I also like running my CSS through ERB in the manner of:

http://blog.hasmanythrough.com/2007/10/18/simpler-than-dirt-restful-dynamic-css

Also, have a look at:

http://nubyonrails.com/articles/dynamic-css