From fa110aee28474835b0b84f2b348fec8553d965dd Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 19 Oct 2019 22:46:54 -0700 Subject: [ibb] initial stylesheet --- lore/Biz/Ibb/Look.hs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lore/Biz/Ibb/Look.hs (limited to 'lore/Biz') diff --git a/lore/Biz/Ibb/Look.hs b/lore/Biz/Ibb/Look.hs new file mode 100644 index 0000000..9017ba2 --- /dev/null +++ b/lore/Biz/Ibb/Look.hs @@ -0,0 +1,27 @@ +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE NoImplicitPrelude #-} + +-- | The look and feel of Ibb +module Biz.Ibb.Look where + +import 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 -- cgit v1.2.3