From 5cad5adab9cfb4ec352d6d102504a0cd90e396d3 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Fri, 13 Jan 2012 20:57:16 +0000 Subject: [PATCH] _s: adding sample layouts for content-sidebar, sidebar-content, and sidebar-content-sidebar --- layouts/content-sidebar.css | 25 +++++++++++++++++++++++++ layouts/sidebar-content-sidebar.css | 27 +++++++++++++++++++++++++++ layouts/sidebar-content.css | 25 +++++++++++++++++++++++++ style.css | 1 + 4 files changed, 78 insertions(+) create mode 100644 layouts/content-sidebar.css create mode 100644 layouts/sidebar-content-sidebar.css create mode 100644 layouts/sidebar-content.css diff --git a/layouts/content-sidebar.css b/layouts/content-sidebar.css new file mode 100644 index 0000000..78f40a7 --- /dev/null +++ b/layouts/content-sidebar.css @@ -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%; +} \ No newline at end of file diff --git a/layouts/sidebar-content-sidebar.css b/layouts/sidebar-content-sidebar.css new file mode 100644 index 0000000..50771e0 --- /dev/null +++ b/layouts/sidebar-content-sidebar.css @@ -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%; +} diff --git a/layouts/sidebar-content.css b/layouts/sidebar-content.css new file mode 100644 index 0000000..07af856 --- /dev/null +++ b/layouts/sidebar-content.css @@ -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%; +} \ No newline at end of file diff --git a/style.css b/style.css index b51937e..c0f78e6 100644 --- a/style.css +++ b/style.css @@ -18,6 +18,7 @@ along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normali and Blueprint http://www.blueprintcss.org/ */ + /* =Reset -------------------------------------------------------------- */