diff options
author | Pim van den Berg | 2009-09-29 19:56:44 +0200 |
---|---|---|
committer | Pim van den Berg | 2009-09-29 20:06:19 +0200 |
commit | 8bf309b808142d21aade10a40466403adf2001d7 (patch) | |
tree | f584b93a3a8fdd42782c29661fe906455ad15483 /layout | |
parent | change webdir/weburl and include/require usage (diff) | |
download | apt-panopticon_cgp-8bf309b808142d21aade10a40466403adf2001d7.zip apt-panopticon_cgp-8bf309b808142d21aade10a40466403adf2001d7.tar.gz apt-panopticon_cgp-8bf309b808142d21aade10a40466403adf2001d7.tar.bz2 apt-panopticon_cgp-8bf309b808142d21aade10a40466403adf2001d7.tar.xz |
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
Diffstat (limited to 'layout')
-rw-r--r-- | layout/style.css | 28 |
1 files changed, 27 insertions, 1 deletions
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 @@ | |||
1 | body { | ||
2 | font-family: sans-serif; | ||
3 | margin: 0px; | ||
4 | } | ||
5 | |||
6 | #header { | ||
7 | background: #4d79b5; | ||
8 | padding-left: 10px; | ||
9 | } | ||
10 | |||
11 | #header a{ | ||
12 | display: block; | ||
13 | padding: 8px; | ||
14 | color: #fff; | ||
15 | text-decoration: none; | ||
16 | } | ||
17 | |||
18 | #content, #footer{ | ||
19 | padding: 0px 20px 16px; | ||
20 | } | ||
21 | |||
1 | h1 { | 22 | h1 { |
23 | margin-top: 0; | ||
24 | font-size: 1em; | ||
25 | } | ||
26 | |||
27 | h2 { | ||
2 | font-size: 1.5em; | 28 | font-size: 1.5em; |
3 | margin: 0.5em 0; | 29 | margin: 0.5em 0; |
4 | } | 30 | } |
5 | 31 | ||
6 | h2 { | 32 | h3 { |
7 | font-size: 1em; | 33 | font-size: 1em; |
8 | } | 34 | } |
9 | 35 | ||