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:
parent
715f668b1f
commit
aea2dd826f
@ -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
12
includes/_content.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user