Made grid more fluid, got rid of any pixel based padding and/or magins and made them percentage based

This commit is contained in:
Ben Hinchley 2015-01-13 01:49:53 +11:00
parent c9965ba512
commit b7a38ef7fa

17
css/skeleton.css vendored
View File

@ -31,24 +31,23 @@
.container {
position: relative;
width: 100%;
max-width: 960px;
max-width: 1280px;
margin: 0 auto;
padding: 0 15px;
padding: 0 1%;
box-sizing: border-box; }
.row {
margin: 0 -15px 2rem; }
margin: 0 -1% 2rem; }
.row .column,
.row .columns {
float: left;
width: 100%;
padding-right: 15px;
padding-left: 15px;
padding: 0 1%;
box-sizing: border-box; }
/* For devices larger than 550px */
@media (min-width: 550px) {
/* For devices larger than 600px */
@media (min-width: 600px) {
.container { width: 90%; }
.container { width: 96%; }
.row .one.column,
.row .one.columns { width: 8.33333333334%; }
@ -62,7 +61,7 @@
.row .nine.columns { width: 75.0%; }
.row .ten.columns { width: 83.3333333334%; }
.row .eleven.columns { width: 91.6666666667%; }
.row .twelve.columns { width: 100%; margin-left: 0; }
.row .twelve.columns { width: 100%; }
.row .one-third.column { width: 33.3333333334%; }
.row .two-thirds.column { width: 66.6666666667%; }