forked from mirror/_s
_s: adding sample layouts for two sidebars on the right of a content column and two sidebars on the left of a content column
This commit is contained in:
parent
b17f2285d4
commit
dc2aacb56d
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Theme Name: _s
|
||||
Layout: Content-Sidebar-Sidebar
|
||||
*/
|
||||
|
||||
#primary {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
#content {
|
||||
margin: 0 40% 0 0;
|
||||
}
|
||||
#main .widget-area {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
width: 20%;
|
||||
}
|
||||
#secondary { /* Sidebar 1 */
|
||||
margin: 0 0 0 -40%;
|
||||
}
|
||||
#tertiary { /* Sidebar 2 */
|
||||
margin: 0 0 0 -20%;
|
||||
}
|
||||
#colophon {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
Theme Name: _s
|
||||
Layout: Sidebar-Sidebar-Content
|
||||
*/
|
||||
|
||||
#primary {
|
||||
float: right;
|
||||
margin: 0 0 0 -40%;
|
||||
width: 100%;
|
||||
}
|
||||
#content {
|
||||
margin: 0 0 0 40%;
|
||||
}
|
||||
#main .widget-area {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
width: 20%;
|
||||
}
|
||||
#colophon {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
}
|
|
@ -31,4 +31,4 @@
|
|||
</aside>
|
||||
|
||||
<?php endif; // end sidebar widget area ?>
|
||||
</div><!-- #secondary .widget-area -->
|
||||
</div><!-- #secondary .widget-area -->
|
||||
|
|
Reference in New Issue