1
0

BP: Edited 1column layout to look like it was supposed to in the first place.

This commit is contained in:
Matthias Mees
2007-12-04 10:34:57 +00:00
parent cd64c0b18b
commit 53f6f13d33
6 changed files with 37 additions and 40 deletions

View File

@ -96,19 +96,22 @@ body {
.onemain { .onemain {
width: 100%; width: 100%;
} }
.oneside {
width: 50%;
max-width: 300px;
}
.onefull { .onefull {
width: 100%; width: 100%;
max-width: 300px;
} }
.layout2sb_content { .layout2sb_content {
clear: right !important; clear: right !important;
} }
.onefull .serendipitySideBarItem {
float: left;
margin: 0px 1px 10px 11px!important;
padding: 0!important;
width: 18.5%;
}
#footer { #footer {
float: left; float: left;
position: relative; position: relative;

View File

@ -9,7 +9,11 @@
.layout1col_content { .layout1col_content {
float: none !important; float: none!important;
}
.layout1col_right_full {
float: none!important;
} }
/* stop the footer from extending the page's height */ /* stop the footer from extending the page's height */

View File

@ -9,7 +9,11 @@
.layout1col_content { .layout1col_content {
float: none !important; float: none!important;
}
.layout1col_right_full {
float: none!important;
} }
#footer { #footer {

View File

@ -9,7 +9,11 @@
.layout1col_content { .layout1col_content {
float: none !important; float: none!important;
}
.layout1col_right_full {
float: none!important;
} }
#footer { #footer {

View File

@ -290,9 +290,8 @@
{$CONTENT} {$CONTENT}
</div> </div>
{if $leftSidebarElements > 0} <div id="serendipityRightSideBar" class="onefull layout1col_right_full">
<div id="serendipityLeftSideBar" class="{if $rightSidebarElements > 0}oneside layout1col_left_side{else}onefull layout_1col_left_full{/if}"> {if $template_option.sitenavpos == 'left' || $template_option.sitenavpos == 'right'}
{if $template_option.sitenavpos == 'left'}
<!-- #sbsitenav: like #sitenav, but placed within the sidebar --> <!-- #sbsitenav: like #sitenav, but placed within the sidebar -->
<div id="sbsitenav" class="serendipitySideBarItem"> <div id="sbsitenav" class="serendipitySideBarItem">
<h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3> <h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3>
@ -304,26 +303,9 @@
</div> </div>
{/if} {/if}
{serendipity_printSidebar side="left"} {serendipity_printSidebar side="left"}
</div>
{/if}
{if $rightSidebarElements > 0}
<div id="serendipityRightSideBar" class="{if $leftSidebarElements > 0}oneside layout1col_right_side{else}onefull layout1col_right_full{/if}">
{if $template_option.sitenavpos == 'right'}
<!-- #sbsitenav: like #sitenav, but placed within the sidebar -->
<div id="sbsitenav" class="serendipitySideBarItem">
<h3 class="serendipitySideBarTitle">{$template_option.sitenav_sidebar_title}</h3>
<div class="serendipitySideBarContent">
<!-- the line below must remain as a single uninterrupted line to display correctly in ie6 -->
<ul>{foreach from=$navlinks item="navlink" name="sbnav"}<li class="{if $currpage==$navlink.href}currentpage{/if}{if $smarty.foreach.sbnav.first} sbnavlink_first{/if}{if $smarty.foreach.sbnav.last} sbnavlink_last{/if}"><a href="{$navlink.href}" title="{$navlink.title}">{$navlink.title}</a></li>{/foreach}</ul>
</div>
<div class="serendipitySideBarFooter"></div>
</div>
{/if}
{serendipity_printSidebar side="right"} {serendipity_printSidebar side="right"}
</div> </div>
{/if} {/if}
{/if}
<!-- #footer: the page footer can be used for additional information --> <!-- #footer: the page footer can be used for additional information -->
<div id="footer"> <div id="footer">

View File

@ -1,4 +1,4 @@
Name: Bulletproof v1.2 beta (s9y-bulletproof.com) Name: Bulletproof v1.2 beta (s9y-bulletproof.com)
Author: Bulletproof development team Author: Bulletproof development team
Date: 2007-11-18 Date: 2007-12-04
Require Serendipity: 1.2 Require Serendipity: 1.2