1
0
mirror of https://github.com/danbee/julep synced 2025-03-04 08:59:10 +00:00

Add padding options for main content.

This commit is contained in:
Dan Barber 2013-02-12 11:38:52 +00:00
parent 715f668b1f
commit aea2dd826f
2 changed files with 19 additions and 0 deletions

View File

@ -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";

12
includes/_content.scss Normal file
View File

@ -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;
}
}
}