This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit b04d167b30cce50e6dfa875d423b05412a962f1e
tree 09da6aca57b23a89ac5b17034c1462930ece38b7
parent 5ba85f664395e684aafd16eb746cd32a9b027e4c
tree 09da6aca57b23a89ac5b17034c1462930ece38b7
parent 5ba85f664395e684aafd16eb746cd32a9b027e4c
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Dec 31 19:03:23 -0800 2008 | |
| |
Manifest | Wed Apr 29 09:08:41 -0700 2009 | |
| |
README.mkdn | Thu Feb 26 11:29:42 -0800 2009 | |
| |
Rakefile | Thu Jan 22 15:31:36 -0800 2009 | |
| |
VERSION | ||
| |
compass-960-plugin.gemspec | ||
| |
lib/ | ||
| |
sass/ | ||
| |
templates/ | Wed Jul 29 21:45:53 -0700 2009 |
README.mkdn
960 Grid System - Compass Plugin
- Port of Version 1.0
- 2008-03-24
Created by Nathan Smith. See the official site for more info: http://960.gs/
This plugin adds the 960 Grid System framework to Compass.
Install
sudo gem install chriseppstein-compass
sudo gem install chriseppstein-compass-960-plugin
Create a 960-based Compass Project
compass -r ninesixty -f 960 <project name>
Then edit your grid.sass and text.sass files accordingly. A reset is added into grid.sass automatically.
Customizing your Grid System
To create a grid system with other number of columns use the +grid-system mixin to generate
the corresponding classes.
Example:
#wrap
+grid-system(24)
Making Semantic Grids
- Use the
+grid-containermixin to declare your container element. - Use the
+gridmixin to declare a grid element. - Use the
+alphaand+omegamixins to declare the first and last grid elements for a row. - User the
+grid-prefixand+grid-suffixmixins to add grid columns before or after a grid element.
Example:
#wrap
+grid-container
#left-nav
+alpha
+grid(5,16)
#main-content
+grid-prefix(1,16)
+grid(10, 16)
+omega








