--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-10-07 11:57:23 -07:00
2 changed files with 34 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ header, footer, aside, nav, article {
/* Clearing Float
***************************************************************/
group:after {
.group:after {
content: ".";
display: block;
height: 0;
@@ -150,6 +150,32 @@ nav ul li a {
/* For testing purposes */
div, nav, section {
#layout-wrapper {
border:1px solid #CCC;
}
/* Sidebar off - Content Zone 960 */
#content {
background-color:#e8e8e8;
width: 960px;
clear:both;
}
/* Sidebar on - Content Zone 640 */
.icanhassidebar #content {
background-color:#e8e8e8;
width: 640px;
float:left;
clear:both;
}
.sidebar {
background-color:#f6f6f6;
width: 320px;
float:right;
}
#sitemap {
clear:both;
}

View File

@@ -12,6 +12,7 @@
}
}
<div id="layout-wrapper">
@Display.User()
<header id="layout-header">
@* needs to be the page title, not page (head) title... *@
<h1><a href="@homeUrl">@WorkContext.CurrentSite.SiteName</a></h1>
@@ -43,13 +44,13 @@
</div>
}
@if(Model.Sidebar != null) {
<aside>
<aside class="sidebar">
@Zone(Model.Sidebar)
</aside>
}
@if(Model.Footer != null) {
<footer>
@Zone(Model.Footer)
<footer id="sitemap">
Powered by Awesomeness...
</footer>
}
</div>