-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
614 lines (543 loc) · 17.9 KB
/
Copy pathstyle.css
File metadata and controls
614 lines (543 loc) · 17.9 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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
line-height: 1.6;
background: linear-gradient(to bottom, #ffffff, #e6ffe6); /* Gradient from white to light green */
color: #333;
transition: background 0.3s, color 0.3s;
}
/* Header */
.header {
position: fixed; /* Keep the header fixed at the top */
top: 0;
left: 20%; /* Push it to the right of the sidebar */
width: 80%; /* Occupy the remaining width */
background: linear-gradient(90deg, white, #0d8016); /* Gradient from white to green */
color: #fff;
padding: 1rem 2rem;
z-index: 1000; /* Ensure it appears above the content */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add depth */
display: flex;
justify-content: space-between; /* Spread elements across the header */
align-items: center;
transition: background 0.3s ease; /* Smooth hover effects */
}
/* Header Container */
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
/* Title Styling */
.header h1 {
font-size: 1.8rem;
display: flex;
align-items: center;
gap: 0.5rem; /* Space between icon, text, and logo */
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle text shadow for emphasis */
color: #0d8016; /* Green text for better visibility on white */
}
/* Icon Styling */
.header-icon {
width: 80px; /* Adjusted size for better balance */
height: 80px;
display: inline-block;
vertical-align: middle;
}
/* University Logo Styling */
.header-logo {
height: 70px; /* Keep the logo size consistent with the icon */
width: auto;
margin-left: 0.5rem; /* Space between title and logo */
}
/* Header Buttons */
.auth-btn {
padding: 0.5rem 1rem;
background-color: #fff;
color: #0d8016;
border: 2px solid #0d8016;
border-radius: 4px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
}
.auth-btn:hover {
background-color: #0d8016;
color: #fff;
border-color: #fff;
transform: scale(1.05);
}
/* Header Actions */
.header-actions {
display: flex;
align-items: center;
gap: 1rem;
}
/* Layout */
.layout {
display: flex;
height: 100vh; /* Full viewport height */
overflow: hidden; /* Prevent horizontal scroll */
}
.sidebar {
width: 20%;
background: linear-gradient(to bottom, #ffffff, #0d8016); /* Gradient from white to green */
padding: 1.5rem;
border-right: 1px solid #0a5e12;
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
font-family: Arial, sans-serif;
position: fixed; /* Fix sidebar without affecting the rest of the layout */
height: 100vh; /* Full height */
overflow-y: auto; /* Allow scrolling for overflowing content */
top: 0; /* Start at the top of the page */
z-index: 1000; /* Ensure it appears above other content */
transition: all 0.3s ease; /* Smooth transitions for future animations or responsiveness */
}
/* Sidebar Navigation Header */
.sidebar-nav h2 {
margin-bottom: 1.5rem;
color: #ffffff;
font-size: 1.6rem;
text-transform: uppercase;
border-bottom: 2px solid rgba(255, 255, 255, 0.7);
padding-bottom: 0.5rem;
}
/* Sidebar Navigation List */
.sidebar-nav ul {
list-style: none;
padding: 0;
}
.sidebar-nav ul li {
margin-bottom: 1rem;
}
.sidebar-nav ul li a {
text-decoration: none;
color: #ffffff;
font-weight: bold;
padding: 0.5rem 0.8rem;
display: block;
border: 1px solid transparent;
border-radius: 4px;
transition: all 0.3s ease-in-out;
}
.sidebar-nav ul li a:hover {
background-color: #ffffff;
color: #0d8016;
border-color: #0d8016;
transform: translateX(5px); /* Slight slide effect */
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Adds depth */
}
.sidebar .search-bar {
margin-bottom: 1.5rem;
display: flex;
flex-direction: column; /* Stack input and button */
width: 100%; /* Match sidebar width */
}
.sidebar .search-bar input {
width: 100%; /* Full width of the sidebar */
padding: 0.4rem; /* Slightly smaller padding */
border: 1px solid #ddd;
border-radius: 4px;
font-size: 0.9rem;
margin-bottom: 0.5rem; /* Space between input and button */
}
.sidebar .search-bar button {
padding: 0.4rem;
background-color: #0d8016;
color: #fff;
border: none;
border-radius: 4px;
font-weight: bold;
cursor: pointer;
font-size: 0.9rem;
}
.sidebar .search-bar button:hover {
background-color: #14971f;
}
/* Visit Section */
.sidebar-nav .visit-section {
margin-top: 2rem; /* Spacing from the previous section */
}
.sidebar-nav .visit-section h2 {
margin-bottom: 1rem;
color: #ffffff;
font-size: 1.4rem;
text-transform: uppercase;
border-bottom: 2px solid rgba(255, 255, 255, 0.7);
padding-bottom: 0.5rem;
}
/* Main Content */
.main-content {
margin-top: 4rem; /* Add space for the fixed header */
margin-left: 20%; /* Ensure it starts after the sidebar */
padding: 2rem;
width: 80%; /* Fill the rest of the width */
overflow-y: auto;
}
.banner {
position: relative;
text-align: center;
margin-bottom: 2rem;
padding: 5rem 2rem; /* Increase padding for better layout */
background: linear-gradient(135deg, rgba(13, 128, 22, 0.8), rgba(0, 100, 0, 0.8)),
url('img/GUBCampus.jpg') no-repeat center center; /* Combine gradient and image */
background-size: cover; /* Ensure the image covers the entire area */
color: white;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Text Elements */
.banner h2 {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 1rem;
letter-spacing: 1px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
}
.banner p {
font-size: 1.2rem;
margin-bottom: 1.5rem;
line-height: 1.6;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
}
/* Button Styling */
.banner .btn {
padding: 0.8rem 1.5rem;
background-color: white;
color: #0d8016;
text-decoration: none;
border-radius: 24px;
font-weight: bold;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
border: 2px solid transparent;
font-size: 1rem;
cursor: pointer;
}
.banner .btn:hover {
background-color: #0d8016;
color: white;
border: 2px solid white;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
transform: scale(1.05);
}
/* Ensure content floats above overlay */
.banner h2,
.banner p,
.banner .btn {
position: relative;
z-index: 2;
}
.departments-section h2 {
font-size: 2rem; /* Larger title font size */
font-weight: bold;
color: #0d8016; /* Green color matching the header title */
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for emphasis */
margin-bottom: 1rem; /* Spacing below the title */
text-align: center; /* Center align the title */
letter-spacing: 1px; /* Adds spacing between letters for better readability */
border-bottom: 2px solid #0d8016; /* Optional underline for emphasis */
padding-bottom: 0.5rem; /* Adds space between text and underline */
}
/* Style for each button */
.slide-btn {
background-color: #0d8016; /* Modern blue background */
color: #fff; /* Text color */
border: none; /* No border */
border-radius: 50%; /* Circular shape */
width: 36px; /* Slightly larger size for better visibility */
height: 36px; /* Matching height for perfect circle */
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
transition: transform 0.3s, background-color 0.3s; /* Smooth transition */
font-size: 20px; /* Larger font size for the arrows */
margin: 0 12px; /* Space between the buttons */
}
/* Additional button hover effect */
.slide-btn:hover {
background-color: #0d8016; /* Darker blue on hover */
color: #fff; /* Keep text white */
transform: scale(1.1); /* Slight scaling effect on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}
/* Adjust department cards section for spacing */
.department-cards {
display: flex;
gap: 1.5rem; /* Increased gap for better spacing */
transition: transform 0.5s ease-in-out;
will-change: transform; /* Improve performance for sliding animations */
}
/* Department card styling with background images */
.department-card {
flex: 0 0 270px; /* Slightly wider cards */
background-size: cover; /* Ensure background image covers the card */
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Prevent tiling */
padding: 1.5rem; /* More padding for spacing */
border: 1px solid #ddd; /* Thin border */
border-radius: 16px; /* Softer rounded corners */
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
transition: transform 0.3s ease, box-shadow 0.3s ease;
overflow: hidden;
position: relative; /* Needed for overlay */
}
/* Dark overlay for text readability */
.department-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent overlay */
z-index: 1; /* Ensures it stays above the background */
border-radius: inherit; /* Matches card's border-radius */
transition: background 0.3s ease;
}
.department-card:hover::before {
background: rgba(0, 0, 0, 0.3); /* Lighten overlay on hover */
}
/* Content inside department cards */
.department-card h4,
.department-card p,
.department-card .view-department-btn {
position: relative; /* Ensures content stays above the overlay */
z-index: 2; /* Places text above overlay */
color: #fff; /* Makes text readable over the dark overlay */
}
.department-card h4 {
margin-bottom: 0.8rem; /* Increased spacing */
font-size: 1.4rem; /* Larger font size */
font-weight: bold; /* Bold for emphasis */
}
.department-card p {
font-size: 1rem; /* Slightly larger text */
margin-bottom: 1.2rem; /* Better spacing below */
}
/* Button Styling */
.department-card .view-department-btn {
padding: 0.6rem 1.2rem; /* Slightly larger padding for better clickability */
background-color: #fdfeff; /* Matches the heading color */
color: #0d8016; /* White text */
border: none;
border-radius: 8px; /* Softer button corners */
font-size: 1rem; /* Increased button text size */
cursor: pointer;
transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.department-card .view-department-btn:hover {
background-color: #0d8016;
color: #fff;
border-color: #fff;
transform: scale(1.05); /* Slight scaling effect for interactivity */
}
/* Hover Effects for Cards */
.department-card:hover {
transform: translateY(-10px); /* Higher lift on hover */
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); /* More dramatic shadow */
}
#cs {
background-image: url('img/computerscience.jpg'); /* Replace with the actual image path */
}
#eee {
background-image: url('img/electricalimage.jpg'); /* Replace with the actual image path */
}
#bba {
background-image: url('img/businessimage.jpg'); /* Replace with the actual image path */
}
#eng {
background-image: url('img/englishimage.jpg'); /* Replace with the actual image path */
}
#law {
background-image: url('img/lawimage.jpg'); /* Replace with the actual image path */
}
#journalism {
background-image: url('img/journalismimage.jpg'); /* Replace with the actual image path */
}
.videos-section {
background: linear-gradient(135deg, rgba(13, 128, 22, 0.8), rgba(0, 100, 0, 0.8)),
url('img/campus.jpg');
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
color: #fff;
padding: 60px 30px;
text-align: center;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
border: 4px solid #eedf0c; /* Add a yellow border for emphasis */
backdrop-filter: blur(10px); /* Strengthen frosted glass effect */
}
.videos-section .section-title {
font-size: 3rem; /* Larger title font for emphasis */
font-weight: bold;
color: rgba(255, 255, 255, 0.9); /* Soft white with opacity */
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6); /* Stronger shadow for prominence */
margin-bottom: 1.5rem;
letter-spacing: 1.5px;
text-transform: uppercase; /* Makes the title feel bold and modern */
border-bottom: 4px solid #eedf0c; /* Bright yellow underline to match the section's theme */
display: inline-block;
padding-bottom: 10px;
}
.video-gallery {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
margin-top: 30px;
}
.video-card {
background: linear-gradient(135deg, rgba(57, 123, 189, 0.8), rgba(82, 154, 226, 0.8));
border-radius: 12px;
padding: 20px;
width: 350px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
border: 2px solid rgba(238, 223, 12, 0.7); /* Subtle yellow border */
}
.video-card:hover {
transform: translateY(-8px); /* Lift the card slightly */
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
background-color: rgba(76, 175, 80, 0.9); /* Greenish tone to highlight hover */
}
.video-card iframe {
width: 100%;
height: 200px;
border-radius: 10px;
border: none;
}
.video-title {
font-size: 1.4rem;
color: rgba(238, 223, 12, 1); /* Bright yellow for standout titles */
margin-top: 15px;
font-weight: bold;
text-align: center;
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
.video-description {
font-size: 1rem;
color: rgba(255, 255, 255, 0.85); /* Soft white for descriptions */
margin-top: 10px;
line-height: 1.5;
text-align: center;
}
/* Testimonials Section */
.testimonials-section h2 {
font-style: oblique;
text-align: center;
margin-bottom: 2rem;
color: #014f11; /* Rich green for elegance */
font-size: 2.2rem; /* Larger font size for a striking header */
font-weight: bold;
letter-spacing: 1px; /* Subtle spacing for a refined look */
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Light shadow for contrast */
}
.testimonials {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
justify-content: center;
}
.testimonial {
flex: 1;
min-width: 250px;
max-width: 300px;
padding: 1.5rem;
background: rgba(255, 255, 255, 0.85); /* Semi-transparent white for modern look */
border: 1px solid rgba(0, 0, 0, 0.1); /* Soft border for structure */
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Subtle card shadow */
transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
backdrop-filter: blur(4px); /* Subtle frosted glass effect */
}
.testimonial:hover {
transform: translateY(-8px); /* Adds a more pronounced hover effect */
background: rgba(240, 255, 240, 0.95); /* Soft frosted green on hover */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
}
.testimonial p {
font-style: italic;
margin-bottom: 0.8rem;
color: rgba(51, 51, 51, 0.9); /* Softer dark text */
line-height: 1.6; /* Adds spacing for readability */
text-align: justify; /* Aligns text for cleaner presentation */
}
.testimonial span {
font-weight: bold;
color: #026d1a; /* Deep green for student’s name */
font-size: 1rem;
text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.2); /* Light shadow for name emphasis */
}
/* Footer */
footer {
background: linear-gradient(135deg, #0d8016, #196f3d); /* Gradient for a modern look */
color: #fff; /* White text for readability */
text-align: center;
padding: 2rem;
margin-top: 2rem;
border-top: 4px solid #eedf0c; /* Yellow accent line at the top */
box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}
footer h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #eedf0c; /* Accent color for section headings */
border-bottom: 2px solid #fff; /* Underline for emphasis */
display: inline-block;
padding-bottom: 0.5rem;
}
footer p {
font-size: 0.9rem;
line-height: 1.6;
margin: 0.5rem 0;
}
footer .footer-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
gap: 20px;
max-width: 1200px;
margin: 0 auto;
}
footer .footer-contact,
footer .footer-social {
flex: 1;
min-width: 280px;
max-width: 400px;
}
footer .footer-social .social-icons {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 10px;
}
footer .footer-social .social-icon {
text-decoration: none;
color: #fff; /* White for social links */
font-weight: bold;
font-size: 1rem;
transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
footer .footer-social .social-icon:hover {
color: #eedf0c; /* Yellow hover effect */
transform: scale(1.1); /* Slight zoom effect */
}
footer .footer-bottom {
margin-top: 2rem;
font-size: 0.85rem;
border-top: 1px solid #ffffff44; /* Semi-transparent border */
padding-top: 1rem;
color: #ccc; /* Softer text for less emphasis */
}