-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfacultycontact.css
More file actions
206 lines (181 loc) · 5.04 KB
/
facultycontact.css
File metadata and controls
206 lines (181 loc) · 5.04 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
/* General Body Styling (Existing - ensure this is in your styles.css) */
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 (Existing - ensure this is in your styles.css) */
.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;
}
/* Marquee Styling (NEW) */
.marquee-container {
background-color: #f39c12; /* Orange for emphasis */
color: white;
padding: 8px 0;
text-align: center;
font-size: 1.1em;
font-weight: bold;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin-bottom: 20px; /* Space below marquee */
}
marquee {
white-space: nowrap; /* Ensures text stays in one line */
}
/* Main Content Container (Existing - ensure this is in your styles.css) */
.container {
max-width: 960px;
margin: 0 auto;
padding: 20px;
background-color: #c6e7fd;
border-radius: 8px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
/* Section Headings Styling (Modified/Existing for consistency) */
.contact-info-section h2,
.team-section h2 {
color: #2c3e50;
font-size: 2.2em;
margin-bottom: 15px;
position: relative;
padding-bottom: 10px;
}
.contact-info-section h2::after,
.team-section h2::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 60px;
height: 4px;
background-color: #3498db;
border-radius: 2px;
}
.contact-info-section hr,
.team-section hr {
border: none;
border-top: 1px solid #eee;
margin: 20px 0;
}
/* Contact Information Section (NEW) */
.contact-details p {
font-size: 1.1em;
line-height: 1.8;
color: #555;
margin-bottom: 8px; /* Closer spacing for contact lines */
}
.contact-details p strong {
color: #2c3e50; /* Make bold text stand out */
}
/* Image Grid for Faculty Members (NEW) */
.image-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid */
gap: 25px; /* Space between cards */
padding: 20px 0;
}
.image-card {
background-color: #fcfcfc;
border: 1px solid #ddd;
border-radius: 10px;
overflow: hidden;
text-align: center;
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.image-card:hover {
transform: translateY(-5px); /* Lift effect on hover */
box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}
.image-card img {
width: 100%;
height: 200px; /* Fixed height for images */
object-fit: cover; /* Ensures images cover the area without distortion */
border-bottom: 1px solid #eee;
}
.image-card p {
padding: 15px;
margin: 0;
font-weight: bold;
color: #333;
font-size: 1.05em;
}
/* Union Members List (NEW) */
.union-members-list {
list-style: none; /* Remove default bullet points */
padding: 0;
margin: 0;
display: flex; /* Use flexbox for horizontal layout */
flex-wrap: wrap; /* Allow wrapping to next line */
gap: 20px; /* Space between members */
}
.union-members-list li {
background-color: #eaf6fd; /* Light blue background for each member */
padding: 10px 18px;
border-radius: 25px; /* Pill shape */
font-size: 1.1em;
color: #2c3e50;
font-weight: 500;
border: 1px solid #b3e0ff;
transition: background-color 0.3s ease;
}
.union-members-list li {
background-color: #eaf6fd; /* Light blue background for each member */
padding: 10px 18px;
border-radius: 25px; /* Pill shape */
font-size: 1.1em;
color: #2c3e50;
font-weight: 500;
border: 1px solid #b3e0ff;
transition: background-color 0.3s ease;
display: flex; /* Use flexbox to align name and phone number */
flex-direction: column; /* Stack name and phone vertically */
align-items: center; /* Center content horizontally */
text-align: center; /* Ensure text is centered within its own space */
min-width: 180px; /* Ensure enough space for longer names/numbers */
}
.union-members-list li:hover {
background-color: #d1ecfc;
}
.member-name {
font-weight: bold; /* Make the name stand out */
margin-bottom: 5px; /* Small space between name and phone */
color: #2c3e50; /* Darker color for prominence */
}
.member-phone {
font-size: 0.9em; /* Smaller font size for the phone number */
color: #555; /* Slightly muted color for less emphasis than the name */
text-decoration: none; /* Ensure no underline if it becomes a link */
}