Skip to content

Instantly share code, notes, and snippets.

View dannyprose's full-sized avatar

Danny Palmer dannyprose

View GitHub Profile
@dannyprose
dannyprose / _layout.scss
Created September 9, 2013 02:52
Working with Susy 2 syntax.
//Grid-wide settings
$columns : 4;
$break-large : 50em;
$break-medium : 35em;
//Ulitities
@dannyprose
dannyprose / 2_layout.css.scss
Created August 19, 2012 05:12
Primary HAML Layout File
$total-columns : 7;
$column-width : 4em;
$gutter-width : 1em;
$grid-padding : $gutter-width;
$break : 12;
.container {
@include container($total-columns, $break);
}
@dannyprose
dannyprose / Help Danny Get Responsive Susy
Created May 10, 2012 20:38
Helping Danny understand Susy's responsive grids and breakpoints
// Hey Eric, I'm hoping you can help me "get" the responsive part
// of Susy 1.0. I think I'm still a little unsure about it, and
// I'd like to make sure I'm implementing it correctly.
// Please feel free to adjust below into what should be a proper use case.
#main {
@include container;
section.nav {
@include span-columns(12);
@dannyprose
dannyprose / middleman-complex-YAML-and-control-structures.haml
Created December 13, 2011 04:17
Middleman: Complex YAML and Control Structures
/////
/ YAML: data/someStuff.yml
/
/ awsomeStuff:
/ - title: Awesome Stuff #1
/ author: Danny Palmer
/ content-tag: a-s-1
/
/ - title: Awesome Stuff #2
/ author: Danny Palmer2