blob: 311b7f825cbc1bd03a8e6f3633e9195e7bedc2ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{-# 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)
|