-
Notifications
You must be signed in to change notification settings - Fork 0
/
team.css
101 lines (86 loc) · 1.65 KB
/
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
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
@import url('https://fonts.googleapis.com/css?family=Exo+2|Yatra+One');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Exo 2', sans-serif;
}
body{
background: rgb(170, 193, 144);
}
.wrapper{
margin-top: 60px;
text-align: center;
}
.wrapper h1{
font-family: 'Yatra One', cursive;
font-size: 48px;
color: #fff;
margin-bottom: 25px;
}
.our_team{
width: auto;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.our_team .team_member{
width: 250px;
margin: 5px;
background: #fff;
padding: 20px 10px;
}
.our_team .team_member .member_img{
background: #e9e5fa;
max-width: 190px;
width: 100%;
height: 190px;
margin: 0 auto;
border-radius: 50%;
padding: 5px;
position: relative;
cursor: pointer;
}
.our_team .team_member .member_img img{
width: 100%;
height: 100%;
}
.our_team .team_member h3{
text-transform: uppercase;
font-size: 18px;
line-height: 18px;
letter-spacing: 2px;
margin: 15px 0 0px;
}
.our_team .team_member span{
font-size: 10px;
}
.our_team .team_member p{
margin-top: 20px;
font-size: 14px;
line-height: 20px;
}
.our_team .team_member .member_img .social_media{
position: absolute;
top: 5px;
left: 5px;
background: rgba(0,0,0,0.65);
width: 95%;
height: 95%;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
transform: scale(0);
transition: all 0.5s ease;
}
.our_team .team_member .member_img .social_media .item{
margin: 0 10px;
}
.our_team .team_member .member_img .social_media .fab{
color: ivory;
font-size: 20px;
}
.our_team .team_member .member_img:hover .social_media{
transform: scale(1);
}