152 lines
2.0 KiB
CSS
152 lines
2.0 KiB
CSS
/*
|
|
Simple Grid
|
|
Learn More - http://dallasbass.com/simple-grid-a-lightweight-responsive-css-grid/
|
|
Project Page - http://thisisdallas.github.com/Simple-Grid/
|
|
Author - Dallas Bass
|
|
Site - dallasbass.com
|
|
*/
|
|
|
|
*, *:after, *:before {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.charsheet {
|
|
margin: 0px;
|
|
}
|
|
|
|
[class*='sheet-col-'] {
|
|
float: left;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
[class*='sheet-col-']:last-of-type {
|
|
padding-right: 0px;
|
|
}
|
|
|
|
.sheet-charsheet {
|
|
width: 100%;
|
|
max-width: 1140px;
|
|
min-width: 755px;
|
|
margin: 0 auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sheet-charsheet:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
.sheet-charsheet-pad {
|
|
padding: 20px 0 0px 20px;
|
|
}
|
|
|
|
.sheet-charsheet-pad [class*='sheet-col-']:last-of-type {
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.sheet-push-right {
|
|
float: right;
|
|
}
|
|
|
|
/* Content Columns */
|
|
|
|
.sheet-col-1-1 {
|
|
width: 100%;
|
|
}
|
|
.sheet-col-2-3, .sheet-col-8-12 {
|
|
width: 66.66%;
|
|
}
|
|
|
|
.sheet-col-1-2, .sheet-col-6-12 {
|
|
width: 50%;
|
|
}
|
|
|
|
.sheet-col-1-3, .sheet-col-4-12 {
|
|
width: 33.33%;
|
|
}
|
|
|
|
.sheet-col-1-4, .sheet-col-3-12 {
|
|
width: 25%;
|
|
}
|
|
|
|
.sheet-col-1-5 {
|
|
width: 20%;
|
|
}
|
|
|
|
.sheet-col-1-6, .sheet-cvol-2-12 {
|
|
width: 16.667%;
|
|
}
|
|
|
|
.sheet-col-1-7 {
|
|
width: 14.28%;
|
|
}
|
|
|
|
.sheet-col-1-8 {
|
|
width: 12.5%;
|
|
}
|
|
|
|
.sheet-col-1-9 {
|
|
width: 11.1%;
|
|
}
|
|
|
|
.sheet-col-1-10 {
|
|
width: 10%;
|
|
}
|
|
|
|
.sheet-fdx col-1-11 {
|
|
width: 9.09%;
|
|
}
|
|
|
|
.sheet-col-1-12 {
|
|
width: 8.33%
|
|
}
|
|
|
|
/* Layout Columns */
|
|
|
|
.sheet-col-11-12 {
|
|
width: 91.66%
|
|
}
|
|
|
|
.sheet-col-10-12 {
|
|
width: 83.333%;
|
|
}
|
|
|
|
.sheet-col-9-12 {
|
|
width: 75%;
|
|
}
|
|
|
|
.sheet-col-5-12 {
|
|
width: 41.66%;
|
|
}
|
|
|
|
.sheet-col-7-12 {
|
|
width: 58.33%
|
|
}
|
|
|
|
@media handheld, only screen and (max-width: 767px) {
|
|
|
|
|
|
.charsheet {
|
|
width: 100%;
|
|
min-width: 0;
|
|
margin-left: 0px;
|
|
margin-right: 0px;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
}
|
|
|
|
[class*='sheet-col-'] {
|
|
width: auto;
|
|
float: none;
|
|
margin-left: 0px;
|
|
margin-right: 0px;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
}
|