-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAboutUs.css
110 lines (103 loc) · 2.06 KB
/
AboutUs.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
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
margin: 0;
padding: 0;
text-align: center;
}
body{
/* Seting the background image*/
background: url("images_Stu3/AboutUs_Background.png");
background-repeat: no-repeat;
background-size: cover;
}
.header h1{
/* Formating Meet our team text*/
font-size: 55px;
padding-top: 15%;
padding-bottom: 3%;
text-align: center;
font-weight: bold;
font-family: 'Poppins', sans-serif;
}
.header{
color: #000000;
font-size: 20px;
margin: auto;
line-height: 50px;
}
.team img{
/* Setting the width and hight of the image and */
width: 200px;
height: 250px;
border-radius: 10px;
transition: transform 0.3s ease;
}
.team:hover img {
/* Scale Up the image when user hover over it */
transform: scale(1.1);
}
.subcontainer{
font-family: 'Poppins', sans-serif;
max-width: 1200px;
margin: auto;
padding: 48px 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-bottom: 5%;
}
.team{
margin: 10px;
padding: 22px;
max-width: 30%;
transition: 0.4s;
box-sizing: border-box;
}
.team:hover{
background: #cfcdcd;
border-radius: 13px;
margin-bottom: 5%;
}
.name {
padding: 12px;
font-weight: bold;
font-size: 16px;
margin-top: 10px;
}
.about{
color: #888;
}
.role{
margin: 20px 0;
font-weight: lighter;
color: #4e4e4e;
}
.link a{
color: black;
}
.link a:hover{
/* Changing the link color when hover over it*/
color: rgb(14, 120, 69);
}
.role {
/* Hiding the role*/
display: none;
}
.team:hover .role {
/* Display role when hover over .teams */
display: block;
}
.link {
/* Hiding the link to individual page */
display: none;
}
.team:hover .link {
/* Display link when hover over .teams */
display: block;
}
/* Adjusting the width of .team to fit smaller screens and when lower the width */
@media screen and (max-width: 600px){
.team{
max-width: 100%;
}
}