init
This commit is contained in:
25
site/assets/scss/elements/_layout.scss
Normal file
25
site/assets/scss/elements/_layout.scss
Normal file
@ -0,0 +1,25 @@
|
||||
body {
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
header,
|
||||
main {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-bottom: $gutter;
|
||||
padding: $gutter;
|
||||
|
||||
&:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 900px) {
|
||||
section {
|
||||
padding: ($gutter * 2) calc((100% - 850px) / 2);
|
||||
width: 850px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user