Skip to content

Instantly share code, notes, and snippets.

@resistorsoftware
Created February 9, 2010 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save resistorsoftware/299438 to your computer and use it in GitHub Desktop.
Save resistorsoftware/299438 to your computer and use it in GitHub Desktop.
//Recommended Blueprint configuration with scoping and semantic layout:
+blueprint-utilities
+blueprint-debug
+blueprint-typography
//+blueprint-scaffolding
+sticky-footer(20px, "#container", "#root_footer", "#footer" )
body#site
#container
+container
#header, #footer
+column(!blueprint_grid_columns)
#sidebar
// One third of the grid columns, rounding down. With 24 cols, this is 8.
!sidebar_columns = floor(!blueprint_grid_columns / 3)
+column(!sidebar_columns)
#content
// Two thirds of the grid columns, rounding up. With 24 cols, this is 16.
!content_columns = ceil(2 * !blueprint_grid_columns / 3)
+column(!content_columns, true)
#header
margin-top: 2em
h1
+replace-text("logo.jpg")
width: 600px
height: 113px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment