-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathteam.css
54 lines (47 loc) · 871 Bytes
/
team.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
a {
text-decoration: none;
}
/* Team member */
.team-member {
display: flex;
align-items: center;
background-color: #e9ecef; /*gray-200, same as $color-mute-bg */
border-radius: 0.5rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 2rem;
padding: 1.5rem;
width: 100%;
}
.team-member img {
width: 200px;
height: 200px;
border-radius: 5%;
object-fit: cover;
margin-right: 1rem;
}
.team-member ul {
list-style-type: none;
padding: 0;
margin-bottom: 0;
}
.team-member li {
display: inline-block;
margin-right: 0.5rem;
}
.team-member li:last-child {
margin-right: 0;
}
/* For mobile */
@media (max-width: 550px) {
.team-member {
flex-direction: column;
align-items: center;
padding: 1.5rem;
}
.team-member img {
width: 200px;
height: 200px;
margin-right: 0;
margin-bottom: 1rem;
}
}