Skip to content

Use the same principals of the 960 grid system within Facebook's 760 pixel wide frame for Facebook Applications.

License

Notifications You must be signed in to change notification settings

jimeh/760-grid-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

760 Grid System

Being an avid lover the 960 Grid System, I decided to make a 760 pixel wide version when I started working with Facebook applications.

It was instantly obvious it would be easier creating a generator for the grid system. The first version was written in PHP, and took less than an hour to create. I've now replaced it with a Ruby version, which technically creates identical output, only it's configured with a YAML file.

Grid Usage

760 works exactly the same way as 960.gs. The only difference is that instead of 12 and 16 columns, 760.gs has 20, 38, and 76 column layouts, and due to how thin the columns are, they don't have any margins by default.

Generator Usage

The generator is an easy to use shell script. Just edit grids.yml to your needs, and run:

./generate-grid.rb > new_grids.css

Notes

  • By default columns don't have any margins, cause the columns are already very thin. But you can use 760.margin.css which has a 5 pixel margin. Or you could just generate your own new grid css with custom margins.
  • Any suggestions are greatly appreciated.

Legal

  • Released under MIT license, of course.
  • Included Eric Meyer's comprehensive browser reset stylesheet, which 960.gs also uses.
  • I stole the text.css file from 960.gs, I hope nobody minds :)

About

Use the same principals of the 960 grid system within Facebook's 760 pixel wide frame for Facebook Applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages