blob: 74aa969a69fa80f40d3c67b9db1057e57d220b45 (
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
|
{-# LANGUAGE OverloadedStrings #-}
module Body
( style
) where
import Clay hiding (style)
import Prelude hiding ((**))
import qualified Color
import qualified Link
import qualified Media
import qualified Size
style :: Css
style = do
".Body__Container" ** p ? do
lineHeight (px 28)
".Body__Container" ** ul ? do
paddingLeft (px 0)
Media.desktop $ margin (px 20) (px 0) (px 20) (px 30)
Media.tablet $ margin (px 15) (px 0) (px 15) (px 20)
Media.mobile $ marginBottom Size.listItemSep
".Body__Container" ** li ? do
Size.lineHeight
before & do
content (stringContent "•")
color Color.red
display inlineBlock
marginRight (px 10)
Link.style (".Body__Container" ** a)
|