_s: adding sample layouts for content-sidebar, sidebar-content, and sidebar-content-sidebar

This commit is contained in:
Ian Stewart 2012-01-13 20:57:16 +00:00
parent a81dc6a810
commit 5cad5adab9
4 changed files with 78 additions and 0 deletions

View File

@ -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%;
}

View File

@ -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%;
}

View File

@ -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%;
}

View File

@ -18,6 +18,7 @@ along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normali
and Blueprint http://www.blueprintcss.org/ and Blueprint http://www.blueprintcss.org/
*/ */
/* =Reset /* =Reset
-------------------------------------------------------------- */ -------------------------------------------------------------- */