aboutsummaryrefslogtreecommitdiff
path: root/css/Style.hs
diff options
context:
space:
mode:
authorJoris2020-10-31 15:24:26 +0100
committerJoris2020-10-31 15:24:26 +0100
commit1e167679f6827c7119d616633b21fffef269cd75 (patch)
tree9c846c03913366936a093976a329e7a774002283 /css/Style.hs
parentc9c0a6e8651da823b41e4186a736f2dbb48919db (diff)
Use only HTML and CSS
Diffstat (limited to 'css/Style.hs')
-rw-r--r--css/Style.hs58
1 files changed, 0 insertions, 58 deletions
diff --git a/css/Style.hs b/css/Style.hs
deleted file mode 100644
index f53ca1e..0000000
--- a/css/Style.hs
+++ /dev/null
@@ -1,58 +0,0 @@
-{-# LANGUAGE OverloadedStrings #-}
-
-import Clay
-import qualified Data.Text.Lazy.IO as T
-
-import qualified Body
-import qualified Color
-import qualified Header
-import qualified IconLink
-import qualified Media
-import qualified Project
-import qualified Resume
-import qualified Section
-import qualified Skills
-
-main :: IO ()
-main = T.putStrLn . renderWith compact [] $ do
-
- appearKeyframes
-
- body ? do
- overflowX hidden
- color Color.black
- margin (px 0) (px 0) (px 40) (px 0)
- Media.mobile $ fontSize (px 16)
- Media.tabletDesktop $ fontSize (px 18)
-
- ".Main__Container" ? do
- animationName "appear"
- animationDuration (sec 0.2)
- animationTimingFunction easeIn
- animationIterationCount (iterationCount 1.0)
-
- svg ? do
- width inherit
- height inherit
-
- ul ? do
- listStyleType none
- paddingLeft (px 0)
-
- Body.style
- Header.style
- IconLink.style
- Project.style
- Resume.style
- Section.style
- Skills.style
-
-appearKeyframes :: Css
-appearKeyframes = keyframes
- "appear"
- [ (0, do
- "transform" -: "translateX(10px)"
- opacity 0
- )
- , (100, "transform" -: "translateX(0px)")
- ]