Skip to content

Instantly share code, notes, and snippets.

@jensgro
Created February 23, 2012 17:25
Show Gist options
  • Save jensgro/1893907 to your computer and use it in GitHub Desktop.
Save jensgro/1893907 to your computer and use it in GitHub Desktop.
9 column grids for YAML
/**
* @section Grids for YAML4
* @note Grid: 9 columns, 8 gaps, width: 980px
* @author Jens Grochtdreis [http://grochtdreis.de]
*/
@media screen {
.ym-g1-9 {width: 110px;} /* 1 column */
.ym-g15-9 {width: 160px;} /* 1.5 columns */
.ym-g2-9 {width: 220px;} /* 2 columns */
.ym-g3-9 {width: 330px;} /* 3 columns */
.ym-g4-9 {width: 440px;} /* 4 columns */
.ym-g5-9 {width: 550px;} /* 5 columns */
.ym-g6-9 {width: 660px;} /* 6 columns */
.ym-g7-9 {width: 770px;} /* 7 columns */
.ym-g8-9 {width: 880px;} /* 8 columns */
.ym-g9-9 {margin: 10px;}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment