diff options
author | Joris | 2019-05-01 15:52:32 +0200 |
---|---|---|
committer | Joris | 2019-05-01 17:11:02 +0200 |
commit | 23f04635cc26e1b0553088f28553f518488a9fc8 (patch) | |
tree | 97037643bab24564046ce4aba90481e3b92a15d3 /css/Size.hs | |
parent | 0fe906ae7453aa684e998bbcc7a78b62d84f0206 (diff) |
Setup personal page with Hakyll
Diffstat (limited to 'css/Size.hs')
-rw-r--r-- | css/Size.hs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/css/Size.hs b/css/Size.hs new file mode 100644 index 0000000..1fc097b --- /dev/null +++ b/css/Size.hs @@ -0,0 +1,24 @@ +module Size + ( lineHeight + , listItemSep + , tabletMarginBottom + ) where + +import Clay hiding (lineHeight) +import qualified Clay + +import qualified Media + +lineHeight :: Css +lineHeight = do + Media.desktop $ Clay.lineHeight (px 40) + Media.tablet $ Clay.lineHeight (px 35) + Media.mobile $ Clay.lineHeight (px 30) + +listItemSep :: Size LengthUnit +listItemSep = + px 8 + +tabletMarginBottom :: Css +tabletMarginBottom = + Media.tablet $ marginBottom (px 15) |