-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylesheet.css
More file actions
431 lines (372 loc) · 9.69 KB
/
stylesheet.css
File metadata and controls
431 lines (372 loc) · 9.69 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
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
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 400;
src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 400;
src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 700;
src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 700;
src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
p + ul {
margin-top: -10px;
}
a {
color: #1772d0;
text-decoration: none;
}
a:focus,
a:hover {
color: #f09228;
text-decoration: none;
}
body,
td,
th,
tr,
p,
a {
font-family: 'Lato', Verdana, Helvetica, sans-serif;
font-size: 14px
}
strong {
font-family: 'Lato', Verdana, Helvetica, sans-serif;
font-size: 14px;
}
heading {
font-family: 'Lato', Verdana, Helvetica, sans-serif;
font-size: 22px;
}
papertitle {
font-family: 'Lato', Verdana, Helvetica, sans-serif;
font-size: 14px;
font-weight: 700
}
slogan {
font-family: 'Lato', Verdana, Helvetica, sans-serif;
font-size: 24px;
font-weight: 700;
color: #008CBA;
}
name {
font-family: 'Lato', Verdana, Helvetica, sans-serif;
font-size: 32px;
}
.one {
width: 160px;
height: 160px;
position: relative;
}
.two {
width: 160px;
height: 160px;
position: absolute;
transition: opacity .2s ease-in-out;
-moz-transition: opacity .2s ease-in-out;
-webkit-transition: opacity .2s ease-in-out;
}
.fade {
transition: opacity .2s ease-in-out;
-moz-transition: opacity .2s ease-in-out;
-webkit-transition: opacity .2s ease-in-out;
}
span.highlight {
background-color: #ffffd0;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
.button {
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 15px;
font-family: "Lato";
margin: 4px 2px;
cursor: pointer;
}
.button1 {background-color: #79B8FF;} /* Green */
.button2 {background-color: #008CBA;} /* Blue */
/* ========================================
RESPONSIVE DESIGN - MOBILE VS DESKTOP
======================================== */
/* Desktop / larger screens */
@media (min-width: 768px) {
body {
font-size: 14px;
background-color: white;
line-height: 1.15;
}
/* Main container adjustments for desktop */
table[style*="max-width:800px"] {
margin-top: 20px;
margin-bottom: 20px;
}
/* Profile section - side by side layout */
td[style*="width:63%"] {
padding: 2.5% !important;
width: 63% !important;
}
td[style*="width:40%"] {
padding: 2.5% !important;
width: 40% !important;
max-width: 40% !important;
}
/* Typography scaling for desktop */
name {
font-size: 30px;
}
heading {
font-size: 20px;
}
p, td, th, tr, a {
font-size: 14px;
}
strong {
font-size: 14px;
}
/* Navigation links spacing */
p[style*="text-align:center"] a {
margin: 0 4px;
padding: 2px 2px;
}
/* Section spacing */
td[style*="padding:5px"] {
padding: 20px !important;
}
/* List item spacing for desktop */
li {
margin-bottom: 4px;
}
}
/* Mobile / smaller screens */
@media (max-width: 767px) {
html {
overflow-x: hidden;
width: 100%;
}
body {
font-size: 12px;
background-color: #f8f9fa;
line-height: 1.15;
margin: 0;
padding: 0;
overflow-x: hidden;
width: 100%;
max-width: 100%;
}
/* Main container adjustments for mobile */
table[style*="max-width:800px"] {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding: 5px !important;
box-sizing: border-box;
}
/* Remove all table margins and padding */
table, tbody, tr, td {
margin: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
/* Force all elements to stay within viewport */
* {
max-width: 100% !important;
box-sizing: border-box !important;
}
/* Profile section - stacked layout */
td[style*="width:63%"] {
padding: 10px 5px !important;
width: 100% !important;
display: block !important;
margin: 0 !important;
}
td[style*="width:40%"] {
padding: 10px 5px !important;
width: 100% !important;
max-width: 100% !important;
display: block !important;
text-align: center !important;
margin: 0 !important;
}
/* Profile image adjustments */
img[alt="profile photo"] {
max-width: 200px !important;
width: 60% !important;
margin: 0 auto !important;
display: block !important;
box-sizing: border-box !important;
}
/* Ensure all images stay within bounds */
img {
max-width: 100% !important;
height: auto !important;
box-sizing: border-box !important;
}
/* Typography scaling for mobile */
name {
font-size: 24px;
text-align: center !important;
display: block !important;
width: 100% !important;
}
heading {
font-size: 17px;
margin-top: 20px;
margin-bottom: 10px;
}
p, td, th, tr, a {
font-size: 12px;
}
strong {
font-size: 12px;
}
/* Bullet point adjustments for mobile */
ul {
padding-left: 15px !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100% !important;
box-sizing: border-box;
}
li {
margin-bottom: 8px !important;
padding-left: 1.5px !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
/* Navigation links - mobile friendly */
p[style*="text-align:center"] {
text-align: center !important;
margin: 20px 0 !important;
}
p[style*="text-align:center"] a {
margin: 0 1px;
padding: 2px 2px;
}
/* Section spacing for mobile */
td[style*="padding:5px"] {
padding: 10px 5px !important;
width: 100% !important;
margin: 0 !important;
}
/* Experience and Teaching sections - mobile optimization */
p {
margin-bottom: 15px !important;
}
/* Links in experience descriptions */
span[style*="color: #636363"] {
font-size: 11px;
line-height: 1.0;
}
/* Button adjustments for mobile */
.button {
padding: 12px 24px;
font-size: 14px;
margin: 8px 4px;
}
/* Center class adjustments */
.center {
width: 90%;
margin: 20px auto;
}
}
/* Very small screens */
@media (max-width: 480px) {
body {
font-size: 11px;
}
name {
font-size: 22px;
text-align: center !important;
display: block !important;
width: 100% !important;
}
heading {
font-size: 15px;
}
/* Bullet point adjustments for very small screens */
ul {
padding-left: 12px !important;
margin-left: 0 !important;
margin-right: 0 !important;
width: 100% !important;
box-sizing: border-box;
}
li {
padding-left: 1px !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
img[alt="profile photo"] {
max-width: 180px !important;
width: 70% !important;
}
p[style*="text-align:center"] a {
margin: 0 1px;
padding: 2px 2px;
}
}