-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteamstyle.css
160 lines (143 loc) · 2.94 KB
/
teamstyle.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
@import url('https://fonts.googleapis.com/css2?family=Rampart+One&display=swap');
.main-team{
height: 120vh;
display: flex;
justify-content: center;
align-items: center;
position: relative;
overflow-y: scroll;
width: 70%;
margin-left: 12%;
margin-bottom: 30px;
}
.h1team{
text-align: center;
font-size: 80px;;
color: white;
margin-bottom: 0;
font-family: rampart;
}
.main-team .carousel {
position: relative;
height: 600px;
}
.main-team h1{
text-align: center;
color:rgb(238, 255, 0);
}
.team-container{
width: 100%;
/*height: 100%;
height: 800px;*/
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.imagebox{
position: relative;
width: 250px;
height: 280px;
overflow: hidden;
margin: 19px;
box-shadow: 5px 5px 15px rgb(51, 49, 49);
}
.imagebox img{
height: 100%;
width: 100%;
}
.imagebox::before{
content: "";
position: absolute;
top: 0px;
left: -100%;
background-color:rgba(0 ,0 ,0, 0.7);
height: 100%;
width: 0%;
transform: skew(-40deg);
transition: all 0.8s;
}
.imagebox:hover::before{
left: -50%;
width: 210%;
}
.team-content{
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: absolute;
top: 0px;
left: 0px;
opacity: 0;
font-family: 'Urbanist', sans-serif;
}
.imagebox:hover .team-content{
transition: 0.5s;
opacity: 1;
}
.team-content h3{
text-align: center;
text-transform: uppercase;
color:rgb(238, 255, 0);
}
.team-content h4{
color: white;
text-decoration: overline;
font-family: 'Urbanist', sans-serif;
}
.team-content ul{
display: flex;
list-style: none;
margin: 0px;
padding: 0px;
}
.team-content ul li{
margin: 15px 10px;
}
.team-content ul li a{
text-decoration: none;
}
/* for icons*/
.team-content ul li a i{
color: white;
font-size: 22px;
height: 50px;
line-height: 50px;
width:50px ;
text-align: center;
transform: translateY(250px) ;
}
.imagebox:hover .team-content ul li:nth-child(1) a i{
transform: translateY(0px) ;
transition: all 0.5s 0.3s;
}
.imagebox:hover .team-content ul li:nth-child(2) a i{
transform: translateY(0px) ;
transition: all 0.5s 0.4s;
}
.imagebox>span{
color: black;
}
.col{
display: flex;
justify-content: center;
align-items: center;
}
.carousel-control-prev-icon, .carousel-control-next-icon{
align-items: center;
height: 40px;
width: 40px;
}
.team-container .row{
width: 80%;
}
@media only screen and (max-width: 768px) {
.main-team h1{
text-align: center;
color:rgb(238, 255, 0);
font-size: smaller;
}
}