From aea2dd826fbba7b4f5774dad02b0e4e4a5fff633 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Tue, 12 Feb 2013 11:38:52 +0000 Subject: [PATCH] Add padding options for main content. --- _julep.scss | 7 +++++++ includes/_content.scss | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 includes/_content.scss diff --git a/_julep.scss b/_julep.scss index 2e4b908..61d2213 100644 --- a/_julep.scss +++ b/_julep.scss @@ -1,9 +1,16 @@ +// Set some sensible defaults. * { margin: 0; padding: 0; @include box-sizing(border-box); } +body { + margin: 0; + font-family: "Helvetica Neue", "Arial", sans-serif; +} + +@import "includes/content"; @import "includes/loader"; @import "includes/header"; @import "includes/tabbar"; diff --git a/includes/_content.scss b/includes/_content.scss new file mode 100644 index 0000000..35eb64f --- /dev/null +++ b/includes/_content.scss @@ -0,0 +1,12 @@ +// Set appropriate padding on content. +@mixin content($args...) { + padding: 0; + @each $arg in $args { + @if $arg == header { + padding-top: 2.5em; + } + @if $arg == tabbar { + padding-bottom: 3.5em; + } + } +}