aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/Global.hs
blob: 092e66e5612e3ed4fc2c99fb54a20f542a8187ca (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
{-# LANGUAGE OverloadedStrings #-}

module Design.Global
  ( globalDesign
  ) where

import Clay

import Data.Text.Lazy (Text)

import Design.Header
import Design.SignIn
import Design.LoggedIn

globalDesign :: Text
globalDesign = renderWith compact [] global

global :: Css
global = do

  body ? do
    position relative
    minWidth (px 550)
    fontFamily ["Cantarell"] [sansSerif]

  signInDesign

  headerDesign

  loggedInDesign