-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
346 lines (301 loc) · 8.81 KB
/
styles.css
File metadata and controls
346 lines (301 loc) · 8.81 KB
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500');
* {
font-family: "Mirza", serif;
margin: 0;
padding: 0;
}
body {
font-family: "Mirza", serif;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
background-color:#205C72;
min-height: 100vh;
}
.club-info {
font-family: "Mirza", serif;
text-align:justify;
padding: 30px;
width:70%;
color: #ffffff;
margin-bottom: 20px;
margin-top: 90px;
}
.club-info .content{
font-family: "Mirza", serif;
opacity: 0.5; /* Initial opacity */
transition: all 0.3s ease-in-out; /* Adds a smooth transition for the changes */
}
.club-info:hover .content {
font-family: "Mirza", serif;
opacity: 1; /* Full opacity on hover */
transform: translateY(-20px);
transition: 0.5s; /* Smooth transition */
}
.club-title {
font-size: 3rem;
font-family: "Mirza", serif;
font-weight: 700;
margin-bottom: 50px;
text-align: right;
}
.club-description {
text-align: right;
font-family: "Mirza", serif;
font-size: 1.6rem;
font-weight: 400;
max-width: 800px;
margin: 0 auto;
line-height: 1.8;
opacity: 0.5; /* Initial opacity */
transition: 0.5s; /* Smooth transition */
transform: translateY(20px); /* Start slightly lower */
}
.club-description:hover {
opacity: 1; /* Full opacity on hover */
transform: translateY(0px); /* Move it up to its original position */
transition: all 0.5s ease-in-out; /* Smooth transition on hover */
cursor: pointer;
}
.leaders-label {
font-family: "Mirza", serif;
text-align: right;
text-align: center;
font-size: 2rem;
color: white;
margin-bottom: 20px;
margin-top: 20px;
font-weight: bold;
}
.container {
font-family: "Mirza", serif;
position: relative;
z-index: 1;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
margin: 40px 0;
}
.container .card {
font-family: "Mirza", serif;
text-align: right;
position: relative;
width: 300px;
height: 400px;
background: rgba(255, 255, 255, 0.05); /* Transparent background */
margin: 20px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* Box shadow for depth */
border-radius: 15px; /* Rounded corners */
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(10px); /* Blurred background effect */
}
.container .card .content {
font-family: "Mirza", serif;
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
opacity: 0.5; /* Initial opacity */
transition: 0.5s; /* Smooth transition */
}
.container .card:hover .content {
opacity: 1; /* Full opacity on hover */
transform: translateY(-20px);
}
.container .card .content .imgBx {
font-family: "Mirza", serif;
position: relative;
width: 150px;
height: 150px;
border-radius: 50%; /* Circle shape */
overflow: hidden; /* Hide overflow */
border: 10px solid rgba(0, 0, 0, 0.25); /* Border with transparency */
}
.container .card .content .imgBx img {
position: absolute;
top: 0;
left: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
object-fit: cover; /* Makes sure the image covers the entire area */
}
.container .card .content .contentBx h3 {
font-family: "Mirza", serif;
color: #fff; /* White text */
text-transform: uppercase; /* All uppercase */
font-weight: 500; /* Medium font weight */
font-size: 18px; /* Font size */
text-align: center; /* Center align text */
margin: 20px 0 10px; /* Margin for spacing */
line-height: 1.1em; /* Line height */
}
.container .card .content .contentBx h3 span {
font-family: "Mirza", serif;
font-size: 12px; /* Smaller font size for span */
font-weight: 300; /* Lighter font weight */
text-transform: initial; /* No text transformation */
}
/* Social icons initially hidden */
.container .card .sci {
font-family: "Mirza", serif;
position: absolute;
bottom: 50px;
display: flex;
opacity: 0; /* Initially hide the icons */
transition: opacity 0.5s ease-in-out; /* Smooth transition for showing icons */
}
.divider {
display: flex; /* Aligns items in a row */
justify-content: center; /* Center the content */
padding: 14px 0; /* Padding above and below for spacing */
}
.divider-separator {
width: 100px; /* Set a fixed width for the line */
height: 2px; /* Height of the separator */
background-color: var(--e-global-color-primary, #51acc7); /* Default color */
}
.club-info {
text-align: right; /* Ensure the text is right-aligned for the entire section */
}
.divider-a{
display: flex; /* Aligns items in a row */
justify-content: flex-end; /* Align the content to the right */
padding: 14px 0; /* Padding above and below for spacing */
}
.divider-separator-a {
width: 100px; /* Set a fixed width for the line */
height: 2px; /* Height of the separator */
background-color: var(--e-global-color-primary, #51acc7); /* Default color */
margin-left: 10px; /* Space between the title and the line */
}
/* Show the icons when hovering over the card */
.container .card:hover .sci {
opacity: 1; /* Make icons visible */
}
/* Individual icons' animation */
.container .card .sci li {
list-style: none;
margin: 0 10px;
transform: translateY(40px); /* Moves the list item 40px down */
transition: 0.5s;
opacity: 0; /* Initially hidden */
transition-delay: calc(0.1s * var(--i)); /* Delay for each icon */
}
/* Animate the icons on hover */
.container .card:hover .sci li {
transform: translateY(0px); /* Moves the list item back to original position */
opacity: 1; /* Make the icons visible */
}
/* Style for the LinkedIn icon */
.container .card .sci li a {
color: #fff;
font-size: 24px;
}
/* Style for LinkedIn icon specifically */
.container .card .sci li a i.fa-linkedin {
color: #fff;/* LinkedIn's official blue color */
}
.members-container {
text-align: right;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
}
.members-label {
text-align: right;
font-size: 2rem;
color: white;
font-weight: bold;
text-align: center;
}
footer {
font-family: "Mirza", serif;
font-weight: 500;
font-style: normal;
background-color: #205C72;
color: white;
/* Text color */
padding: 20px 0;
/* Padding for top and bottom */
text-align: center;
/* Center the text */
width: 100%;
/* Ensure footer takes full width */
position: relative;
/* Ensure footer is positioned properly */
}
.text-light{
padding-bottom: 10px;
}
.footer-content {
max-width: 1200px;
/* Max width for content */
margin: 0 auto;
/* Center the content */
padding: 0 20px;
/* Padding for left and right */
}
.social-icons {
margin-bottom: 10px;
/* Space below icons */
}
.social-icons a {
color: white;
/* Icon color */
/* Space between icons */
text-decoration: none;
/* Remove underline */
font-size: 100%;
/* Icon size */
}
.social-icons a:hover {
color: #ddd;
/* Change color on hover */
}
.scroll-container {
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.club-description {
opacity: 0; /* Initially hidden */
transform: translateY(20px); /* Start slightly lower */
animation: fadeInUp 1s forwards; /* Animation */
line-height: 1.6;
margin-bottom: 1em;
text-align: right;
direction: rtl; /* Right-to-left text */
transition: opacity 0.5s ease-in-out; /* Transition for opacity */
}
.highlight {
color: #ced8d9; /* Highlight color */
font-weight: bold;
background-color: rgba(255, 204, 0, 0.2); /* Optional background */
padding: 0 4px;
border-radius: 3px;
}
@keyframes fadeInUp {
to {
opacity: 1; /* Fully visible */
transform: translateY(0); /* Move to original position */
}
}
/* Hover effects for desktop */
.club-info:hover .club-description {
opacity: 1; /* Full opacity on hover */
transform: translateY(0); /* Reset translation */
}
/* Media queries for mobile responsiveness */
@media (hover: none) { /* Removes hover effects on touch devices */
.club-info .club-description {
opacity: 1; /* Ensure visibility */
transform: translateY(0); /* Reset translation */
}
}