-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
375 lines (324 loc) · 7.65 KB
/
Copy pathstyle.css
File metadata and controls
375 lines (324 loc) · 7.65 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
373
374
375
body {
font-family: 'Roboto', sans-serif; /* Modern font */
margin: 0;
background-color: #f9fafc; /* Light background for a clean look */
color: #333;
line-height: 1.6;
}
header {
background-color: #003366;
color: white;
padding: 1.5em 1em;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
header h1 {
font-size: 2em;
margin: 0;
}
nav ul {
list-style: none;
padding: 0;
margin: 1em 0 0;
}
nav ul li {
display: inline-block;
margin: 0 1em;
}
nav a {
color: white;
text-decoration: none;
font-weight: 500;
font-size: 1em;
transition: color 0.3s ease;
}
nav a.active, nav a:hover {
color: #00bcd4; /* Accent color for hover */
}
main {
padding: 2em;
max-width: 1100px; /* Wider content area */
margin: auto;
}
/* Footer */
footer {
text-align: center;
padding: 1.5em;
background-color: #003366;
color: white;
font-size: 0.9em;
margin-top: 2em;
box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1); /* Shadow for separation */
max-width: 1100px; /* Match the width of the main content */
margin-left: auto;
margin-right: auto; /* Center the footer */
border-radius: 10px; /* Optional: Add rounded corners for a modern look */
}
footer p {
margin: 0;
}
.team {
margin-top: 2em;
}
.team h2 {
text-align: center;
margin-bottom: 1em;
font-size: 2em;
color: #003366;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Two-column layout for members */
.members-container {
display: flex;
flex-wrap: wrap; /* Allows wrapping to the next row */
gap: 2em; /* Adds spacing between items */
justify-content: center; /* Centers the columns */
}
.member {
flex: 1 1 calc(50% - 2em); /* Each member takes 50% of the row minus spacing */
max-width: 400px; /* Optional: Limit the width of each column */
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin-bottom: 2em;
background: white; /* Card-like design */
border-radius: 10px; /* Rounded corners */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.member:hover {
transform: translateY(-5px); /* Lift effect on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}
.member img {
width: 100%;
height: 400px; /* Set a fixed height (adjust as needed) */
object-fit: cover; /* Crop/scale image to fill while keeping aspect ratio */
border-bottom: 1px solid #eee; /* Separator for the image */
}
.member h3 {
font-size: 1.2em;
margin: 0.5em 0;
color: #003366;
}
.member p {
font-size: 0.9em;
color: #666;
margin: 0.5em 0 1em;
}
.member .bio {
max-height: 150px; /* Adjust height as needed */
overflow-y: auto; /* Enables scrolling for long content */
padding: 1em;
border-top: 1px solid #eee;
background-color: #f9fafc;
text-align: left; /* Aligns text for better readability */
font-size: 0.9em;
color: #555;
}
.member ul {
list-style: none; /* Removes bullets */
padding: 0;
margin: 0;
display: flex;
justify-content: center;
gap: 1em;
}
.member ul li {
margin: 0.5em 0;
}
.member ul li a {
color: #00bcd4; /* Accent color */
text-decoration: none;
font-size: 0.9em;
transition: color 0.3s ease;
}
.member ul li a:hover {
color: #007a8c; /* Darker accent on hover */
}
/* Center the section headers */
.current-members h2,
.former-members h2 {
text-align: center;
margin-bottom: 1.5em;
font-size: 2em;
font-weight: bold;
color: #003366;
}
/* Projects Gallery */
.projects-gallery {
display: flex;
flex-wrap: wrap;
gap: 2em; /* Space between cards */
justify-content: center; /* Center the gallery */
margin-top: 2em;
}
.project-card {
display: block;
width: 250px; /* Fixed width for cards */
text-decoration: none;
color: inherit;
background: white;
border-radius: 10px; /* Rounded corners */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
transform: translateY(-5px); /* Lift effect on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}
.project-card img {
width: 100%;
height: auto;
display: block;
}
.project-info {
padding: 1em;
text-align: center;
}
.project-info h3 {
font-size: 1.2em;
color: #003366; /* Dark blue for headings */
margin: 0.5em 0;
}
.project-info p {
font-size: 0.9em;
color: #666; /* Subtle gray for descriptions */
margin: 0;
}
/* News Section */
.news {
margin-top: 3em;
padding: 2em 1em;
background-color: #f9fafc; /* Light background for contrast */
}
.news h2 {
text-align: center;
font-size: 2em;
color: #003366;
margin-bottom: 1.5em;
}
.news-cards {
display: flex;
flex-wrap: wrap;
gap: 2em; /* Space between cards */
justify-content: center; /* Center the cards */
}
.news-card {
display: block;
width: 300px; /* Fixed width for cards */
text-decoration: none;
color: inherit;
background: white;
border-radius: 10px; /* Rounded corners */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
transform: translateY(-5px); /* Lift effect on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}
.news-card img {
width: 100%;
height: auto;
object-fit: cover; /* Ensures the image fits nicely */
}
.news-content {
padding: 1em;
}
.news-content h3 {
font-size: 1.2em;
color: #003366;
margin-bottom: 0.5em;
}
.news-content p {
font-size: 0.9em;
color: #666;
margin: 0;
}
/* Clinical Trials Section */
.clinical-trials-gallery {
display: flex;
flex-direction: column;
align-items: center;
gap: 2em; /* Space between the image and cards */
margin-top: 1.5em;
}
.clinical-trial-card img {
width: 100%;
max-width: 600px; /* Limit the image width */
height: auto;
border-radius: 10px; /* Rounded corners for the image */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
.clinical-trial-cards {
display: flex;
flex-direction: column;
gap: 1.5em; /* Space between cards */
width: 100%;
max-width: 600px; /* Limit the width of the cards */
}
.clinical-trial-card-link {
display: block;
text-decoration: none;
color: inherit;
background: white;
border-radius: 10px; /* Rounded corners */
border: 1px solid #ddd;
padding: 1em;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.clinical-trial-card-link:hover {
transform: translateY(-5px); /* Lift effect on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
background-color: #f9f9f9; /* Slight background change on hover */
}
.clinical-trial-card-content h3 {
font-size: 1.2em;
color: #003366;
margin-bottom: 0.5em;
}
.clinical-trial-card-content p {
font-size: 0.9em;
color: #666;
margin: 0;
}
.videos {
text-align: center;
padding: 50px 0;
background-color: #f8f8f8;
}
.videos h2 {
text-align: center;
font-size: 2em;
color: #003366;
margin-bottom: 1.5em;
}
/* Center the video grid */
.videos .video-grid {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}
/* Style each embedded video */
.videos .video-grid iframe {
width: auto;
height: auto;
border-radius: 12px;
border: aliceblue;
transition: transform 0.3s ease;
}
/* Simple hover scale — no blur, no opacity */
.videos .video-grid iframe:hover {
transform: scale(1.03);
}