/* Variable Grid System. Learn more ~ http://www.spry-soft.com/grids/ Based on 960 Grid System - http://960.gs/ Licensed under GPL and MIT. */ /* Containers ----------------------------------------------------------------------------------------------------*/ .container_6 { margin-left: auto; margin-right: auto; width: 1080px; } /* Grid >> Global ----------------------------------------------------------------------------------------------------*/ .grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6 { display:inline; float: left; position: relative; margin-left: 13px; margin-right: 12px; } /* Grid >> Children (Alpha ~ First, Omega ~ Last) ----------------------------------------------------------------------------------------------------*/ .alpha { margin-left: 0; } .omega { margin-right: 0; } /* Grid >> 6 Columns ----------------------------------------------------------------------------------------------------*/ .container_6 .grid_1 { width:155px; } .container_6 .grid_2 { width:335px; } .container_6 .grid_3 { width:515px; } .container_6 .grid_4 { width:695px; } .container_6 .grid_5 { width:875px; } .container_6 .grid_6 { width:1055px; } /* Prefix Extra Space >> 6 Columns ----------------------------------------------------------------------------------------------------*/ .container_6 .prefix_1 { padding-left:180px; } .container_6 .prefix_2 { padding-left:360px; } .container_6 .prefix_3 { padding-left:540px; } .container_6 .prefix_4 { padding-left:720px; } .container_6 .prefix_5 { padding-left:900px; } /* Suffix Extra Space >> 6 Columns ----------------------------------------------------------------------------------------------------*/ .container_6 .suffix_1 { padding-right:180px; } .container_6 .suffix_2 { padding-right:360px; } .container_6 .suffix_3 { padding-right:540px; } .container_6 .suffix_4 { padding-right:720px; } .container_6 .suffix_5 { padding-right:900px; } /* Push Space >> 6 Columns ----------------------------------------------------------------------------------------------------*/ .container_6 .push_1 { left:180px; } .container_6 .push_2 { left:360px; } .container_6 .push_3 { left:540px; } .container_6 .push_4 { left:720px; } .container_6 .push_5 { left:900px; } /* Pull Space >> 6 Columns ----------------------------------------------------------------------------------------------------*/ .container_6 .pull_1 { left:-180px; } .container_6 .pull_2 { left:-360px; } .container_6 .pull_3 { left:-540px; } .container_6 .pull_4 { left:-720px; } .container_6 .pull_5 { left:-900px; } /* Clear Floated Elements ----------------------------------------------------------------------------------------------------*/ /* http://sonspring.com/journal/clearing-floats */ .clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; } /* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */ .clearfix:after { clear: both; content: ' '; display: block; font-size: 0; line-height: 0; visibility: hidden; width: 0; height: 0; } .clearfix { display: inline-block; } * html .clearfix { height: 1%; } .clearfix { display: block; }