-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
81 lines (81 loc) · 1.42 KB
/
style.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
body{
background: #262626;
}
.team-area{
padding-top: 5%;
}
.single-team{
background-color: #000;
margin-bottom: 10px;
}
.single-team:hover .social{
cursor: pointer;
opacity: 1;
transform: rotateY(0deg) scale(1, 1);
}
.img-area{
overflow: hidden;
position: relative;
}
.img-area img{
width: 100%;
}
.img-area:hover img{
transform: scale(1.2)
}
.img-area img{
transition: all 0.4s ease 0s;
}
@media (max-width: 768px){
.img-area img{
display: inline-block;
}
}
.img-area .social{
background-color: rgba(0,0,0,0.7);
position: absolute;
text-align: center;
height: 100%;
width: 100%;
left: 0;
top: 0;
opacity: 0;
transition: .5s;
transform: rotateY(180deg) scale(0.5, 0.5);
}
.img-area .social ul{
text-align: center;
position: relative;
top: 100px;
}
.img-area .social ul li a{
border: 1px solid #fff;
color: #fff;
display: block;
font-size: 20px;
height: 40px;
width: 40px;
line-height: 40px;
text-align: center;
}
.img-area .social ul li a:hover{
background-color: #fff;
color: #000;
border: 1px solid transparent;
}
.img-text{
padding: 25px;
color: #fff;
text-align: center;
}
.img-text h4{
margin: 0 0 5px;
font-size: 30px;
font-family: bignoodletitling;
letter-spacing: 5px;
}
.img-text h5{
font-size: 17px;
text-transform: uppercase;
font-weight: bold;
}