-
Notifications
You must be signed in to change notification settings - Fork 0
/
bio_staff.css
412 lines (352 loc) · 8.1 KB
/
bio_staff.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
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
/* Importing fonts that are used at the CSULB website */
@font-face {
font-family: Lato;
src: url('fonts/Lato/Lato-Light.ttf');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: Lato;
src: url('fonts/Lato/Lato-Regular.ttf');
font-weight: 400;
font-style: normal;
}
body {
margin: 0;
}
/* Stylings for Nav Bar */
nav {
font-family: Lato;
opacity: 0.9;
font-size: 0.75em;
background-color: gray;
position: fixed;
width: 100%;
cursor: pointer;
display: block;
z-index: 100;
}
/* Stylings for Header */
header {
padding-top:50px;
max-width: 100%;
height: 120px;
text-align: center;
line-height: 200px;
font-family: Lato;
font-weight: 400;
font-size: 200%;
color: white;
overflow-y: hidden;
/* Background color used to visualize layout. Remove when publishing */
background-color: #B7B7B7;
}
div.header_image {
margin-top: 4px;
}
/* Stylings for side bar on the left. */
aside {
float: left;
width: 25%;
height: 100%;
font-family: 'Lato', sans-serif;
font-weight: 300;
font-size: 17px;
line-height: 27px;
}
/* h1-h3 will have the yellow underline border */
aside h1,h2,h3 {
font-weight: inherit;
border-bottom: 1px solid #FFD07F;
padding-bottom: 10px;
}
/* h4-h6 will have regular font weight. Font properties were pulled from
the CSULB website using a Google Chrome extension. */
aside h4,h5,h6 {
font-weight: 600;
}
/* Font size of h1 is 32px, according to the CSULB website */
aside h1 {
font-size: 32px;
}
/* Color for all links in aside */
aside a {
color: #000000;
font-weight: 100;
text-decoration: none;
border-bottom: 1.5px solid #F0F0ED;
}
div.aside-links {
padding-left: 5px;
}
/* General padding for all the content in aside */
div.aside-container {
padding-left: 25px;
padding-right: 25px;
padding-bottom: 25px;
}
/* Padding and display settings for links for content in aside */
div.aside-container a {
display: block;
font-weight: 0;
padding-bottom: 5px;
font-size: 14px;
color:#595957;
}
div.aside-dropdown-content {
overflow-y: hidden;
width: 90%;
min-width: 160px;
max-height: 1000px;
position: relative;
transition-property: max-height;
transition-duration: 0.5s;
transition-timing-function: ease-in-out;
text-align: left;
}
button.aside-dropdown {
background-color: white;
color: #595957;
font-weight: 100;
border: none;
width: 100%;
min-width: 160px;
font-family: 'Lato', sans-serif;
font-size: 14px;
text-align: left;
border-bottom: 1px solid #F0F0ED;
}
/********************/
/* SECTION STYLINGS */
/********************/
/* General styling for section. Font properties were pulled from the CSULB
website using a Google Chrome extension. */
section {
float: right;
width: 75%;
font-family: 'Lato', sans-serif;
font-weight: 300;
font-size: 17px;
line-height: 27px;
}
/* h1-h3 will have the yellow underline border */
section h1,h2,h3 {
font-weight: inherit;
border-bottom: 1px solid #FFD07F;
padding-bottom: 10px;
}
/* h4-h6 will have regular font weight. Font properties were pulled from
the CSULB website using a Google Chrome extension. */
section h4,h5,h6 {
font-weight: 400;
}
/* Font size of h1 is 32px, according to the CSULB website */
section h1 {
font-size: 32px;
}
/* Color for all links in section */
section a {
color: #B86F4C;
}
/* General padding for all the content in section */
div.section-container {
padding-left: 50px;
padding-right: 50px;
padding-bottom: 50px;
}
/* Padding and display settings for links for content in section */
div.section-container a {
display: block;
font-weight: 400;
padding-bottom: 5px;
}
/* Button attributes for dropdown. The font properties were pull from CSULB website
using a Google Chrome extension */
button.dropdown {
background-color: #D7D0C4;
color: black;
padding: 16px;
border: none;
width: 90%;
min-width: 160px;
font-family: 'Lato', sans-serif;
font-weight: 400;
font-size: 17px;
text-align: left;
line-height: 20px;
}
/* Dropdown button color when hovered over */
button.dropdown:hover, button.dropdown:active {
background-color: #EF9E1D;
border: none;
}
/* Renders a triangle the points downward */
div.triangle-down {
display: inline-block;
float: right;
float:bottom;
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 8px solid #FFD07F;
}
/* Renders a triangle the points upward */
div.triangle-up {
display: inline-block;
float: right;
float:bottom;
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 8px solid #FFD07F;
}
/* Stylings for dropdown menu. Animations to show dropdown content is defined
here. The transition will use the property "max-height" for animation. */
div.dropdown-content {
overflow-y: hidden;
background-color: #F0F0ED;
width: 90%;
min-width: 160px;
max-height: 1000px;
position: relative;
transition-property: max-height;
transition-duration: 0.5s;
transition-timing-function: ease-in-out;
text-align: left;
z-index: -1;
}
/* General padding for content in dropdown menu */
div.dropdown-content-container {
padding: 20px;
}
/* Left layout for dropdown content */
div.dropdown-content-left {
float: left;
width: 50%;
max-height: 100%;
padding-bottom: 20px;
}
/* Right layout for dropdown content */
div.dropdown-content-right {
float: right;
width: 50%;
max-height: 100%;
padding-bottom: 20px;
}
/* Color for links when hovered */
div.dropdown-content a:hover {
background-color: #f1f1f1;
}
/* This will hide the content of the dropdown menu. The animation to hide the content
is defined here. The transition uses "max-height" for animation. */
div.dropdown-hide {
max-height: 0px;
transition-property: max-height;
transition-duration: 1.0s;
transition-timing-function: cubic-bezier(0, 1, 0, 1);
}
/* Stylings for footer */
footer {
clear: both;
font-family: Lato;
font-weight: 300;
padding: 20px;
background:#484236;
color:#d6d0c4;
}
ul.nav {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color:gray;
}
li.nav {
float: left;
display: inline;
padding: 5px 20px 5px 20px;
}
li.nav a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li.nav a:hover {
background-color: #111;
}
#t01 {
width:100%;
padding-bottom:40px;
}
#even_col{
border-left:1px dotted #d6d0c4;
padding-left:20px;
}
#t01 tr {
text-align:left;
font-size:1.1em;
}
#t01 tr>td {
text-align:left;
font-size:0.9em;
}
#coll_desc {
text-align:center;
}
li.nav a.submenu_nav:hover {
background-color:#39312b;
color: #FFA800;
}
li.nav a.submenu_nav {
display: block;
color: white;
background-color: #39312b;
text-align: center;
padding: 4px 6px;
text-decoration: none;
opacity: 0.8;
}
.dropdown_options {
position:absolute;
overflow-y: hidden;
overflow-x: hidden;
display: none;
background-color: #3e352f;
min-width: 100px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown_options a {
color: black;
padding: 4px 6px;
text-decoration: none;
display: block;
}
.dropdown_options a:hover {background-color: #3e352f}
.options:hover .dropdown_options {
display: block;
}
table.faculty {
width:100%;
padding:5px;
text-align:left;
}
th.faculty{
padding:5px;
text-align:center;
}
td.faculty{
padding:5px;
text-align:left;
}
tr.faculty {
padding:5px;
text-align:left;
border: 1px solid black;
background-color:#f2f2f2;
}
tr.faculty:nth-child(even){background-color: #FFD07F}