Sha256: 6b36d5181e50a463886fa30a37ff77ef52cfddcfab2265b945768f4222f9dfe4

Contents?: true

Size: 1.86 KB

Versions: 3

Compression:

Stored size: 1.86 KB

Contents

/* ------------------------------------------------- *
 *  Ezy Grid by Frej Raahede Nielsen
 *  http://github.com/raahede/ezy
 * ------------------------------------------------- *
 */
/* ------------------------------------------------- *
 *  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;
}

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

.column {
  /* Grid column base at a 4-column context */
  margin-left: 4.165%;
  margin-right: 4.165%;
  float: left;
  /* Fixing double margin on IE6 */
  _display: inline;
}

.page {
  max-width: 1050px;
  /* Forcing static grid on IE6 and IE7 */
  *width: 1050px;
  padding-left: 0;
  padding-right: 0;
}

.grid {
  margin-left: -4.545%;
  margin-right: -4.545%;
}
@media (min-width: 361px) {
  .grid {
    margin-left: -2.17%;
    margin-right: -2.17%;
  }
}
@media (min-width: 721px) {
  .grid {
    margin-left: -1.425%;
    margin-right: -1.425%;
  }
}
.no-media-queries .grid {
  /* Fallback for browsers not supporting media queries */
  margin-left: -1.425%;
  margin-right: -1.425%;
}

.column {
  /* Spanning 4 of 4 columns */
  width: 91.66%;
}
@media (min-width: 361px) {
  .column {
    /* Spanning 4 of 8 columns */
    width: 45.83%;
    margin-left: 2.08%;
    margin-right: 2.08%;
  }
}
@media (min-width: 721px) {
  .column {
    /* Spanning 4 of 12 columns */
    width: 30.55%;
    margin-left: 1.385%;
    margin-right: 1.385%;
  }
}
.no-media-queries .column {
  /* Fallback for browsers not supporting media queries */
  /* Spanning 4 of 12 columns */
  width: 30.55%;
  margin-left: 1.385%;
  margin-right: 1.385%;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ezy-0.2.9 test/css/grid/responsive.css
ezy-0.2.8 test/css/grid/responsive.css
ezy-0.2.7.alpha test/css/grid/responsive.css