diff options
author | Ben Sima <ben@bsima.me> | 2019-10-27 09:48:52 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-10-27 12:14:40 -0700 |
commit | c790672cc244ac4caba1bda3572829a6c6862891 (patch) | |
tree | 2706bb8044f7b14840c5f90f215b79b433e81045 /com/influencedbybooks/look.hs | |
parent | 44df4ba39f65c3afd84bee6b03f47d9b061e9038 (diff) |
move everything to namespace directories
Diffstat (limited to 'com/influencedbybooks/look.hs')
-rw-r--r-- | com/influencedbybooks/look.hs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/com/influencedbybooks/look.hs b/com/influencedbybooks/look.hs new file mode 100644 index 0000000..d61fc11 --- /dev/null +++ b/com/influencedbybooks/look.hs @@ -0,0 +1,27 @@ +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE NoImplicitPrelude #-} + +-- | The look and feel of Ibb +module Com.InfluencedByBooks.Look where + +import Com.Simatime.Alpha +import Clay +import qualified Clay.Stylesheet as Stylesheet +import qualified Clay.Render as Clay +import qualified Clay.Flexbox as Flexbox +import qualified Clay.Media as Media + +main :: Css +main = do + "html" <> "body" ? do + width (pc 100) + display flex + flexDirection column + alignItems center + alignContent center + justifyContent center + ".container" ? do + width (px 900) + display flex + justifyContent center + flexDirection column |