summaryrefslogtreecommitdiff
path: root/com/influencedbybooks/look.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-10-27 09:48:52 -0700
committerBen Sima <ben@bsima.me>2019-10-27 12:14:40 -0700
commitc790672cc244ac4caba1bda3572829a6c6862891 (patch)
tree2706bb8044f7b14840c5f90f215b79b433e81045 /com/influencedbybooks/look.hs
parent44df4ba39f65c3afd84bee6b03f47d9b061e9038 (diff)
move everything to namespace directories
Diffstat (limited to 'com/influencedbybooks/look.hs')
-rw-r--r--com/influencedbybooks/look.hs27
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