aboutsummaryrefslogtreecommitdiff
path: root/css/IconLink.hs
diff options
context:
space:
mode:
authorJoris2019-05-01 15:52:32 +0200
committerJoris2019-05-01 17:11:02 +0200
commit23f04635cc26e1b0553088f28553f518488a9fc8 (patch)
tree97037643bab24564046ce4aba90481e3b92a15d3 /css/IconLink.hs
parent0fe906ae7453aa684e998bbcc7a78b62d84f0206 (diff)
Setup personal page with Hakyll
Diffstat (limited to 'css/IconLink.hs')
-rw-r--r--css/IconLink.hs31
1 files changed, 31 insertions, 0 deletions
diff --git a/css/IconLink.hs b/css/IconLink.hs
new file mode 100644
index 0000000..9abbb5d
--- /dev/null
+++ b/css/IconLink.hs
@@ -0,0 +1,31 @@
+{-# LANGUAGE OverloadedStrings #-}
+
+module IconLink
+ ( style
+ ) where
+
+import Clay hiding (style)
+
+import qualified Link
+import qualified Media
+
+style :: Css
+style = do
+
+ Link.style ".IconLink__Link"
+
+ ".IconLink__Link" ? do
+ display inlineFlex
+ alignItems center
+ marginBottom (px 15)
+
+ Media.desktop $ fontSize (px 18)
+ Media.tablet $ fontSize (px 16)
+ Media.mobile $ fontSize (px 14)
+
+ ".IconLink__Icon" ? do
+ marginRight (px 12)
+
+ Media.desktop $ height (px 20)
+ Media.tablet $ height (px 16)
+ Media.mobile $ height (px 14)