-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
238 lines (207 loc) · 4.65 KB
/
styles.css
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
/* Reset styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, h1, a, h3 {
font-family: 'Arial', sans-serif;
color: white; /* White text color for better contrast on dark backgrounds */
}
/* Navigation menu styles */
nav ul {
list-style-type: none;
background-color: #000; /* Dark background for the navbar */
overflow: hidden;
padding: 0;
text-align: center; /* Center the navigation items */
}
nav li {
display: inline-block; /* Use inline-block for horizontal listing */
padding: 20px 15px; /* Provide padding for tap targets */
}
nav a {
text-decoration: none;
color: white;
font-weight: bold; /* Make the navigation items bold */
}
nav a:hover {
text-decoration: underline;
}
/* Header styles */
h1 {
font-size: 3em;
text-align: center;
padding: 50px 0; /* Increase padding for more space */
background-color: #1A1A1A; /* Dark background for header */
}
h2 {
font-size: 2em;
color: black;
text-align: center;
padding: 20px 0;
line-height: 30px;
margin-bottom: 20px;
margin-top: 20px;
}
h3 {
font-size: 1em;
color: white;
text-align: left;
padding: 20px 40px;
margin-bottom: 25px;
line-height: 30px;
margin-top:30px;
background-color: #1A1A1A;
}
h4 {
font-size: 1em;
color: white;
text-align: center;
padding: 20px 40px;
margin-bottom: 25px;
line-height: 30px;
margin-top: 30px;
background-color: #1A1A1A;
}
/* Main content styles */
main {
padding: 20px;
background-color: #1A1A1A; /* Match main content background with header */
}
p {
color: black;
padding: 20px 40px;
}
p1 {
color: white;
}
section {
color: black;
text-align: left;
margin: 50;
padding: 50;
box-sizing: border-box;
background-color: white;
}
/* Style image */
img.centered-image {
display: block;
margin: 40px auto; /* Increase margin for more space */
width: 100%; /* Responsive width */
height: auto; /* Maintains aspect ratio */
max-width: 600px; /* Max-width for large screens */
}
img.fit-image {
display: block;
margin: 0px auto; /* Increase margin for more space */
width: 100%; /* Responsive width */
height: auto; /* Maintains aspect ratio */
max-width: outo; /* Max-width for large screens */
}
/* Footer styles */
footer {
background-color: #000; /* Dark background for footer */
color: white;
text-align: center;
padding: 20px 0;
position: relative; /* Changed from absolute to relative */
bottom: 0;
width: 100%;
}
/* Styles specific to the Our Team page */
.team-container {
background-color: #1A1A1A; /* Match team container background with the main content */
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding: 20px;
}
.team-member {
background-color: #333; /* Slightly lighter background for team member cards */
color: white; /* Text color for team member cards */
border: none; /* Remove border */
padding: 15px;
margin: 10px;
width: 200px; /* Or whatever width you prefer */
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}
.team-member h2 {
color: #FFF; /* White text for names */
text-align: center;
}
.team-member p {
font-size: 1em;
margin: 10px 0;
text-align: center;
}
/* Responsive Design */
@media (max-width: 768px) {
nav li {
padding: 10px 5px; /* Reduce padding on smaller screens */
}
img.centered-image {
width: 90%; /* Make image take more width on smaller screens */
}
}
#chart {
width: 90%;
max-width: 700px;
margin: auto;
color: black;
font-family: Arial, sans-serif;
}
#chart2 {
width: 90%;
max-width: 700px;
margin: auto;
color: black;
font-family: Arial, sans-serif;
}
.ted-talk-embed {
display: flex;
justify-content: center;
}
iframe {
width: 100%;
max-width: 640px; /* This keeps the original width of 640px as the maximum */
height: 320px;
}
#chart2 {
display: flex;
justify-content: center;
align-items: center;
color: black;
height: /* specify a height if needed */;
}
.quiz-box {
background-color: #333; /* Slightly lighter background for team member cards */
color: white; /* Text color for team member cards */
border: 50px; /* Remove border */
padding: 15px;
margin-left: 75px;
margin-right: 50px;
width: 90%; /* Or whatever width you prefer */
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}
.quiz-box h2 {
color: indianred;
}
.quiz-box h3 {
font-size: 1em;
color: black;
text-align: center;
padding: 20px 40px;
margin-bottom: 20px;
line-height: 40px;
margin-top: 20px;
background-color: whitesmoke;
}
.quiz-box a {
text-decoration: underline;
color: black;
font-weight: bold;
}