diff options
author | Sem <sembrestels@riseup.net> | 2012-10-19 00:56:06 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-10-19 00:56:06 +0200 |
commit | 854d844a7bb34eb68c9a0a3702c8b088333831fc (patch) | |
tree | b87c303d5b92b4d082a3bc192874adddd597fd93 /views/default/css/elements/layout.php | |
parent | cdf5797c1c11b81ba2d6413a5c63de0539096b49 (diff) | |
download | saravea_theme-854d844a7bb34eb68c9a0a3702c8b088333831fc.tar.gz saravea_theme-854d844a7bb34eb68c9a0a3702c8b088333831fc.tar.bz2 |
Widget layout without unuseful sidebar.
Diffstat (limited to 'views/default/css/elements/layout.php')
-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; |