-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path_footer.scss
More file actions
143 lines (115 loc) · 2.87 KB
/
_footer.scss
File metadata and controls
143 lines (115 loc) · 2.87 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
///
/// Solid State by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Footer */
#footer {
.inner {
@include padding(5em, 0);
@include vendor('display', 'flex');
@include vendor('flex-direction', 'row');
@include vendor('flex-wrap', 'wrap');
margin: 0 auto;
width: _size(inner);
> * {
width: 100%;
}
form {
margin: 0 _size(section-spacing, large) 0 0;
width: calc(50% - #{_size(section-spacing, large) * 0.5});
}
.contact {
width: calc(50% - #{_size(section-spacing, large) * 0.5});
}
.copyright {
border-top: solid 2px _palette(border);
list-style: none;
margin: (_size(element-margin) * 2) 0 _size(element-margin) 0;
padding: _size(element-margin) 0 0 0;
width: 100%;
li {
border-left: solid 2px _palette(border);
color: _palette(fg-light);
display: inline-block;
font-size: 0.9em;
line-height: 1;
margin-left: 1em;
padding: 0;
padding-left: 1em;
&:first-child {
border-left: 0;
margin-left: 0;
padding-left: 0;
}
a {
color: inherit;
}
}
}
}
@include breakpoint('<=large') {
background-color: _palette(bg);
background-image: linear-gradient(to top, transparentize(_palette(bg), 0.2), transparentize(_palette(bg), 0.2)),
url('../../images/bg.jpg');
background-size: auto,
cover;
background-position: center,
center;
margin-top: (_size(wrapper-edges, large) * -1);
padding-top: _size(wrapper-edges, large);
}
@include breakpoint('<=medium') {
margin-top: (_size(wrapper-edges, medium) * -1);
padding-top: _size(wrapper-edges, medium);
.inner {
@include padding(3em, 3em);
display: block;
width: 100%;
form {
width: 100%;
margin: 0 0 (_size(element-margin) * 2) 0;
}
.contact {
width: 100%;
margin: 0 0 (_size(element-margin) * 2) 0;
}
.copyright {
margin: (_size(element-margin) * 2) 0 _size(element-margin) 0;
}
}
}
@include breakpoint('<=small') {
margin-top: (_size(wrapper-edges, small) * -1);
padding-top: _size(wrapper-edges, small);
.inner {
@include padding(2em, 2em);
form {
margin: 0 0 (_size(element-margin) * 1.5) 0;
}
.contact {
margin: 0 0 (_size(element-margin) * 1.5) 0;
}
}
}
@include breakpoint('<=xsmall') {
.inner {
.copyright {
li {
border-left: 0;
display: block;
margin: 1em 0 0 0;
padding-left: 0;
&:first-child {
margin-top: 0;
}
}
}
}
}
@include breakpoint('<=xxsmall') {
.inner {
@include padding(2em, 1.5em);
}
}
}