blob: 90dd84295133ba3d1016fcb4e8afd5f40b9ee49c (
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
|
{-# LANGUAGE OverloadedStrings #-}
module Design.Global
( globalDesign
) where
import Clay
import Data.Text.Lazy (Text)
import qualified Design.Header as HeaderDesign
import qualified Design.SignIn as SignInDesign
import qualified Design.LoggedIn as LoggedInDesign
import Design.Animation.Keyframes
import Design.Color as Color
globalDesign :: Text
globalDesign = renderWith compact [] global
global :: Css
global = do
header ? HeaderDesign.design
".signIn" ? SignInDesign.design
".loggedIn" ? LoggedInDesign.design
allKeyframes
body ? do
position relative
minWidth (px 550)
fontFamily ["Cantarell"] [sansSerif]
a ? cursor pointer
h1 ? do
fontSize (px 20)
color Color.red
marginBottom (em 1)
ul ? do
marginBottom (em 1)
li ? do
marginBottom (em 0.5)
before & do
content (stringContent "• ")
color Color.red
|