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/Body.hs | |
parent | 0fe906ae7453aa684e998bbcc7a78b62d84f0206 (diff) |
Setup personal page with Hakyll
Diffstat (limited to 'css/Body.hs')
-rw-r--r-- | css/Body.hs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/css/Body.hs b/css/Body.hs new file mode 100644 index 0000000..74aa969 --- /dev/null +++ b/css/Body.hs @@ -0,0 +1,35 @@ +{-# LANGUAGE OverloadedStrings #-} + +module Body + ( style + ) where + +import Clay hiding (style) +import Prelude hiding ((**)) + +import qualified Color +import qualified Link +import qualified Media +import qualified Size + +style :: Css +style = do + + ".Body__Container" ** p ? do + lineHeight (px 28) + + ".Body__Container" ** ul ? do + paddingLeft (px 0) + Media.desktop $ margin (px 20) (px 0) (px 20) (px 30) + Media.tablet $ margin (px 15) (px 0) (px 15) (px 20) + Media.mobile $ marginBottom Size.listItemSep + + ".Body__Container" ** li ? do + Size.lineHeight + before & do + content (stringContent "•") + color Color.red + display inlineBlock + marginRight (px 10) + + Link.style (".Body__Container" ** a) |