-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfacultyabout.css
More file actions
224 lines (197 loc) · 4.71 KB
/
facultyabout.css
File metadata and controls
224 lines (197 loc) · 4.71 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
/* General Body Styling */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f4f7f6;
color: #333;
}
/* Navigation Bar */
.navbar {
background-color: #2c3e50; /* Darker blue/grey */
color: white;
padding: 15px 0;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.navbar ul {
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}
.navbar ul li {
display: inline-block;
margin-right: 30px;
}
.navbar ul li a {
color: white;
text-decoration: none;
padding: 10px 15px;
transition: background-color 0.3s ease, color 0.3s ease;
border-radius: 5px;
}
.navbar ul li a:hover,
.navbar ul li a.active {
background-color: #3498db; /* Brighter blue for hover/active */
color: white;
}
.navbar ul li:last-child {
float: right;
margin-right: 20px;
}
/* NEW LOGO STYLES */
.logo-container {
text-align: center; /* Center the logo heading and image */
font-size: 2.2em;
font-weight: bold;
margin-top: 30px; /* Space from the main heading above */
margin-bottom: 30px; /* Space before the next content section */
}
.circular-logo {
width: 200px; /* Set a fixed width */
height: 200px; /* Set a fixed height (must match width for a perfect circle) */
border-radius: 50%; /* Makes the image circular */
object-fit: cover; /* Ensures the image covers the area without distortion */
border: 5px solid rgba(255, 255, 255, 0.7); /* White border around the circle */
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Soft shadow for depth */
transition: transform 0.3s ease-in-out; /* Smooth hover effect */
}
.circular-logo:hover {
transform: scale(1.05); /* Slightly enlarge on hover */
}
/* Hero Section (Welcome Banner) */
.hero-section {
text-align: center;
padding: 60px 20px;
background: linear-gradient to right, #3498db, #2c3e50; /* Gradient background */
color: rgb(17, 16, 16);
margin-bottom: 30px;
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.hero-section h1 {
font-size: 3.2em;
margin-top: 0px;
margin-bottom: 4px;
letter-spacing: 1.5px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}
.hero-section h2 {
font-size: 2.7em;
margin-top: 5px;
color: #1c2af0;
}
.hero-section h3 {
font-size: 1.5em;
margin-bottom: 1px;
font-weight: 500;
opacity: 0.9;
}
/* Main Content Container */
.container {
max-width: 960px;
margin: 0 auto;
padding: 20px;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
/* Section Styling (About Department, About Us, etc.) */
.about-section {
margin-bottom: 40px;
}
.about-section h2, .gallery-section h2 {
color: #2c3e50;
font-size: 2.2em;
margin-bottom: 15px;
position: relative;
padding-bottom: 10px;
}
.about-section h2::after, .gallery-section h2::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 60px;
height: 4px;
background-color: #3498db;
border-radius: 2px;
}
.hero-section hr, .about-section hr, .gallery-section hr {
border: none;
border-top: 1px solid #eee;
margin: 20px 0;
width: 100%; /* Ensure hr spans the full width */
}
.about-section p {
font-size: 1.1em;
line-height: 1.8;
color: #555;
margin-bottom: 15px;
}
/* Image Slideshow */
.slideshow-container {
max-width: 800px;
position: relative;
margin: auto;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.mySlides {
display: none;
}
.mySlides img {
width: 100%;
height: auto; /* Maintain aspect ratio */
display: block;
border-radius: 8px;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 20px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
background-color: rgba(0,0,0,0.6);
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background with a little more opacity */
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 4px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active, .dot:hover {
background-color: #717171;
}
/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}