From 854d844a7bb34eb68c9a0a3702c8b088333831fc Mon Sep 17 00:00:00 2001 From: Sem Date: Fri, 19 Oct 2012 00:56:06 +0200 Subject: Widget layout without unuseful sidebar. --- views/default/css/elements/layout.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'views') 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; -- cgit v1.2.3