Template:JSNU-China/gridCSS

/* Variable Grid System. Learn more ~ http://www.spry-soft.com/grids/ Based on 960 Grid System - http://960.gs/

Licensed under GPL and MIT.

  • /

/*

 Forces backgrounds to span full width,
 even if there is horizontal scrolling.
 Increase this if your layout is wider.
 Note: IE6 works fine without this fix.
  • /

body {

 min-width: 1152px;

}

/* Containers


*/

.container_12 { margin-left: auto; margin-right: auto; width: 1152px; }

/* Grid >> Global


*/


.grid_2, .grid_12 { display:inline; float: left; position: relative; margin-left: 12px; margin-right: 12px; }


}

/* Grid >> 12 Columns


*/


.container_12 .grid_1 { width:72px; }

.container_12 .grid_2 { width:168px; }


.container_12 .grid_12 { width:1128px; }



/* Prefix Extra Space >> 12 Columns


*/


.container_12 .prefix_2 { padding-left:192px; }





/* `Clear Floated Elements


*/

/* http://sonspring.com/journal/clearing-floats */

.clear {

 clear: both;
 display: block;
 overflow: hidden;
 visibility: hidden;
 width: 0;
 height: 0;

}

/* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */

.clearfix:before, .clearfix:after {

 content: '\0020';
 display: block;
 overflow: hidden;
 visibility: hidden;
 width: 0;
 height: 0;

}

.clearfix:after {

 clear: both;

}

/*

 The following zoom:1 rule is specifically for IE6 + IE7.
 Move to separate stylesheet if invalid CSS is a problem.
  • /

.clearfix {

 zoom: 1;

}