-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
275 lines (235 loc) · 5.59 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* Paleta de cores */
:root {
--green: #68C545;
--bluao: #262C3A;
--bluezinho: #22A2BD;
--back-pers: #303748;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #262C3A;
font-family: "Poppins", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background-image: url('img/fundo-rick.jpg');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
header {
background: linear-gradient(to right, #262C3A, #000B0E);
height: 4rem;
width: 100%;
padding: 1% 2% 4.5%;
position: fixed;
top: 0;
/* border-bottom: 22px solid linear-gradient(to right, 3% #02323D, 80% #32950D, #296F0E); */
}
header::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2.5%;
background: linear-gradient(to right, #02323D 0%, #32950D 50%, #296F0E 100%);
}
.header {
display: flex;
justify-content: space-between;
}
/* ------ Definições butões ------ */
button {
background-color: var(--green);
color: #171D2C;
padding: 0.7rem 2rem;
font-size: 1.25rem;
margin: 8px 10px;
border-radius: .9375rem;
border: none;
cursor: pointer;
transition: background-color 0.4s, color 0.4s, transform 0.4s;
box-shadow: 0px 4px 6px rgba(26, 140, 51, 0.872);
}
button:hover {
background-color: #7fea58;
color: #171D2C;
transform: translateY(-9px);
}
/* Definições button login */
.btn-login {
background-color: transparent;
border: .125rem solid var(--green);
border-radius: .9375rem;
color: var(--green);
font-weight: 400;
}
.btn-login:hover {
background-color: var(--green);
color: #171D2C;
}
/* fim do button-login */
/* Estiliza as seções da página */
section {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 2rem;
}
section img {
padding: 0 0 1% 0;
margin: 11% 42rem 0 0;
}
/* Estiliza os inputs dentro das seções */
section input {
background-color: transparent;
margin-right: 41.75rem;
width: 29rem;
border: .0625rem solid var(--green);
padding: 1rem;
border-radius: .9375rem;
color: var(--green);
font-size: 1.2rem;
box-sizing: border-box;
outline: none;
}
input::placeholder {
color: var(--green);
}
p {
font-size: 1.1rem;
font-weight: 400;
color: var(--bluezinho);
}
.btn-sec {
width: 7rem;
border: .0625rem solid var(--green);
padding: 1rem 0;
border-radius: .9375rem;
font-size: 1.2rem;
margin-top: -3.5rem;
margin-right: 3.125rem;
}
/*-------- seção dos personagens --------*/
.resultados-pesquisa {
width: 56rem;
height: 46vh;
overflow-y: auto;
margin-bottom: 5rem;
}
.resultados-pesquisa img {
margin: 0 1%;
height: 16rem;
padding: 0;
}
/* Estiliza cada item de resultado */
.item-resultado {
background: var(--back-pers);
display: flex;
flex-direction: row;
width: 38rem;
border-radius: 1rem;
padding: 1rem;
margin-right: 2rem;
margin-bottom: 2.6rem;
/* box-shadow: 0 2px 4px rgba(23, 22, 22, 0.1); */
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
.item-infomacoes {
padding: 1.8rem;
}
#name-personagem {
color: var(--bluezinho);
font-size: 1.5rem;
font-weight: 500;
font-style: italic;
}
/* Estiliza os links dentro dos itens de resultado */
.social-media {
background-color: var(--green);
color: #171D2C;
font-size: 1rem;
text-decoration: none;
border-radius: .7rem;
padding: 0.5rem 16px;
margin: 0;
cursor: pointer;
transition: background-color 0.4s, color 0.4s, transform 0.4s;
box-shadow: 0px 6px 6px rgba(26, 140, 51, 0.872);
}
.social-media:hover {
background-color: #7fea58;
color: #171D2C;
transform: scale(1.3);
}
.descricao-meta {
color: #CEF5FF;
text-align: justify;
margin: 0.4rem 0 .9rem;
}
/* Estiliza o rodapé da página */
footer {
background: linear-gradient(to right, #262C3A, #000B0E);
color: var(--bluezinho);
font-size: 1rem;
width: 100%;
text-align: center;
position: fixed;
bottom: 0;
height: 6rem;
}
footer::before {
content: '';
position: absolute;
right: 0;
bottom: 2;
width: 100%;
height: 2px;
background: linear-gradient(to left, #02323D 0%, #32950D 50%, #194508 100%);
}
.footer {
display: flex;
justify-content: center;
align-items: center;
padding: 0.2% 0 0 0%;
font-weight: 200;
margin-top: .5rem;
}
.footer a {
text-decoration: none;
color: var(--bluezinho);
}
.icon-media img {
margin-top: 6px;
margin-left: .9375rem;
height: 1.5rem;
}
.p-footer {
margin: 1rem;
}
/* ----------------------------------------------------------- */
/* Estilos para a barra de rolagem */
::-webkit-scrollbar {
width: .61rem;
}
/* Estilos para a alça da barra de rolagem */
::-webkit-scrollbar-thumb {
background-color: var(--green);
border-radius: .7rem;
}
/* Estilos para a alça da barra de rolagem quando passa o mouse por cima */
::-webkit-scrollbar-thumb:hover {
background-color: #7fd162;
}
/* Estilos para a pista da barra de rolagem */
::-webkit-scrollbar-track {
background-color: #343d4b;
}