mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
added compass, added some basic stylesheets
This commit is contained in:
16
source/stylesheets/library/_float.sass
Normal file
16
source/stylesheets/library/_float.sass
Normal file
@ -0,0 +1,16 @@
|
||||
// based on compass float
|
||||
|
||||
@import modules/_clearfix.sass
|
||||
|
||||
// Available as alternate syntax with just +float
|
||||
=float(!side = "left")
|
||||
:display inline
|
||||
:float= !side
|
||||
|
||||
// Implementation of float:left with fix for double-margin bug
|
||||
=float-left
|
||||
+float("left")
|
||||
|
||||
// Implementation of float:right with fix for double-margin bug
|
||||
=float-right
|
||||
+float("right")
|
||||
Reference in New Issue
Block a user