-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmentors.css
129 lines (110 loc) · 2.27 KB
/
mentors.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
background-color: #000000;
}
.row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 1em;
padding: 0.5em;
text-align: center;
}
.column {
width: 100%;
padding: 0.5em 0;
}
h1 {
width: 100%;
text-align: center;
font-size: 2em;
color: #ffffff;
}
a {
text-decoration: none;
color: inherit;
}
.team-member {
box-shadow: 0 0 1.5em rgba(25, 0, 58, 0.1);
padding: 1.5em 0.8em;
border-radius: 0.3em;
color: #ffffff;
cursor: pointer;
transition: 0.3s;
background-color: #242424;
}
.team-member .img-container {
width: 5em;
height: 5em;
background-color: #a993ff;
padding: 0.3em;
border-radius: 50%;
margin: 0 auto 1em auto;
position: relative;
}
.team-member img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
.team-member h3 {
font-weight: 500;
font-size: 1.2em;
margin-bottom: 0.5em; /* Adjusted margin to separate name and icons */
}
.icons {
width: 100%;
display: flex;
justify-content: space-around;
position: absolute;
bottom: -1em; /* Adjusted position to move icons below the image */
}
.icons a {
text-decoration: none;
color: inherit;
}
.icons img {
width: 1.5em;
height: 1.5em;
}
.team-member:hover {
background: linear-gradient(#6045ea, #8567f7);
color: #ffffff;
}
.team-member:hover .img-container {
transform: scale(1.1);
}
@media screen and (min-width: 576px) {
section {
padding: 1em;
}
}
@media screen and (min-width: 768px) {
.team-member {
padding: 1.8em 0.8em;
}
.column {
flex: 0 0 48%;
max-width: 48%;
padding: 0.5em;
}
.row {
justify-content: center;
}
}
@media screen and (min-width: 992px) {
.team-member {
padding: 2.2em 1em;
}
.column {
flex: 0 0 31%;
max-width: 31%;
padding: 0.5em;
}
}