mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:16:18 +08:00
Added some floats and sidebar to TheThemeMachine.
--HG-- branch : dev
This commit is contained in:
@@ -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;
|
||||
}
|
@@ -44,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>
|
Reference in New Issue
Block a user