From 8bf309b808142d21aade10a40466403adf2001d7 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Tue, 29 Sep 2009 19:56:44 +0200 Subject: layout improvement based on daniel's patch The page is divided into a header, content and footer. It is styled better and the header links to the main page. Patch from Daniel von Fange (Leancoder): http://pommi.nethuis.nl/storage/software/cgp/leancoder-css.cgp-v-0-1.patch --- layout/style.css | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'layout') diff --git a/layout/style.css b/layout/style.css index 08b6757..787069b 100644 --- a/layout/style.css +++ b/layout/style.css @@ -1,9 +1,35 @@ +body { + font-family: sans-serif; + margin: 0px; +} + +#header { + background: #4d79b5; + padding-left: 10px; +} + +#header a{ + display: block; + padding: 8px; + color: #fff; + text-decoration: none; +} + +#content, #footer{ + padding: 0px 20px 16px; +} + h1 { + margin-top: 0; + font-size: 1em; +} + +h2 { font-size: 1.5em; margin: 0.5em 0; } -h2 { +h3 { font-size: 1em; } -- cgit v1.1