summaryrefslogtreecommitdiff
path: root/Com/InfluencedByBooks/Look.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-11-02 15:33:13 -0700
committerBen Sima <ben@bsima.me>2019-11-02 15:33:13 -0700
commit9d114cfc773171b0a95bd4d2c39f1bb0eb783c8d (patch)
tree20766a760ed0141cf39153565e8552f6739c632d /Com/InfluencedByBooks/Look.hs
parentd2a37f5de160160eadbacd7b8dc2567f78a0543d (diff)
rename everything back to caps to appease ghc
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