-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfooter.module.scss
107 lines (93 loc) · 1.9 KB
/
footer.module.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
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
.footer {
color: var(--color-light);
position: relative;
margin-top: 6rem;
ul {
list-style: none;
padding: 0;
margin: 0;
}
a {
text-decoration: underline;
}
&__wrapper {
background-color: #000;
}
&__wave {
width: 100%;
margin-bottom: -2px;
}
&__container {
max-width: var(--container-content-width);
margin-left: auto;
margin-right: auto;
padding-top: 5.5rem;
padding-bottom: 5.5rem;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
display: grid;
grid-template-columns: 1fr 2fr 1fr 1fr;
grid-auto-flow: dense;
gap: 4rem;
@media screen and (max-width: 1280px) {
display: flex;
flex-direction: column;
}
}
&__contact,
&__sitemap,
&__social,
&__community {
display: flex;
flex-direction: column;
gap: 1rem;
@media screen and (max-width: 1280px) {
align-items: center !important;
}
}
&__sitemap {
&-links {
display: grid;
grid-auto-flow: column;
grid-template-rows: repeat(4, 1fr);
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
gap: 0.5rem 1rem;
column-gap: 1rem;
@media screen and (max-width: 576px) {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: auto;
grid-auto-flow: row;
}
// &-item a {
// padding: 0.5em 0;
// }
}
}
&__social {
@media screen and (min-width: 1280.98px) {
margin-left: auto;
margin-right: auto;
}
&-links {
display: flex;
gap: 1.25rem;
}
}
&__community {
@media screen and (min-width: 1280.98px) {
align-items: flex-end;
margin-left: auto;
h3 {
margin-right: auto;
}
}
img {
max-width: 195px;
}
}
/*make h2 look like h3 to make both accessibility and design happy*/
h2 {
font-size: 1.625rem;
}
}