a simple footer
This commit is contained in:
28
site/assets/scss/elements/_footer.scss
Normal file
28
site/assets/scss/elements/_footer.scss
Normal file
@ -0,0 +1,28 @@
|
||||
footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 0;
|
||||
background-color: $dark-blue;
|
||||
padding: $gutter;
|
||||
color: $light-grey;
|
||||
|
||||
nav {
|
||||
flex: 0 1 auto;
|
||||
margin: 5px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 650px) {
|
||||
footer {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 900px) {
|
||||
footer {
|
||||
padding: ($gutter * 2) calc((100% - 850px) / 2);
|
||||
width: 850px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user