From 23f04635cc26e1b0553088f28553f518488a9fc8 Mon Sep 17 00:00:00 2001 From: Joris Date: Wed, 1 May 2019 15:52:32 +0200 Subject: Setup personal page with Hakyll --- css/IconLink.hs | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 css/IconLink.hs (limited to 'css/IconLink.hs') 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) -- cgit v1.2.3