]> gitweb.fluxo.info Git - lorea/saravea_theme.git/commitdiff
Widget layout without unuseful sidebar.
authorSem <sembrestels@riseup.net>
Thu, 18 Oct 2012 22:56:06 +0000 (00:56 +0200)
committerSem <sembrestels@riseup.net>
Thu, 18 Oct 2012 22:56:06 +0000 (00:56 +0200)
views/default/css/elements/layout.php

index e475ea575ec48de8cc8a365075e85b012889627c..31d3b498e0c444fdf7ced97fc088fc06ac5a7c06 100644 (file)
@@ -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;