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 --- src/Design/Projects.hs | 51 -------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 src/Design/Projects.hs (limited to 'src/Design/Projects.hs') diff --git a/src/Design/Projects.hs b/src/Design/Projects.hs deleted file mode 100644 index 311b7f8..0000000 --- a/src/Design/Projects.hs +++ /dev/null @@ -1,51 +0,0 @@ -{-# LANGUAGE OverloadedStrings #-} - -module Design.Projects - ( projectsCss - ) where - -import Prelude hiding ((**)) - -import Data.Monoid ((<>)) - -import Clay -import qualified Clay.Flexbox as CF - -import qualified Design.Color as Color -import qualified Design.Media as Media -import qualified Design.Size as Size - -projectsCss :: Css -projectsCss = - ".project" ? do - margin (pct 0) (pct 10) (pct 0) (pct 10) - - h1 ? ".separator" ? color Color.black - - ".body" ? do - Size.indentation - - ".technologies" <> ".pageLink" ? do - i ? marginRight (em 0.5) - Size.lineHeight - marginBottom (px 10) - - ".technologies" ? do - Media.mobile $ fontSize (pct 90) - ul ? do - display flex - flexWrap CF.wrap - li ? do - backgroundColor Color.orange - color Color.white - borderRadius (px 2) (px 2) (px 2) (px 2) - margin (px 0) (px 10) (px 5) (px 0) - ":last-child:after" & marginRight (px 0) - - Media.desktop $ padding (px 0) (px 10) (px 0) (px 10) - Media.mobileTablet $ padding (px 0) (px 5) (px 0) (px 5) - - ".description" ? do - Size.lineHeight - marginTop (px 10) - Media.desktop $ width (pct 50) -- cgit v1.2.3