diff options
author | Joris | 2015-09-10 00:08:31 +0200 |
---|---|---|
committer | Joris | 2015-09-10 00:08:31 +0200 |
commit | 44c00be4455efc0919cc0d698ed86735d2629325 (patch) | |
tree | a1a37f16d629b3aec13bf9dbc66b62c0893834d2 /src | |
parent | 984356c796963bcba44dcbe261e460bd37385c35 (diff) |
Use the cantarell font
Diffstat (limited to 'src')
-rw-r--r-- | src/server/Design/Global.hs | 6 |
1 files changed, 4 insertions, 2 deletions
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) |