clay-0.15.0: CSS preprocessor as embedded Haskell.

Safe Haskell | None
Language | Haskell2010

Clay.Geometry

Contents

- Positioning.
- Sizing.
- Padding.
- Margin.

Synopsis

- size :: Size a -> Css
- top :: Size a -> Css
- left :: Size a -> Css
- bottom :: Size a -> Css
- right :: Size a -> Css
- width :: Size a -> Css
- height :: Size a -> Css
- minWidth :: Size a -> Css
- minHeight :: Size a -> Css
- maxWidth :: Size a -> Css
- maxHeight :: Size a -> Css
- padding :: Size a -> Size a -> Size a -> Size a -> Css
- paddingTop :: Size a -> Css
- paddingLeft :: Size a -> Css
- paddingRight :: Size a -> Css
- paddingBottom :: Size a -> Css
- margin :: Size a -> Size a -> Size a -> Size a -> Css
- marginTop :: Size a -> Css
- marginLeft :: Size a -> Css
- marginRight :: Size a -> Css
- marginBottom :: Size a -> Css

# Positioning.

size :: Size a -> Css #

top :: Size a -> Css #

left :: Size a -> Css #

bottom :: Size a -> Css #

right :: Size a -> Css #

# Sizing.

width :: Size a -> Css #

height :: Size a -> Css #

minWidth :: Size a -> Css #

minHeight :: Size a -> Css #

maxWidth :: Size a -> Css #

maxHeight :: Size a -> Css #

# Padding.

padding :: Size a -> Size a -> Size a -> Size a -> Css #

paddingTop :: Size a -> Css #

paddingLeft :: Size a -> Css #

paddingRight :: Size a -> Css #

paddingBottom :: Size a -> Css #

# Margin.

margin :: Size a -> Size a -> Size a -> Size a -> Css #

marginTop :: Size a -> Css #

marginLeft :: Size a -> Css #

marginRight :: Size a -> Css #

marginBottom :: Size a -> Css #