-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylefic.css
420 lines (350 loc) · 7.62 KB
/
stylefic.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
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
417
418
419
420
a {
text-decoration: none;
font-size: 15px;
color: black;
}
body{
background-color: rgb(146, 145, 145);
margin: 0;
padding: 0;
}
#myBtn {
display: none;
position: fixed;
bottom: 20px;
left: 97%;
z-index: 99;
font-size: 15px;
border: none;
outline: none;
border:dotted;
color: rgb(185, 173, 173);
cursor: pointer;
padding: 15px;
border-radius: 4px;
}
#myBtn:hover {
background-color: #555;
}
.container {
position: relative;
text-align: center;
color: white;
}
.top-right {
position: absolute;
top: 8px;
right: 16px;
}
#banner {
width: 100%;
border-radius: 2%;
left: 0px;
top: 0px;
z-index: -1;
}
.bar1, .bar2, .bar3 {
width: 35px;
height: 5px;
background-color: #f5f2f2;
margin: 6px 0;
transition: 0.4s;
}
.change .bar1 {
transform: translate(0, 11px) rotate(-45deg);
}
.change .bar2 {opacity: 0;}
.change .bar3 {
transform: translate(0, -11px) rotate(45deg);
}
.dropbtn { /* menu drop */
background-color: #333;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
}
.dropdown { /* menu drop */
position: relative;
display: inline-block;
}
.dropdown-content { /* menu drop */
display: none;
position: absolute;
right: 0;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a { /* menu drop */
text-decoration: none;
color: black;
padding: 12px 16px;
display: block;
}
.dropdown-content a:hover {background-color: #f1f1f1;} /* menu drop */
.dropdown:hover .dropdown-content { /* menu drop */
display: block;
}
.dropdown:hover .dropbtn { /* menu drop */
background-color: #4e4c4c;
}
.galeria {
display: flex;
justify-content: space-between;
font-family: 'Courier New', Courier, monospace;
}
.galeria div {
width: 24%;
text-align: justify;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 300px;
margin: auto;
text-align: center;
font-family: arial;
font-family: 'Courier New', Courier, monospace;
}
.title {
color: rgb(211, 207, 207);
font-size: 18px;
}
.grid-container {
display: grid;
grid-template-columns: auto auto auto;
}
.grid-item {
background-color: rgb(146, 145, 145)
}
.mySlides {
display: flex;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
}
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
align-items: center;
}
.dot {
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active {
background-color: #717171;
}
.fade {
animation-name: fade;
animation-duration: 1.5s;
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
/* botões de navegação */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
.prev {
left: 0;
border-radius: 3px 3px 0 0;
}
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}
.grid-container-grid {
display: grid;
grid-template-columns: auto auto auto;
grid-template-rows: auto auto auto;
grid-template-areas:
"col1 col2 col3"
"col4 col4 col4"
"col5 col6 col6";
justify-items: center;
gap:20px;
}
.col1 {
grid-area: col1;
padding: 20px;
text-align: center;
}
.col2 {
grid-area: col2;
padding: 20px;
text-align: center;
}
.col3 {
grid-area: col3;
padding: 20px;
text-align: center;
}
.col4 {
grid-area: col4;
padding: 20px;
text-align: center;
}
.col5 {
grid-area: col5;
padding: 20px;
text-align: center;
}
.col6 {
grid-area: col6;
padding: 20px;
text-align: center;
}
#container-news{
box-shadow: 0 15px 30px 1px rgba(104, 102, 102, 0.31);
text-align: center;
border-radius: 5px;
margin: 3em auto;
height: 300px;
width: 480px;
padding: 1em;
}
#container-news h2 {
font-family:'Courier New', Courier, monospace;
letter-spacing: 2px;
font-size: 3.5em;
margin: 0;
}
#container-news p {
font-family: 'Farsan', cursive;
margin: 3px 0 1.5em 0;
font-size: 1.3em;
color: #3b3b3b;
}
#container-news input {
width: 210px;
display: inline-block;
text-align: center;
border-radius: 7px;
background: #eee;
padding: 1em 2em;
outline: none;
border: none;
color: #222;
transition: 0.3s linear;
}
::placeholder{color: #999;}
#container-news input:focus {background: rgba(0, 0, 333, 0.10);}
#container-news button, .btn3 {
background-image: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 1) 100%);
box-shadow: 0 9px 25px -5px #09060a;
font-family: 'Abel', sans-serif;
padding: 0.5em 1.9em;
margin: 2.3em 0 0 0;
border-radius: 7px;
font-size: 1.4em;
cursor: pointer;
color: #FFFFFF;
font-size: 1em;
outline: none;
border: none;
transition: 0.3s linear;
}
#container-news button:hover{transform: translatey(2px);}
#container-news button:active{transform: translatey(5px);}
.btn3:hover{transform: translatey(2px);}
.btn3:active{transform: translatey(5px);}
/* Estilos para telas pequenas (até 600px) */
@media (max-width: 600px) {
.galeria {
flex-direction: column; /* Muda para coluna em telas pequenas */
}
.galeria div {
width: 100%; /* Cada item ocupa 100% da largura */
margin-bottom: 20px; /* Espaçamento entre os itens */
}
.grid-container {
grid-template-columns: 1fr; /* Uma coluna em telas pequenas */
}
#container-news {
width: 90%; /* Largura reduzida para caber em telas pequenas */
}
#container-news h2 {
font-size: 2em; /* Tamanho da fonte reduzido */
}
#container-news p {
font-size: 1em; /* Tamanho da fonte reduzido */
}
#container-news input {
width: 80%; /* Largura do input reduzida */
}
#container-news button {
width: 80%; /* Largura do botão reduzida */
}
}
/* Estilos para telas médias (601px a 900px) */
@media (min-width: 601px) and (max-width: 900px) {
.galeria {
flex-direction: row; /* Mantém a direção em linha */
}
.galeria div {
width: 48%; /* Cada item ocupa 48% da largura */
}
.grid-container {
grid-template-columns: repeat(2, 1fr); /* Duas colunas em telas médias */
}
#container-news {
width: 80%; /* Largura reduzida */
}
#container-news h2 {
font-size: 2.5em; /* Tamanho da fonte ajustado */
}
#container-news p {
font-size: 1.2em; /* Tamanho da fonte ajustado */
}
}
/* Estilos para telas grandes (acima de 900px) */
@media (min-width: 901px) {
.galeria div {
width: 24%; /* Cada item ocupa 24% da largura */
}
.grid-container {
grid-template-columns: repeat(3, 1fr); /* Três colunas em telas grandes */
}
#container-news {
width: 480px; /* Largura padrão */
}
#container-news h2 {
font-size: 3.5em; /* Tamanho da fonte padrão */
}
#container-news p {
font-size: 1.3em; /* Tamanho da fonte padrão */
}
}
footer {
background-color: #333;
padding: 10px;
text-align: center;
color: white;
font-family: 'Courier New', Courier, monospace;
}