two column layout example for blueprint.

This commit is contained in:
Chris Eppstein 2010-01-30 18:01:12 -08:00
parent 5e48e074de
commit 853169f616
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
title: Two Column Layout
description: A semantic two-column layout
framework: blueprint
stylesheet: blueprint/_grid.sass
example: true
---
= render "partials/example"

View File

@ -0,0 +1,19 @@
.two-col
#header
%h1 This is the Header
#sidebar
%ul
%li
%a(href="#") Nav #1
%li
%a(href="#") Nav #2
%li
%a(href="#") Nav #3
#content
%p
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et
dolore magna aliqua.
#footer
This is the footer.

View File

@ -0,0 +1,16 @@
!blueprint_grid_columns = 8
!blueprint_grid_width = 40px
@import blueprint
.two-col
+container
background-color: #ccc
#header, #footer
+column(8)
#sidebar
+column(3)
#content
+column(5, true)