Susy - Compass Plugin ================================ This plugin is a native grid system framework for [Compass](http://compass-style.org/). Install ======= sudo gem sources --add http://gems.github.com/ sudo gem install chriseppstein-compass sudo gem install ericam-compass-susy-plugin Create a Susy-based Compass Project ================================== compass -r susy -f susy Then edit your `base.sass`, `screen.sass` and `print.sass` files accordingly. A reset is added automatically. Customizing your Grid System ============================ To create a grid system, set the !grid_unit, !total_cols, !col_width, and !gutter_width variables in your `base.sass` and then use the `+grid-container` mixin to declare your container element. Example: !grid_unit = "em" !total_cols = 10 !col_width = 7 !gutter_width = 1 #page +grid-container The default values are 16 columns, column width of 4em and gutter width 1em. Making Semantic Grids ===================== * Use the `+grid-container` mixin to declare your container element. * Use the `+grid-col` mixin to declare a grid element. The first argument is the number of cols, the second is the size (in grid columns) of the containing element (defaults to the containers total_cols). * Use the `+last` mixin to declare the last comumn in a row. * Use the `+right` mixin to float a grid item to the right instead of left. * Use the `+grid-prefix` and `+grid-suffix` mixins to add grid columns before or after a grid element. Example: #page +grid-container #left-nav +grid-col(3) #main-content +grid-prefix(2) +grid-col(4, 10) +last +right Extra Utility Mixins ===================== Extra utilities are included in Susy's `utils.sass` file, with additional list options, experimental (CSS3/proprietary) CSS, and more.