aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/layout
diff options
context:
space:
mode:
authorPim van den Berg2009-09-29 19:56:44 +0200
committerPim van den Berg2009-09-29 20:06:19 +0200
commit8bf309b808142d21aade10a40466403adf2001d7 (patch)
treef584b93a3a8fdd42782c29661fe906455ad15483 /layout
parentchange webdir/weburl and include/require usage (diff)
downloadapt-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.css28
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 @@
1body {
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
1h1 { 22h1 {
23 margin-top: 0;
24 font-size: 1em;
25}
26
27h2 {
2 font-size: 1.5em; 28 font-size: 1.5em;
3 margin: 0.5em 0; 29 margin: 0.5em 0;
4} 30}
5 31
6h2 { 32h3 {
7 font-size: 1em; 33 font-size: 1em;
8} 34}
9 35