Repository navigation
Expand file tree
/
Copy pathevents.css
More file actions
88 lines (75 loc) · 1.6 KB
/
Copy pathevents.css
File metadata and controls
88 lines (75 loc) · 1.6 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
.events-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
gap: 24px;
justify-content: center;
width: min(90%, 1140px);
margin: 0 auto;
padding: 10px 0;
}
img{
width: 50%;
height: auto;
border-radius: 20px;
}
.event-image {
width: 240px;
height: 340px;
object-fit: contain;
}
a.event-card {
text-decoration: none;
color: inherit;
}
.event-card {
display: grid;
width: fit-content;
max-width: 300px;
gap: 16px;
padding: 24px;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 19px;
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(10px);
color: #f7f8fb;
text-align: left;
transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
transform: translateY(-8px);
border-color: rgba(123, 180, 255, 0.8);
box-shadow: 0 26px 54px rgba(0, 0, 0, 0.18);
}
.event-card h3 {
margin: 0;
font-size: 1.3rem;
line-height: 1.2;
}
.event-card p {
margin: 0;
color: #e9edf6;
font-size: 0.98rem;
}
@media (max-width: 768px) {
.events-container {
grid-template-columns: minmax(0, 300px);
justify-content: center;
}
.event-card {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.event-image {
width: 100%;
height: auto;
max-height: 340px;
}
.event-card h3 {
font-size: 1.25rem;
}
.event-card p {
font-size: 1rem;
}
}