From 44c00be4455efc0919cc0d698ed86735d2629325 Mon Sep 17 00:00:00 2001 From: Joris Date: Thu, 10 Sep 2015 00:08:31 +0200 Subject: Use the cantarell font --- src/server/Design/Global.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/server') diff --git a/src/server/Design/Global.hs b/src/server/Design/Global.hs index ec75287..8b8d5e7 100644 --- a/src/server/Design/Global.hs +++ b/src/server/Design/Global.hs @@ -32,6 +32,7 @@ global = do body ? do position relative minWidth (px 550) + fontFamily ["Cantarell"] [sansSerif] header ? do let headerHeight = 150 @@ -44,7 +45,7 @@ global = do button # ".signOut" ? do let iconHeight = 50 - let sideMargin = ((headerHeight - iconHeight) `Prelude.div` 2) + let sideMargin = ((headerHeight - iconHeight) `Prelude.div` 2) + 5 position absolute top (px sideMargin) right (pct 2) @@ -62,7 +63,7 @@ global = do centeredWithMargin backgroundColor C.green color C.white - fontWeight bold + fontSize (px 18) borderRadius radius radius radius radius paddingLeft blockPadding paddingRight blockPadding @@ -146,6 +147,7 @@ global = do button # ".count" ? do width (pct 100) + fontSize (px 18) defaultButton C.blue C.white inputHeight borderRadius radius radius radius radius textAlign (alignSide sideLeft) -- cgit v1.2.3