aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/Global.hs
blob: cc16e2e319df0e5aaad0050247406295e6454a70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module Design.Global
  ( globalDesign
  ) where

import Clay

import Data.Text.Lazy (Text)

import Design.Color as C

globalDesign :: Text
globalDesign = renderWith compact [] global

global :: Css
global =
  header ?
    h1 ? do
      fontSize (px 40)
      textAlign (alignSide sideCenter)
      margin (px 30) (px 0) (px 30) (px 0)
      color C.brown