Jello Exposure

A very light and bright Drupal theme using the Zen framework. The main color is pure white with delicate gray highlights.
The main feature here is a Jello-style layout for Zen. Based on Jello Mold the behaviour is like Garland / Minnelli.
The theme for this site uses the layout.css, try resizing the browser to get an impression of the Jello effect.
The actual theme specific css is just lightly themed to present it in a nice way.
There is one simple change to the page.tpl.php file, a div#float-wrap is added to wrap the main content and left sidebar so they can be grouped against the right sidebar.
The bulk of code is in the layout.css, here are the main changes to the zen/layout-liquid.css as pseudo diff:
body { margin: 0; - padding: 10px; + padding: 0 25em; /* all above 21.875em is padding */ + text-align: center; /* centering hack for IE5.x/Win */ } #page { + width: 50%; /* this value controls liquidity; 0% = full rigid, 100% = full liquid */ + margin: 0 auto; /* standard centering method */ + padding: 0; + text-align: left; /* resets centering hack to default */ } #page-inner { + position: relative; + margin: 0 -25em; + min-width: 50em; + text-align: left; + min-height: 1px; /* This harmless declaration gives Layout to IE7, which can't read the Holly hack below */ } + /* Holly hack for IE \*/ + * html body, + * html #page, + * html #page-inner { height: 0; } + /* */ #main { - position: relative; } + #main, + .two-sidebars #main + { + margin-left: 18em; /* The width of #sidebar-left */ + margin-right: 18em; /* Negative value of #content's width + left margin. */ + } + .sidebar-left #main + { + margin-left: 18em; /* The width of #sidebar-left */ + margin-right: 0; /* Negative value of #content's width + left margin. */ + } + .sidebar-right #main + { + margin-left: 0; /* The width of #sidebar-left */ + margin-right: 18em; /* Negative value of #content's width + left margin. */ + } + .no-sidebars #main + { + margin-left: 0; /* The width of #sidebar-left */ + margin-right: 0; /* Negative value of #content's width + left margin. */ + } + #float-wrap + { + float: left; + width: 100%; + } #content { - float: left; + float: right; width: 100%; - margin-left: 0; - margin-right: -100%; /* Negative value of #content's width + left margin. */ padding: 0; } - .two-sidebars #content-inner - { - padding-left: 200px; /* The width + left margin of #sidebar-left. */ - padding-right: 200px; /* The width + right margin of #sidebar-right. */ - } - .sidebar-left #content-inner - { - padding-left: 200px; /* The width + left margin of #sidebar-left. */ - padding-right: 0; - } - .sidebar-right #content-inner - { - padding-left: 0; - padding-right: 200px; /* The width + right margin of #sidebar-right. */ - }
There is some more rigid vs. elastic positioning, but that’s about it.
| Attachment | Size |
|---|---|
| exposure-1.0.zip | 33.93 KB |


Comments
Post new comment