-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
304 lines (234 loc) · 5.31 KB
/
styles.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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
/*================= CONFIGURAÇÃO ===================*/
* {
box-sizing: border-box;
margin: 0;
padding: 0;
outline: 0;
}
html {
/* a cada 1rem será considera 10px */
font-size: 62.5%;
font-family: 'Roboto', sans-serif;
}
/*================= VARIÁVEIS CSS ===================*/
:root {
--color-background-body: #44475a;
--color-background-section: #21222c;
--color-background-card: #282a36;
--color-button: #3cc45e;
--color-button-hover: #50fa7b;
--color-text-name: #50fa7b;
--color-text-post: #ff79c6;
--color-icons: #f8f8f2;
--color-text-info: #f1fa8c;
--color-text-ocupation: #8be9fd;
}
body {
background: var(--color-background-body);
}
/*================= HEADER - FORMULÁRIO ===================*/
header {
width: 90%;
max-width: 114.8rem;
height: auto;
margin: auto;
background: var(--color-background-section);
border-radius: 12px;
padding: 4.2rem;
margin-top: 7.2rem;
}
header h2 {
color: var(--color-text-post);
margin-bottom: 2.4rem;
font-weight: 900;
}
.div-form form {
width: 100%;
display: flex;
flex-direction: column;
flex-wrap: wrap;
height: 22.8rem;
gap: 1rem;
}
.div-form form input {
height: 3rem;
width: 50%;
background: var(--color-background-body);
border: none;
border-radius: 0.5rem;
padding: 0 1.8rem;
font-weight: 600;
transition: all 0.3s ease 0s;
color: var(--color-text-post);
}
.div-form form input:hover {
background: #54576e;
}
.div-form form input::placeholder {
color: rgba(255, 255, 255, 0.6);
font-size: 1.2rem;
}
/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
-webkit-box-shadow: 0 0 0px 1000px var(--color-background-body) inset;
-webkit-text-fill-color: var(--color-text-post);
font-weight: 600;
}
.button-form {
display: flex;
justify-content: flex-end;
}
.button-form button {
min-width: 25.3rem;
height: 2.8rem;
background: var(--color-button);
border-radius: 0.5rem;
color: var(--color-background-card);
font-weight: 700;
font-size: 1.2rem;
border: none;
align-self: flex-end;
transition: all 0.3s ease 0s;
cursor: pointer;
}
.div-form form button:hover {
background: var(--color-button-hover);
}
/*================= SECTION CARDS ===================*/
.cards {
width: 90%;
height: auto;
max-width: 114.8rem;
margin: auto;
background: var(--color-background-section);
border-radius: 12px;
margin-top: 3.3rem;
margin-bottom: 7.2rem;
padding: 2.4rem;
display: flex;
flex-wrap: wrap;
gap: 3.4rem;
justify-content: center;
}
.card {
width: 30rem;
background-color: var(--color-background-card);
height: 53.6rem;
border-radius: 10px;
display: flex;
flex-direction: column;
transition: all 0.3s ease 0s;
position: relative;
}
.card:hover {
transform: translateY(-7px);
}
.banner {
background-color: var(--color-background-card);
height: 20rem;
border-radius: inherit;
overflow: hidden;
width: 100%;
box-shadow: 0 4px 8px var(--color-background-section);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.banner img {
height: inherit;
border-radius: inherit;
}
.img-github img {
width: 45%;
position: absolute;
top: 35%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
border: 4px solid var(--color-background-body);
box-shadow: 0 4px 8px var(--color-background-section);
}
.apresentacao {
display: flex;
align-items: center;
flex-direction: column;
margin-top: 8rem;
}
.apresentacao h2 {
font-size: 2.4rem;
color: var(--color-text-name);
text-align: center;
}
.apresentacao h3 {
font-size: 1.2rem;
color: var(--color-text-info);
}
.info {
display: flex;
flex-direction: column;
padding-left: 4rem;
gap: 2rem;
margin-top: 2.4rem;
}
.info a {
text-decoration: none;
color: inherit;
transition: all 0.3s ease 0s;
}
.info a:hover {
text-decoration: none;
color: var(--color-text-info);
}
.info i {
color: var(--color-icons);
font-size: 1.8rem;
}
.info span {
font-size: 1.4rem;
font-family: 'Roboto', sans-serif;
font-weight: 600;
margin-left: 1rem;
color: var(--color-text-ocupation);
}
.redes {
margin-top: 3rem;
font-size: 1.6rem;
display: flex;
gap: 20px;
align-items: center;
justify-content: center;
}
.redes a {
color: var(--color-icons);
transition: all 0.3s ease 0s;
}
.redes a:hover {
color: var(--color-text-info);
}
/*================= MEDIA QUERIES ===================*/
@media screen and (max-width: 767px) and (min-width: 280px){
.div-form form {
flex-direction: column;
height: auto;
}
.div-form form input {
height: 2.8rem;
width: 100%;
}
.button-form{
width: inherit;
margin-top: 1.4rem;
}
.button-form button {
width: 100%;
min-width: 16.8rem;
height: 2.8rem;
}
}