[Blueprint] Add mixins for +prepend-top and +append-bottom and corresponding grid classes when generating the css grid classes.

This commit is contained in:
Chris Eppstein 2009-08-30 11:42:48 -07:00
parent 005f6d4f36
commit 65f4cb0d50

View File

@ -66,6 +66,10 @@
@for !n from 1 through !blueprint_grid_columns
.push-#{!n}
+push-margins(!n)
.prepend-top
+prepend-top
.append-bottom
+append-bottom
// Columns
@ -111,6 +115,12 @@
=prepend(!n)
:padding-left = (!blueprint_grid_outer_width) * !n
=append-bottom(!amount = 1.5em)
:margin-bottom= !amount
=prepend-top(!amount = 1.5em)
:margin-top= !amount
=pull-base
+float-left
:position relative