-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from stefsullrew/master
Request to add gutters to grids
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.line,.lastUnit{overflow:hidden; *overflow:visible;*zoom:1;padding:0 10px;} | ||
.unit{float:left;padding:0 10px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;} | ||
.unitRight{float:right;} | ||
.size1of1{float:none;} | ||
.size1of2{width:50%;} | ||
.size1of3{width:33.33333%;} | ||
.size2of3{width:66.66666%;} | ||
.size1of4{width:25%;} | ||
.size3of4{width:75%;} | ||
.size1of5{width:20%;} | ||
.size2of5{width:40%;} | ||
.size3of5{width:60%;} | ||
.size4of5{width:80%;} | ||
.lastUnit{float:none;width:auto;_position:relative;_left:-3px;_margin-right:-3px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/** | ||
* Spacing classes | ||
* Should be used to modify the default spacing between objects (not between nodes of the same object) | ||
* Please use judiciously. You want to be using defaults most of the time, these are exceptions! | ||
* <type><location><size> | ||
*/ | ||
/* ====== Default spacing ====== */ | ||
h1, h2, h3, h4, h5, h6, ul, ol,dl, p,blockquote, .media {margin:10px 0;} | ||
h1, h2, h3, h4, h5, h6,img{padding-bottom:0px;} | ||
pre{margin: 10px 0;} | ||
table h1,table h2,table h3, table h4, table h5, table h6, table p, table ul, table ol, table dl{padding:0;} | ||
|
||
/* spacing helpers | ||
p,m = padding,margin | ||
a,t,r,b,l,h,v = all,top,right,bottom,left,horizontal,vertical | ||
s,m,l,n = small(5px),medium(10px),large(20px),none(0px) | ||
*/ | ||
|
||
.ptn,.pvn,.pan{padding-top:0px !important} | ||
.pts,.pvs,.pas{padding-top:5px !important} | ||
.ptm,.pvm,.pam{padding-top:10px !important} | ||
.ptl,.pvl,.pal{padding-top:20px !important} | ||
.prn,.phn,.pan{padding-right:0px !important} | ||
.prs,.phs,.pas{padding-right:5px !important} | ||
.prm,.phm,.pam{padding-right:10px !important} | ||
.prl,.phl,.pal{padding-right:20px !important} | ||
.pbn,.pvn,.pan{padding-bottom:0px !important} | ||
.pbs,.pvs,.pas{padding-bottom:5px !important} | ||
.pbm,.pvm,.pam{padding-bottom:10px !important} | ||
.pbl,.pvl,.pal{padding-bottom:20px !important} | ||
.pln,.phn,.pan{padding-left:0px !important} | ||
.pls,.phs,.pas{padding-left:5px !important} | ||
.plm,.phm,.pam{padding-left:10px !important} | ||
.pll,.phl,.pal{padding-left:20px !important} | ||
.mtn,.mvn,.man{margin-top:0px !important} | ||
.mts,.mvs,.mas{margin-top:5px !important} | ||
.mtm,.mvm,.mam{margin-top:10px !important} | ||
.mtl,.mvl,.mal{margin-top:20px !important} | ||
.mrn,.mhn,.man{margin-right:0px !important} | ||
.mrs,.mhs,.mas{margin-right:5px !important} | ||
.mrm,.mhm,.mam{margin-right:10px !important} | ||
.mrl,.mhl,.mal{margin-right:20px !important} | ||
.mbn,.mvn,.man{margin-bottom:0px !important} | ||
.mbs,.mvs,.mas{margin-bottom:5px !important} | ||
.mbm,.mvm,.mam{margin-bottom:10px !important} | ||
.mbl,.mvl,.mal{margin-bottom:20px !important} | ||
.mln,.mhn,.man{margin-left:0px !important} | ||
.mls,.mhs,.mas{margin-left:5px !important} | ||
.mlm,.mhm,.mam{margin-left:10px !important} | ||
.mll,.mhl,.mal{margin-left:20px !important} |