-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
159 lines (150 loc) · 2.93 KB
/
style.css
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
:root {
--footer-bg: #121a29;
--text-color: #fafbfc;
--text-gray: ■#FEFEFE;
--text-heading-gray: ■#F4F5F6;
--text-primary: #fafbfc;
--button-border: #6b707c;
--button-color: #404652;
}
html {
font-size: 16px;
font-family: "Red Hat Display", sans-serif;
}
/*? footer reset */
*,
*::after,
*::before {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
margin: 0;
background: #fafbfc;
}
/*? footer containers */
footer {
position: absolute;
bottom: 0;
background: var(--footer-bg);
min-width: 18 rem;
width: 100vw;
bottom: 0;
display: flex;
align-items: center;
flex-direction: column;
}
.footer-wrapper {
display: flex;
background: var(--footer-bg);
flex-direction: column;
max-width: 80rem;
padding: 1rem;
}
/*? top section */
.footer-top {
display: flex;
flex-wrap: wrap;
gap: 2rem;
align-items: start;
padding: 1rem 0px;
justify-content: space-between;
}
.footer-headline {
color: var(--text-color);
}
.footer-line {
display: block;
width: 100%;
height: 0.5rem;
}
/*? footer subscribe */
.footer-subscribe {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.footer-subscribe > input {
border: 1px solid var (--button-border);
color: var(--text-color);
outline: none;
min-height: 2.25rem;
background: var(--footer-bg);
font-size: 1.2rem;
flex: 1 0 120px;
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
}
.footer-subscribe > input::placeholder {
color: var(--text-color);
}
.footer-subscribe > button {
cursor: pointer;
background: var(--button-color);
border-radius: 0.5rem;
color: white;
min-width: 8rem;
min-height: 2.25rem;
flex: 1 0 5rem;
white-space: nowrap;
padding: 0.5rem 0.75rem;
border: 0;
outline: none;
border: 1px solid var(--button-border);
}
.footer-logo h2 {
color: var(--text-color);
} /*? footer columns */
.footer-columns {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: start;
align-items: start;
flex: 2 0 14rem;
width: 100%;
gap: 1rem;
padding: 1.5rem 0.5rem 1rem 0.5rem;
margin: 0 auto;
}
.footer-bottom {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
color: var(--text-color);
}
.footer-columns ul,
.footer-bottom ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.footer-columns ul a {
text-decoration: none;
color: var(--text-color);
}
.footer-columns ul a:hover {
text-decoration: underline;
}
.footer-columns ul li {
margin-bottom: 1rem;
}
.footer-columns h3 {
color: var(--text-primary);
margin-top: 0;
margin-bottom: 1.5rem;
font-size: 1.125rem;
}
.footer-centering {
margin: 0 auto;
}
.footer-columns > section {
min-width: 10rem;
}
.social-links img {
width: 25px;
height: 25px;
}