-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-style.css
113 lines (102 loc) · 2.52 KB
/
index-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
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
* {
box-sizing: border-box;
}
/* our-team-section-with-row-cols css with mobile edit */
.our-team-row-section {
background-color: #f5f5f5;
display: flex;
flex-wrap: wrap;
padding: ;
text-align: center;
font-family: "Poppins", sans-serif;
}
.our-team-row-section-column {
width: 100%;
padding: 0.5em 0;
margin-bottom: 10px;
}
.our-team-row-section-column-card:hover{
box-shadow: 2px 5px 4px 5px skyblue;
}
.our-team-row-section h2 {
width: 100%;
text-align: center;
font-size: 3.5em;
color: #1f003b;
}
.our-team-row-section-column-card {
box-shadow: 0 0 2.4em rgba(25, 0, 58, 0.1);
padding: 3.5em 1em;
border-radius: 0.6em;
color: #1f003b;
cursor: pointer;
transition: 0.3s;
background-color: #ffffff;
background-size: cover; /* Ensures the background image covers the entire element */
background-position: center; /* Centers the background image */
}
.our-team-row-section-column-card .our-team-row-section-column-card-img-container {
width: 8em;
height: 8em;
background-color: #00ECFF;
padding: 0.5em;
border-radius: 50%;
margin: 0 auto 2em auto;
overflow: hidden;
}
.our-team-row-section-column-card img {
width: 100%;
height: 100%;
object-fit: cover; /* Make the image fit inside the container without cropping */
border-radius: 50%;
}
.our-team-row-section-column-card h3 {
font-weight: 500;
}
.our-team-row-section-column-card p {
font-weight: 300;
text-transform: uppercase;
margin: 0.5em 0 2em 0;
letter-spacing: 2px;
}
.our-team-row-section-column-icons {
width: 50%;
min-width: 180px;
margin: auto;
display: flex;
justify-content: space-between;
}
.our-team-row-section-column-icons i:hover{
background-color: skyblue;
border-radius: 5px;
}
.our-team-row-section-column-card a {
text-decoration: none;
color: inherit;
font-size: 1.4em;
}
.our-team-row-section-column-card:hover {
background: linear-gradient(#79E3EB, #8567f7);
color: #ffffff;
}
.our-team-row-section-column-card:hover .our-team-row-section-column-card-img-container {
transform: scale(1.15);
}
@media screen and (min-width: 768px) {
.our-team-section-with-row-cols {
padding: 1em 7em;
}
}
@media screen and (min-width: 992px) {
.our-team-section-with-row-cols {
padding: 1em;
}
.our-team-row-section-column-card {
padding: 5em 1em;
}
.our-team-row-section-column {
flex: 0 0 33.33%;
max-width: 33.33%;
padding: 0 1em;
}
}