-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
416 lines (365 loc) · 8.71 KB
/
style.css
File metadata and controls
416 lines (365 loc) · 8.71 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
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
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
@import url("https://fonts.googleapis.com/css2?family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
* {
box-sizing: border-box; /* Garante que padding e border não aumentem o tamanho total do elemento */
}
body {
background-color: #000000; /* Retornando ao fundo preto original */
/* Adicionando a textura sutil de ícones sobre o fundo preto */
background-image: radial-gradient(
circle at 25% 25%,
rgba(255, 255, 255, 0.02),
/* Gradiente ainda mais sutil */ rgba(255, 255, 255, 0) 40%
),
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-2-20v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM22 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
color: #e2e1dd;
font-family: "Sansation", sans-serif;
padding: 0 2rem;
overflow-x: hidden; /* Previne scroll horizontal indesejado */
}
h1 {
font-size: 2.5rem;
font-weight: 700;
/* Efeito de gradiente no texto */
background: linear-gradient(90deg, #00ffcc, #c77dff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
/* Brilho sutil para o efeito neon */
text-shadow: 0 0 15px rgba(0, 255, 204, 0.25);
}
.logo-container {
display: flex;
flex-direction: row;
align-items: center;
gap: 1rem;
}
header {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 32px;
}
.search-container {
width: 100%;
max-width: 500px;
position: relative; /* Necessário para posicionar o ícone */
}
.search-icon {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
color: #555; /* Cor inicial do ícone */
transition: color 0.3s ease;
pointer-events: none; /* Permite clicar através do ícone no input */
}
header input {
width: 100%;
padding: 12px 16px 12px 50px; /* Aumenta o padding esquerdo para dar espaço ao ícone */
margin: 16px 0;
border: 1px solid #333; /* Borda sutil */
background-color: rgba(0, 0, 0, 0.2); /* Fundo semi-transparente */
border-radius: 8px;
font-size: 0.9rem;
transition: all 0.3s ease;
color: #fff;
}
/* Estiliza o texto do placeholder */
header input::placeholder {
color: #777;
transition: opacity 0.3s ease;
}
header input:focus {
outline: none;
border-color: rgba(0, 255, 204, 0.5); /* Borda com a cor do tema */
background-color: rgba(0, 0, 0, 0.1);
/* Efeito de brilho "neon" */
box-shadow: 0 0 10px rgba(0, 255, 204, 0.3), 0 0 20px rgba(0, 255, 204, 0.2);
}
/* Quando o input está focado, o ícone fica ciano e o placeholder some */
header input:focus + .search-icon,
.search-container:has(input:focus) .search-icon {
color: #00ffcc;
}
.filters-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0.75rem;
margin: 2rem 0 1rem 0;
}
.filter-btn {
padding: 8px 16px;
border: 1px solid #333;
background-color: transparent;
color: #c5c5c5;
border-radius: 20px;
cursor: pointer;
transition: all 0.3s ease;
text-transform: capitalize;
}
.filter-btn:hover,
.filter-btn.active {
background-color: #00ffcc;
color: #110714;
border-color: #00ffcc;
transform: translateY(-2px);
}
.cards-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem;
margin-top: 16px;
}
/* Estilo dos cards */
.card {
padding: 1.5rem;
margin: 16px;
border-radius: 8px;
color: #c5c5c5;
background: linear-gradient(145deg, #1a0a1f, #110714);
border: 1px solid transparent;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
max-width: 30rem;
position: relative; /* Necessário para o pseudo-elemento ::before */
overflow: hidden;
/* Define o estado inicial para evitar o "flicker" na animação */
opacity: 0;
}
.card {
animation: fadeInCard 0.6s ease-out forwards;
}
/* Efeito de borda com gradiente */
.card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 8px;
border: 1px solid transparent;
background: linear-gradient(145deg, #00ffcc, #2b1030) border-box;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: destination-out;
mask-composite: exclude;
opacity: 0.3;
transition: opacity 0.3s ease;
}
.card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.card:hover::before {
opacity: 1;
animation: pulsoSinapse 1.2s ease-in-out;
}
.card h3 {
color: #ffffff;
margin-top: 0.5rem;
margin-bottom: 1rem;
}
.card small.tag {
display: inline-block;
background-color: #00ffcc;
color: #2b1030;
font-weight: bold;
padding: 4px 8px;
border-radius: 4px;
margin-bottom: 1rem;
}
.card .aplicacao {
background-color: rgba(0, 0, 0, 0.2);
padding: 1rem;
border-radius: 6px;
margin-top: 1rem;
border-left: 3px solid #00ffcc;
}
.card .tags-container {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 1.5rem;
}
.card .tag-item {
background-color: rgba(255, 255, 255, 0.1);
color: #00ffcc;
padding: 4px 8px;
border-radius: 4px;
font-size: 0.75rem;
}
@keyframes pulsoSinapse {
0%,
100% {
opacity: 1;
filter: brightness(1.8);
}
50%,
99% {
opacity: 0.2;
filter: brightness(1);
}
}
@keyframes fadeInCard {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* --- Footer --- */
footer {
text-align: center;
padding: 2.5rem 0 2rem 0;
margin-top: 3rem;
border-top: 1px solid #333;
color: #c5c5c5;
font-size: 0.9rem;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.social-links a {
color: #c5c5c5;
margin: 0 0.75rem;
transition: color 0.3s ease, transform 0.3s ease;
display: inline-block;
}
.social-links a:hover {
color: #00ffcc;
transform: translateY(-3px);
}
.social-links svg {
width: 24px;
height: 24px;
fill: currentColor;
}
.github-link a {
color: #c5c5c5;
text-decoration: none;
transition: color 0.3s ease;
}
.github-link a:hover {
color: #00ffcc;
}
/* --- Estilo da Barra de Rolagem --- */
::-webkit-scrollbar {
width: 12px;
background-color: #110714; /* Cor de fundo da trilha */
}
::-webkit-scrollbar-thumb {
background-color: #333; /* Cor do polegar da barra de rolagem */
border-radius: 10px;
border: 3px solid #110714; /* Espaçamento ao redor do polegar */
}
::-webkit-scrollbar-thumb:hover {
background-color: #555; /* Cor do polegar ao passar o mouse */
}
/* --- Botão Voltar para o Topo --- */
#back-to-top-btn {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background-color: #333;
color: #ffffff; /* Alterado para branco */
border: 1px solid #555;
border-radius: 50%;
cursor: pointer;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
/* Escondido por padrão */
opacity: 0;
visibility: hidden;
transform: translateY(20px);
transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
background-color 0.3s ease;
}
#back-to-top-btn.show {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
#back-to-top-btn:hover {
background-color: #444;
transform: scale(1.1);
}
/* --- Media Queries para Responsividade --- */
@media (max-width: 768px) {
body {
padding: 0 1rem; /* Reduz o espaçamento lateral em telas menores */
}
.logo-container {
flex-direction: column; /* Empilha o logo e o texto */
text-align: center;
gap: 0.1rem;
}
.logo-container span {
display: none; /* Esconde o separador "|" */
}
.logo-container p {
font-size: 0.8rem;
}
h1 {
font-size: 2rem; /* Reduz o tamanho do título principal */
margin-bottom: 0;
}
header input {
font-size: 0.85rem;
}
.filters-container {
margin: 1.5rem 0;
}
.card {
padding: 1.25rem;
margin: 8px; /* Reduz a margem dos cards */
width: 100%; /* Faz os cards ocuparem a largura total */
max-width: 100%;
}
}
/* --- Estilos da Paginação --- */
.pagination-container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 0.75rem;
padding: 2rem 0;
}
.page-btn {
background-color: transparent;
border: 2px solid #c5c5c5;
color: #c5c5c5;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
font-size: 1rem;
font-weight: bold;
font-family: "Sansation", sans-serif;
display: flex;
justify-content: center;
align-items: center;
transition: all 0.3s ease;
}
.page-btn:hover {
color: #00ffcc;
border-color: #00ffcc;
transform: translateY(-3px);
}
.page-btn.active {
background-color: #00ffcc;
color: #110714;
border-color: #00ffcc;
}