_footer.scss
1.17 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
///
/// Eventually 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('transition', 'opacity 0.5s ease-in-out');
bottom: 4em;
color: _palette(fg-light);
left: 4em;
opacity: 0.5;
position: absolute;
.icons {
margin: 0 0 (_size(element-margin) * 0.25) 0;
}
.copyright {
font-size: 0.8em;
list-style: none;
padding: 0;
li {
border-left: solid 1px _palette(border2);
display: inline-block;
line-height: 1em;
margin: 0 0 0 0.75em;
padding: 0 0 0 0.75em;
&:first-child {
border-left: 0;
margin-left: 0;
padding-left: 0;
}
}
a {
color: inherit;
}
}
&:hover {
opacity: 1;
}
> :last-child {
margin-bottom: 0;
}
@include breakpoint('<=xlarge') {
bottom: 3.5em;
left: 3.5em;
}
@include breakpoint('<=small') {
bottom: 2em;
left: 2em;
}
@include breakpoint('<=xxsmall') {
bottom: 1.25em;
left: 1.25em;
}
@include breakpoint('short') {
bottom: auto;
left: auto;
margin: (_size(element-margin) * 0.5) 0 0 0;
position: relative;
}
}