blob: 6460220130417ded684381f00effa42d82091bf0 (
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
|
{-# LANGUAGE OverloadedStrings #-}
module Design.Global
( globalDesign
) where
import Clay
import Data.Monoid ((<>))
import Data.Text.Lazy (Text)
import Design.Color as C
globalDesign :: Text
globalDesign = renderWith compact [] global
global :: Css
global = do
header ?
h1 ? do
fontSize (px 40)
textAlign (alignSide sideCenter)
margin (px 30) (px 0) (px 40) (px 0)
color C.brown
table ? do
width (pct 100)
textAlign (alignSide (sideCenter))
"border-spacing" -: "10 px"
th ? do
color C.green
fontWeight bold
borderBottom solid (px 1) C.brown
tr <> th ? do
fontSize (px 18)
lineHeight (px 30)
|