aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-07-10 00:03:42 +0200
committerJoris Guyonvarch2015-07-10 00:03:42 +0200
commit0041c546869f0a7fd59a085cc75b481237b6c380 (patch)
tree4814108670fc1a3e7c5a334e884accd0e9dc5e96 /src/server/Design
parent4ce9751c9e645916fdde71874c2cdadd252f32a0 (diff)
downloadbudget-0041c546869f0a7fd59a085cc75b481237b6c380.tar.gz
budget-0041c546869f0a7fd59a085cc75b481237b6c380.tar.bz2
budget-0041c546869f0a7fd59a085cc75b481237b6c380.zip
Fetching payments and showing them in a table
Diffstat (limited to 'src/server/Design')
-rw-r--r--src/server/Design/Global.hs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/server/Design/Global.hs b/src/server/Design/Global.hs
index cc16e2e..3408b22 100644
--- a/src/server/Design/Global.hs
+++ b/src/server/Design/Global.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE OverloadedStrings #-}
+
module Design.Global
( globalDesign
) where
@@ -12,10 +14,16 @@ globalDesign :: Text
globalDesign = renderWith compact [] global
global :: Css
-global =
+global = do
+
header ?
h1 ? do
fontSize (px 40)
textAlign (alignSide sideCenter)
margin (px 30) (px 0) (px 30) (px 0)
color C.brown
+
+ table ? do
+ width (pct 50)
+ textAlign (alignSide (sideCenter))
+ "border-spacing" -: "10 px"