-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.css
More file actions
372 lines (326 loc) · 8.2 KB
/
Copy pathcontact.css
File metadata and controls
372 lines (326 loc) · 8.2 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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
/* Navbar adjustments */
.navbar {
flex-direction: column; /* Stack logo and links vertically */
align-items: center;
padding: 10px; /* Reduce padding */
height: auto; /* Adjust height to fit content */
z-index: 100; /* Ensure it's above other elements */
}
.navbar-logo img {
height: 30px; /* Adjust logo size */
margin-bottom: 10px; /* Add spacing below the logo */
}
.navbar-links {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
text-align: center;
}
.navbar-links a {
float: left;
display: block;
color: #ffffff;
/* White text */
text-align: center;
padding: 0.3em 0.5em;
/* Decrease padding by 3px */
text-decoration: none;
border-radius: 20px;
/* Circular edges */
font-family: 'Russo One', sans-serif;
/* Change font style to Russo One */
margin: auto 0.3em;
transition: 0.2s ease-in;
}
/* Main heading adjustments */
.main-heading {
font-size: 2rem;
}
/* Contact section adjustments */
.contact-row {
flex-direction: column;
align-items: center;
gap: 20px;
}
.member-photo img {
width: 150px;
height: 150px;
}
.member-info {
text-align: center;
font-size: 1rem;
}
.member-info p {
font-size: 1rem;
}
/* Form section adjustments */
.form-section {
margin-top: 15px;
font-size: 0.9rem;
}
.form-section a.form-link {
font-size: 1rem;
}
/* Footer adjustments */
.footer-container {
flex-direction: column;
gap: 10px;
}
.social-links img {
width: 20px;
height: 20px;
}
}
/* Extra small screens (e.g., below 480px) */
@media (max-width: 480px) {
/* Navbar adjustments */
.navbar {
padding: 8px; /* Further reduce padding */
}
.navbar-logo img {
height: 30px;
}
.navbar-links a {
font-size: 0.9rem;
}
/* Contact section adjustments */
.contact-row {
gap: 15px;
}
.member-photo img {
width: 120px;
height: 120px;
}
.member-info p {
font-size: 0.9rem;
}
/* Main heading adjustments */
.main-heading {
font-size: 1.8rem;
}
/* Footer adjustments */
.footer-container {
padding: 0 10px;
}
}
/* General Styles */
html, body {
margin: 0;
padding: 0;
font-family: 'Russo One', sans-serif;
height: 100%;
display: flex;
flex-direction: column;
color: white;
background: none; /* Ensure no background color to preserve video visibility */
scroll-behavior: smooth; /* Smooth scrolling behavior */
}
/* Style the scrollbar track */
::-webkit-scrollbar {
width: 0; /* Width of the scrollbar */
}
::-webkit-scrollbar-track {
background: #f1f1f1; /* Background of the scrollbar track */
border-radius: 10px; /* Rounding the corners of the track */
}
/* Style the scrollbar thumb */
::-webkit-scrollbar-thumb {
background: #888; /* Color of the scrollbar thumb */
border-radius: 10px; /* Rounding the corners of the thumb */
}
::-webkit-scrollbar-thumb:hover {
background: #555; /* Color when hovering over the scrollbar thumb */
}
h1, h2, h3, h4, h5, h6, p, a, .navbar, .member-role, .member-name, .member-contact, .footer-container {
font-family: 'Russo One', sans-serif;
}
.navbar {
background-color: rgba(21, 22, 24, 0.7); /* Semi-transparent background */
color: white;
padding: 10px 0px 20px ; /* Increased padding for better spacing */
position: fixed;
width: 100%; /* Full-width navbar */
top: 0;
z-index: 100; /* Ensure navbar is above all elements */
display: flex; /* Use flexbox for layout */
justify-content: space-between; /* Space between logo and links */
align-items: center; /* Vertically center items */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}
.navbar-logo img {
height: 40px; /* Adjust the logo height */
}
.navbar-links {
display: flex; /* Arrange links horizontally */
gap: 20px; /* Space between links */
}
.navbar-links a {
float: left;
display: block;
color: #ffffff;
/* White text */
text-align: center;
padding: 6px 20px;
/* Decrease padding by 3px */
text-decoration: none;
border-radius: 20px;
/* Circular edges */
font-family: 'Russo One', sans-serif;
/* Change font style to Russo One */
}
.navbar-links a:hover {
background-color: rgba(255, 20, 147, 0.7); /* Highlight color on hover */
}
/* Background Video */
#background-video {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
/* Main Content Wrapper */
.content {
flex: 1;
padding: 150px 20px 50px; /* Adjusted padding for spacing below navbar */
text-align: center;
z-index: 1; /* Content appears over the video */
}
/* Main Heading Styling */
.main-heading {
font-size: 3rem;
text-transform: uppercase;
text-align: center;
margin-bottom: 50px;
text-shadow: 0 0 3px rgb(190, 229, 246), 0 0 3px white, 0 0 3px white; /* Glowing effect */
}
/* Contact Section Layout */
.contact-section {
display: flex;
flex-direction: column;
gap: 50px;
align-items: center;
padding: 20px;
}
/* Row layout for each contact (Convener/Co-Convener) */
.contact-row {
display: flex;
justify-content: space-between;
align-items: center;
width: 90%;
max-width: 1200px;
gap: 20px;
flex-wrap: wrap;
}
/* Alternating row layout (photo left, text right for odd; reverse for even) */
.contact-row:nth-child(odd) .member-photo {
order: 1;
}
.contact-row:nth-child(odd) .member-info {
order: 2;
}
.contact-row:nth-child(even) .member-photo {
order: 2;
}
.contact-row:nth-child(even) .member-info {
order: 1;
}
/* Photo Styling */
.member-photo img {
width: 250px;
height: 250px;
object-fit: cover;
border-radius: 10px;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
/* Info Box Styling */
.member-info {
flex: 1;
padding: 20px;
text-align: left;
font-size: 1rem;
}
/* Info Text */
.member-info p {
margin: 10px 0;
font-size: 1.2rem;
}
/* Footer Styles */
footer {
background-color: rgba(0, 0, 0, 0.9);
color: white;
padding: 20px 0;
text-align: center;
z-index: 1;
}
.footer-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.footer-container p {
margin: 0;
text-align: center;
flex-grow: 1;
}
.social-links a {
margin: 0 10px;
}
.social-links img {
width: 24px;
height: 24px;
}
/* Responsive Design */
@media (max-width: 768px) {
.navbar-links {
display: none; /* Hide links on smaller screens */
}
.contact-row {
flex-direction: column;
align-items: center;
}
.member-info {
text-align: center;
}
}
.member-role {
font-size: 2rem;
font-weight: bold;
text-transform: uppercase;
text-shadow: 0 0 3px rgb(181, 249, 255), 0 0 3px rgb(148, 247, 249), 0 0 3px rgb(171, 240, 252); /* Glowing effect */
}
/* Adjust padding or position of the roller */
.roller-container {
padding-top: 60px; /* Add padding to prevent overlap */
z-index: 0; /* Ensure it doesn't go above other elements */
}
.navbar {
z-index: 100; /* Keep the navbar above the roller */
}
/* Form section styles */
.form-section {
text-align: center;
margin-top: 20px;
font-family: 'Russo One', sans-serif;
color: #FFF;
text-shadow: 0 0 1px #87CEEB, 0 0 3px #87CEEB, 0 0 10px #87CEEB, 0 0 12px #87CEEB;
white-space: nowrap; /* Ensure text and link are on a single line */
}
.form-section a.form-link {
display: inline;
margin-top: 10px;
font-family: 'Russo One', sans-serif;
font-size: 18px;
color: #87CEEB;
text-decoration: none;
text-shadow: 0 0 1px #87CEEB, 0 0 3px #87CEEB, 0 0 10px #87CEEB, 0 0 12px #87CEEB;
}
.form-section a.form-link:hover {
color: #FFF;
}