3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-12-26 00:43:46 +00:00
coope/staticfiles/sass/layout/_footer.scss

60 lines
1.3 KiB
SCSS
Raw Normal View History

///
/// Stellar by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Footer */
#footer {
@include vendor('display', 'flex');
@include vendor('flex-wrap', 'wrap');
@include padding(5em, 5em);
width: calc(100% + #{_size(element-margin)});
margin: 0 0 (_size(element-margin) * 1.5) (_size(element-margin) * -1);
> * {
width: calc(50% - #{_size(element-margin)});
margin-left: _size(element-margin);
}
.copyright {
width: 100%;
margin: (_size(element-margin) * 1.25) 0 _size(element-margin) 0;
font-size: 0.8em;
text-align: center;
}
@include breakpoint(large) {
@include padding(4em, 4em);
}
@include breakpoint(medium) {
@include padding(4em, 3em);
display: block;
margin: 0 0 (_size(element-margin) * 1.5) 0;
width: 100%;
> * {
width: 100%;
margin-left: 0;
margin-bottom: (_size(element-margin) * 1.5);
}
.copyright {
text-align: left;
}
}
@include breakpoint(small) {
@include padding(3em, 2em);
}
@include breakpoint(xsmall) {
@include padding(3em, 1.5em);
}
@include breakpoint(xsmall) {
@include padding(2.5em, 1em);
}
}