-
Notifications
You must be signed in to change notification settings - Fork 1
/
_footer.scss
60 lines (49 loc) · 1.27 KB
/
_footer.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
///
/// 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);
}
}