-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
328 lines (272 loc) · 5.54 KB
/
style.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
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
/* Set background color, mininum with and font styles of website*/
body {
background-color: gainsboro;
margin: 0;
min-width: 320px;
font-family: Arial, Helvetica, sans-serif;
}
/* Navigation bar background color */
.navigation {
background-color: #093162;
overflow: hidden;
}
/*Navigation bar link styling */
.navigation a {
float: left;
display: block;
color: #FFFFFF;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* styling on the name section on the navigation bar */
.name {
float: left;
display: block;
color: #FFFFFF;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/*Navigation bar link styling when hovering*/
.navigation a:hover {
background-color: #FFFFFF;
color: #000000;
}
/*Change background color of current page on navigation bar*/
.active {
background-color: #2c76c7;
}
/*Hide navigation toggle button */
.navigation .menuButton {
display: none;
}
/*Styling for the placement of the content found on the pages */
.a {
width: 768px;
margin-left: auto;
margin-right: auto;
padding-left: 5px;
padding-right: 5px;
}
/*image styling*/
.contentImage {
width: 100%;
height: auto;
}
/* Styling for the main content */
.mainContent {
background-color: white;
padding-left: 5%;
padding-right: 5%;
position: relative;
overflow: hidden;
}
/* styling for the slideshow found on the home page */
.slideshow {
background-color: white;
position: relative;
}
.mySlides {
height: auto;
width: auto;
margin-left: auto;
margin-right: auto;
}
/* styling for the buttons used by the slide show */
.slideshow-button {
position: absolute;
top: 50%;
border: none;
background-color: white;
font-size: 36px;
opacity: 0.5;
}
.slideshow-button:hover {
opacity: 1;
}
.button-left {
left: 0%;
}
.button-right {
right: 0%;
}
/* styling for the article list on the research page */
.articles ul {
margin-left: 5%;
padding: 0px;
background-color: #FFFFFF;
color: black;
}
.articles ul li {
margin-left: 5%;
margin-top: 2.5%;
background-color: #FFFFFF;
color: black;
}
/* styling for blockquotes */
blockquote {
padding: 10px;
background: #eee;
}
/* styling for list with no bullets */
.nobullets {
list-style-type: none;
font-size: 14px;
}
/* styling for the CV lists*/
.spacelist li{
margin-bottom: 2.5%;
}
.nospacelist li{
margin-bottom: 0px;
list-style-type: none;
font-size: 14px;
}
/* Styling for the containers used on the website */
.container {
display: grid;
grid-template-columns: 65% 35%;
grid-row-gap: 5px;
grid-column-gap: 10px;
}
.threeColumns {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-row-gap: 5px;
grid-column-gap: 10px;
}
.threeColumns a {
text-decoration: none;
color: #000000;
}
.threeColumns a:hover {
background-color: #2c76c7;
}
.SRContainer {
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(2, 1fr);
}
.SRTop {
grid-column: 1/-1;
}
/* styling used for the images on the slideshow */
.slideshowImage {
width: 100%;
height: auto;
display: block;
margin-left: auto;
margin-right: auto;
}
/* styling for the caption of the images on the slideshow */
.slideCaption {
position: absolute;
bottom: 0px;
width: 90%;
background-color: #000000;
opacity: 0.8;
color: white;
padding-left: 5%;
padding-right: 5%;
}
/* styling for the footer */
footer {
width: 100%;
background-color: #093162;
margin-left: auto;
margin-right: auto;
padding-top: 10px;
padding-bottom: 10px;
color: white;
text-align: center;
overflow: hidden;
box-shadow: 0 50vh 0 50vh #093162;
}
footer a {
color: #FFFFFF;
}
/* styling for the sections headings on the reseach page */
.sectionHeading {
background-color: #093162;
color: #FFFFFF;
padding: 4px;
width: 100%;
}
/* Styling for the images of featured students on the teaching page */
.featuredImage {
height: 300px;
width: auto;
}
/* Stlying for Penn State logo */
.logo{
height:75px;
width: auto;
}
/* styling for screens less than 730 pixels wide.
730 pixels is the width of the navigation bar.
*/
@media screen and (max-width: 730px) {
.navigation a:not(:first-child) {
display: none;
}
.navigation a.menuButton {
float: right;
display: block;
}
.a {
width: 100%;
margin-left: auto;
margin-right: auto;
padding-left: 0px;
padding-right: 0px;
}
.container {
display: block;
}
.SRContainer {
display: block;
}
.threeColumns {
display: block;
}
body {
font-size: 24px;
}
.navigation a {
font-size: 24px;
}
.navigation.smallScreen {
position: relative;
}
.navigation.smallScreen a.menuButton {
position: absolute;
right: 0;
top: 0;
}
.navigation.smallScreen a {
float: none;
display: block;
text-align: left;
}
}
@media screen and (max-width: 768px) {
.a {
width: 100%;
margin-left: auto;
margin-right: auto;
padding-left: 0px;
padding-right: 0px;
}
}
@media screen and (min-width: 1024px) {
.a {
width: 1000px;
margin-left: auto;
margin-right: auto;
padding-left: 5px;
padding-right: 5px;
}
}