summaryrefslogtreecommitdiff
path: root/lore/Biz/Ibb/Look.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-10-19 22:46:54 -0700
committerBen Sima <ben@bsima.me>2019-10-19 22:46:54 -0700
commitfa110aee28474835b0b84f2b348fec8553d965dd (patch)
tree97e732de5851f9fb5168706673e2db4754232ee9 /lore/Biz/Ibb/Look.hs
parentaa0cd5e980faf1cb0b33105f86f32a8aa64f53f4 (diff)
[ibb] initial stylesheet
Diffstat (limited to 'lore/Biz/Ibb/Look.hs')
-rw-r--r--lore/Biz/Ibb/Look.hs27
1 files changed, 27 insertions, 0 deletions
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