blob: 5ee11c5ffbc70b4608636e662460888e9cb4e23a (
plain)
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
|
.events {
display: grid;
width: 60%;
grid-auto-rows: 14vw;
grid-template-columns: repeat(auto-fit, 14vw);
grid-gap: 1em;
margin-left: auto;
margin-right: 0;
background-color: #ccc;
}
.event {
position: relative;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
}
.event img {
position: absolute;
object-position: center;
object-fit: cover;
height: 100%;
width: 100%;
}
.event p {
z-index: 1;
}
|