forked from mirror/_s
_s: adding sample layouts for content-sidebar, sidebar-content, and sidebar-content-sidebar
This commit is contained in:
parent
a81dc6a810
commit
5cad5adab9
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
Theme Name: _s
|
||||
Layout: Content-Sidebar
|
||||
*/
|
||||
|
||||
#primary {
|
||||
float: left;
|
||||
margin: 0 -25% 0 0;
|
||||
width: 100%;
|
||||
}
|
||||
#content {
|
||||
margin: 0 25% 0 0;
|
||||
}
|
||||
#secondary { /* Sidebar 1 */
|
||||
float: right;
|
||||
overflow: hidden;
|
||||
width: 25%;
|
||||
}
|
||||
#tertiary { /* Sidebar 2 */
|
||||
clear: right;
|
||||
}
|
||||
#colophon {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Theme Name: _s
|
||||
Layout: Sidebar-Content-Sidebar
|
||||
*/
|
||||
|
||||
#primary {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
#content {
|
||||
margin: 0 20%;
|
||||
}
|
||||
#main .widget-area {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
width: 20%;
|
||||
}
|
||||
#secondary { /* Sidebar 1 */
|
||||
margin: 0 0 0 -100%;
|
||||
}
|
||||
#tertiary { /* Sidebar 2 */
|
||||
margin: 0 0 0 -20%;
|
||||
}
|
||||
#colophon {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
Theme Name: _s
|
||||
Layout: Sidebar-Content
|
||||
*/
|
||||
|
||||
#primary {
|
||||
float: right;
|
||||
margin: 0 0 0 -25%;
|
||||
width: 100%;
|
||||
}
|
||||
#content {
|
||||
margin: 0 0 0 25%;
|
||||
}
|
||||
#secondary { /* Sidebar 1 */
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
width: 25%;
|
||||
}
|
||||
#tertiary { /* Sidebar 2 */
|
||||
clear: left;
|
||||
}
|
||||
#colophon {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
}
|
Reference in New Issue