diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/css/elements/layout.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php index e475ea5..31d3b49 100644 --- a/views/default/css/elements/layout.php +++ b/views/default/css/elements/layout.php @@ -81,19 +81,18 @@ body { .elgg-page-body .elgg-inner { position: relative; /* This fixes the IE7 overflow hidden bug */ clear: both; - float: left; - width: 100%; /* width of whole page */ overflow: hidden; /* This chops off any overhanging divs */ background-color: #dedede; } .elgg-layout { - right: 25%; background-color: #eee; float: left; position: relative; - width: 100%; min-height: 500px; } +.elgg-layout-one-sidebar { + right: 25%; +} .elgg-sidebar { left: 31%; width: 21%; @@ -107,10 +106,12 @@ body { margin: 0 10px 0 0; } .elgg-main { + left: 2%; + width: 96%; +} +.elgg-layout-one-sidebar .elgg-main { left: 27%; width: 71%; - padding: 10px; - padding-left: 20px; } .elgg-main > .elgg-head { padding-bottom: 3px; |