-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodigo-carrossel.html
139 lines (119 loc) · 5.68 KB
/
codigo-carrossel.html
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
<section class="fotos-evento">
<div class="confiraFotosEvento">
<div class="confiraFotosEvento_Title">
<h2>Confira as fotos do evento de
<span>
10 Anos do SIGeo!
</span>
</h2>
</div>
</div>
<div class="slider">
<div class="imagem"><img id="img-1" src="https://lh3.googleusercontent.com/pw/AP1GczPc1LbhXBm8e9Wf7BF2GDVpN-IP0LyfFE1pSaAjj_EHcxsSqn9c5plkZBSN0N9JESblWQwvrCdxRPFD36ETi0Ol8UyW6GsjNLhHfcB3dBIC52aFRJPXRIeLsUn-uDZt__duY9cyCWBCec-TEzGYjHZm=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-2" src="https://lh3.googleusercontent.com/pw/AP1GczMijd47ahUZFHMcKWJEXfOkKipxF0uyQzN2eOXmySFwRlxTs3Kk_R_BxJ3ZPqlvNJ5fiA_i5ZEFYdWG0V4J5ZW5jbA1ugSi0-k7CKtbTHIKNQfoOGYydqkaiPt6vPdYzmcLLDJJdRBxyZwKaa6S0xMg=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-3" src="https://lh3.googleusercontent.com/pw/AP1GczP4Ddl6g7GH0nyLKeOV0HmxJGPJ1yOapnxGkxSbtLA6F6pWkKCYjZ5GElJDCcYLYEFE5xeexOYdCTWgeSFo3QnFD0Pg7bTFeR7efnL2zyiCXV3su-dD4fWZyLQfMH43T45xPFj7zthKIKa95pmmFMcH=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-4" src="https://lh3.googleusercontent.com/pw/AP1GczOoICYDnyGNR4HuquqC8AodjPRX5uqe6g01eaxS6DMrBJC3S1L9AYfYkFlCE43REEKNxpOFG475LTOSFEtEuaMlop07ujbmiFqhluSCngYGOZyb7vXB_jD9gQuRWLko54gC8hrw_sdEFL6ns6XuUB9l=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-5" src="https://lh3.googleusercontent.com/pw/AP1GczOMlNcUd9RnH3cmrMFyTiHpriFRY0nk8x4hAxXk5jdv1qeaoHtHiMOn_EcesnO0QGj5co3ykHTpr10iBWT7LIAphzrijrDNdC5ZHznhNOt81rnoY2z6dhvWI5rfhYDRV5XZOGKis_jczRe5iUi5XdyA=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-6" src="https://lh3.googleusercontent.com/pw/AP1GczMng1S0cEosIXlfsDwuMSm7tFqC7FhA8Ba3FPNIDuCE2zgJB_PmMwtihtH1W81jhT1ejzPMqYfchizoWQN6gm2lG1Nuc-_o_W8uTpl8FcVgyfyXf8WtbG4q1m0J_uWxPzMpzznw7C7nv71LEsXfV1Gf=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-7" src="https://lh3.googleusercontent.com/pw/AP1GczNmVzQklMzzn_kDo8FfBNSAcjXlQf8UmAUvYaJ-Pt2vOez-VMM7W034nDkA1sbKa6KxmarYW0FE1qm0HoY3q0teG-LuvbGYOFD0fcMJUHZYSIWvMUteZ0--pWpvaPDNT17WOHnUt3dRtVO9tm7aM_ef=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-9" src="https://lh3.googleusercontent.com/pw/AP1GczNkB4LDDxn4L_JUnBsrY5lcl92GMypDti6P_VofL9VjZtLfnCjF702GoGU2nyWMeW1VvR7hpmcLrR2RXlnnzIXgivApQLtqpm1zfjSxrOzrVhg6isGGpuaZ9oMTe3uVw9qQykdyRI70WW27Ho7RA42l=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-9" src="https://lh3.googleusercontent.com/pw/AP1GczNyyH6sBagR4ot-46zDHeUcsHbgzIpYgbkYT2lSLg4KDaVMkDMHs4XWi_tN-zPvpSdfiRoZ-mwfGKsTnjX5nKDWapGaOk3z95oAVRpcSyA2yPzBONNZFPLkY6TionA-hokTHU2ZifrO4mmj5K3BCIVi=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-10" src="https://lh3.googleusercontent.com/pw/AP1GczNXklNexFs7qlgsh0BDusTgzvvJfyk02UkT0MqGg3HeNPyfOh8bjcZhFiAs3GduvfJNtyVw0p6_U2dyxC_NJSv9yps1EPKwf0BQisy7KVX0YxwwNm3n4s7TnJsw7oDyfRTnCIIvA5Z2AsQ4AF3dsd2j=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-11" src="https://lh3.googleusercontent.com/pw/AP1GczPncemiQDwxxlVrmrKBHAOVkpnqV1KNciY_krryoFr9qsOwkdUiUQ-IrX6wCPNZAuig4eV6HVDb4u96_fEZqrELxAAuA5g2Lixmy0ZVDLS7od4xmidkw4ywKFyREyhbxM_Xq709JU1y4ph1dO98ZYV8=w919-h919-s-no-gm?authuser=0"></div>
<div class="imagem"><img id="img-12" src="https://lh3.googleusercontent.com/pw/AP1GczO4EwpSVP0NBLClA_gcANGFfKMO9MZ5WksECCtKnhsOP0vC4rYksz9ZuCfEuZBlhSxtCqV6o2pn8jTIVgOAytjPVq1K1wVp_iv2UbPSC6Q4CUBAsx0Mie-SzmkoQ2VszVAONIVPOlz0gTEN_CGidMr2=w919-h919-s-no-gm?authuser=0"></div>
</div>
</section>
<style>
.fotos-evento{
display: flex;
justify-content: center;
background-color: #eae5d2;
flex-direction: column;
position: relative;
padding: 50px 40px;
}
.confiraFotosEvento{
display: flex;
flex-direction: column;
gap: 30px;
padding: 20px 40px;
}
.confiraFotosEvento_Title h2{
color: #001a2d;
font-family: Roboto;
font-weight: 300;
font-style: italic;
font-size: 40px;
}
.confiraFotosEvento_Title h2 span {
font-weight: 600;
position: relative;
}
.confiraFotosEvento_Title h2 span::after {
content: '';
position: absolute;
background-color: #B8591F;
width: 100%;
left: 0;
bottom: -2px;
height: 2px;
opacity: 1;
transition: .5s ease;
}
.slider {
display: flex;
overflow: auto;
scroll-snap-type: x mandatory;
gap: 20px; /* espaçamento entre as imagens */
padding: 20px;
}
.imagem {
width: 300px;
height: 300px;
flex-shrink: 0;
overflow:visible;
}
.imagem img {
width: 100%;
height: 100%;
border-radius: 20px;
overflow: hidden; /* cortar as imagens que extrapolarem */
object-fit: cover; /* ajusta a imagem para preencher todo o espaço */
}
.fotos-evento ::-webkit-scrollbar{
height: 10px;
width: 5px;
background-color: #eae5d2;
}
.fotos-evento ::-webkit-scrollbar-thumb{
height: 10px;
width: 5px;
border-radius: 50px;
background-color: #001a2d;
}
@media(max-width:995px){
.confiraFotosEvento_Title h2 {
display: flex;
flex-direction: column;
align-items: flex-start;
font-size: 32px;
}
}
@media(max-width:560px){
.confiraFotosEvento_Title h2 {
text-align: center;
align-items: center;
}
}
@media(max-width:430px){
.imagem{
width: 230px;
height: 230px;
}
}
@media(max-width:360px){
.confiraFotosEvento_Title h2 {
font-size: 25px;
}
}
</style>