diff options
author | Pim van den Berg | 2012-12-26 15:14:31 +0100 |
---|---|---|
committer | Pim van den Berg | 2012-12-26 15:22:20 +0100 |
commit | 03817485b3254cf8b84667873074b0b69cf72f3d (patch) | |
tree | 6e69b925a5ad0b23b3b62749db22f708e49d78d9 /layout | |
parent | layout: remove {minus,plus}.gif (diff) | |
download | apt-panopticon_cgp-03817485b3254cf8b84667873074b0b69cf72f3d.zip apt-panopticon_cgp-03817485b3254cf8b84667873074b0b69cf72f3d.tar.gz apt-panopticon_cgp-03817485b3254cf8b84667873074b0b69cf72f3d.tar.bz2 apt-panopticon_cgp-03817485b3254cf8b84667873074b0b69cf72f3d.tar.xz |
layout: use the max width of the browser to show the graphs
Reference: http://stackoverflow.com/questions/1260122/expand-div-to-take-remaining-width
Diffstat (limited to 'layout')
-rw-r--r-- | layout/style.css | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/layout/style.css b/layout/style.css index f61b0ad..56b7644 100644 --- a/layout/style.css +++ b/layout/style.css | |||
@@ -15,7 +15,12 @@ body { | |||
15 | text-decoration: none; | 15 | text-decoration: none; |
16 | } | 16 | } |
17 | 17 | ||
18 | #content, #footer{ | 18 | #content { |
19 | padding-left: 20px; | ||
20 | } | ||
21 | |||
22 | #footer { | ||
23 | clear: both; | ||
19 | padding: 0px 20px 16px; | 24 | padding: 0px 20px 16px; |
20 | } | 25 | } |
21 | 26 | ||
@@ -96,10 +101,7 @@ hr { | |||
96 | } | 101 | } |
97 | 102 | ||
98 | .graphs { | 103 | .graphs { |
99 | display: inline-block; | 104 | overflow: hidden; |
100 | margin: 0 0 0 20px; | ||
101 | width: 83%; | ||
102 | vertical-align: top; | ||
103 | } | 105 | } |
104 | 106 | ||
105 | .graphs img { | 107 | .graphs img { |
@@ -108,8 +110,8 @@ hr { | |||
108 | } | 110 | } |
109 | 111 | ||
110 | .plugins { | 112 | .plugins { |
111 | display: inline-block; | 113 | float: left; |
112 | width: 12%; | 114 | margin-right: 25px; |
113 | } | 115 | } |
114 | 116 | ||
115 | .plugins ul > li:first-of-type { | 117 | .plugins ul > li:first-of-type { |