diff options
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 |