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 |