Sha256: 3f4e874285ed9b4652b0ea9499dbcea1ce83991b38e79bf41f57a6d0d24bf29e

Contents?: true

Size: 1.7 KB

Versions: 5

Compression:

Stored size: 1.7 KB

Contents

/* -------------------------------------------------------------------- *
 *  Micro Clearfix 
 *  http://nicolasgallagher.com/micro-clearfix-hack/
 */
.page:before, .grid:before,
.page:after,
.grid:after {
  content: " ";
  display: table;
}

.page:after, .grid:after {
  clear: both;
}

.page, .grid {
  /**
   * For IE 6/7 only
   * Include this rule to trigger hasLayout and contain floats.
   */
  *zoom: 1;
}

/* -------------------------------------------------------------------- */
.page {
  margin-left: auto;
  margin-right: auto;
}

.page {
  width: 1050px;
}

.grid {
  margin-left: -15px;
  margin-right: -15px;
}

/* -------------------------------------------------------------------- *
 * Static columns: not using grid-init()
 */
.span-columns-2 {
  /* Spanning 2 columns */
  width: 150px;
  float: left;
  margin-left: 15px;
  margin-right: 15px;
}

.span-columns-4 {
  /* Spanning 4 columns */
  width: 330px;
  float: left;
  margin-left: 15px;
  margin-right: 15px;
}

.span-columns-6 {
  /* Spanning 6 columns */
  width: 510px;
  float: left;
  margin-left: 15px;
  margin-right: 15px;
}

/* -------------------------------------------------------------------- *
 * Static columns: using grid-init()
 */
.span-columns-2, .span-columns-4, .span-columns-6, .span-columns-18 {
  float: left;
  margin-left: 15px;
  margin-right: 15px;
}

.span-columns-2 {
  /* Spanning 2 columns */
  width: 150px;
}

.span-columns-4 {
  /* Spanning 4 columns */
  width: 330px;
}

.span-columns-6 {
  /* Spanning 6 columns */
  width: 510px;
}

/* -------------------------------------------------------------------- *
 * Grid colum spanning more columns than layout
 */
.span-columns-18 {
  /* Spanning 18 columns */
  width: 1590px;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ezy-0.2.0 test/css/grid/static.css
ezy-0.1.1 test/css/grid/static.css
ezy-0.2.0.alpha test/css/grid/static.css
ezy-0.1.0 test/css/grid/static.css
ezy-0.0.8 test/css/grid/static.css