-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathVolunteerItem.module.css
72 lines (63 loc) · 1.12 KB
/
VolunteerItem.module.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
.team {
position: relative;
height: 30rem;
width: 90%
}
.team__container {
display: flex;
justify-content: center;
align-items: center;
overflow-y: hidden;
padding-right: 20rem;
flex-direction: column;
margin: 0 var(--margin-small);
border-radius: 1rem;
height: 100%;
cursor: pointer;
}
.picture,
.content {
position: absolute;
}
.picture {
height: 100%;
width: 100%;
object-fit: cover;
border-radius: 1rem;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: end;
height: 100%;
width: 100%;
z-index: 1;
background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 50%);
}
.content__name {
font-size: clamp(var(--font-medium-sm), 100%, var(--font-medium));
font-weight: 600;
color: white;
text-align: center;
}
.content__role {
font-size: var(--font-medium-s);
font-weight: 400;
color: white;
}
@media screen and (max-width: 1024px) {
.team {
height: 30rem;
}
}
@media screen and (max-width: 768px) {
.team {
height: 30rem;
}
}
@media screen and (max-width: 325px) {
.team {
height: 20rem;
}
}