aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/Global.hs
blob: c41d06ff81c5a0c3c66d23fe3a3200fb5534afc4 (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 Design.Global
  ( globalDesign
  ) where

import Clay

import Data.Text.Lazy (Text)

import Design.Header
import Design.SignIn
import Design.LoggedIn
import Design.Animation.Keyframes

globalDesign :: Text
globalDesign = renderWith compact [] global

global :: Css
global = do

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

  a ? cursor pointer

  allKeyframes

  signInDesign

  headerDesign

  loggedInDesign