-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
305 lines (277 loc) · 9.18 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Home page for Xu Cheng (DrXCheng)">
<meta name="google-site-verification" content="KHMf5jnb9wqCkcQSJ2jT9EOi3bBONCpZ9TS61bDiAdc" />
<title>DrXCheng - A Digital Poet</title>
<link rel="shortcut icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300italic,500" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:100" rel="stylesheet" type="text/css">
<link href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" rel="stylesheet" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
<style>
body {
background-color: rgba(250, 250, 250, 0);
font-family: 'Fira Sans', sans-serif;
font-size: 1rem;
font-weight: 300;
color: #202020;
margin: 0;
padding: 0;
}
p {
font-size: 1.125em;
}
p + p {
margin-top: 1.25em;
}
a {
color: #717171;
}
.em {
font-weight: 500;
}
header {
background-color: #2a9d8f;
font-family: 'Varela Round', sans-serif;
color: #fefefe;
}
header h1 {
font-size: 4em;
text-shadow: 0 .1em .3em #202020;
text-align: center;
line-height: 2em;
margin: 0;
}
.container {
width: 40em;
margin: 0 auto;
}
.container section {
position: relative;
}
.container section:not(:last-child) {
border-bottom: 1px solid #b5b5b5;
}
.avatar {
margin: 2.5em auto;
width: 8em;
height: 8em;
border-radius: 50%;
background-image: url(pic.jpg);
background-size: 8em 8em, cover;
}
.intro p {
width: 100%;
text-align: center;
margin-bottom: 2em;
padding: 0 2em;
box-sizing: border-box;
line-height: 1.75em;
}
.contentContainer {
display: flex;
padding: 2.5em 0;
}
.content {
width: 23em;
line-height: 2em;
}
.skill-set {
font-style: italic;
}
footer {
background-color: #264653;
color: #fefefe;
font-weight: 100;
text-align: center;
padding: 2.5em 0;
}
footer span {
display: block;
font-size: 0.8em;
margin-bottom: 2.5em;
}
footer ul {
list-style: none;
margin: 0 auto 2.5em;
padding: 0;
width: 23em;
display: flex;
justify-content: space-around;
}
footer ul li a {
display: block;
color: #fefefe;
width: 3em;
height: 3em;
border: 2px solid #fefefe;
border-radius: 50%;
transition: all .2s ease-in;
}
footer ul li i {
font-size: 1.5em;
line-height: 2em !important;
}
footer ul li a:hover {
color: #b5b5b5;
border: 2px solid #b5b5b5;
}
footer .copyright {
font-family: 'Roboto Slab', serif;
font-size: 1em;
}
.content-bg {
font-size: 10em;
color: #b5b5b5;
z-index: -1;
opacity: 0.3;
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.text-on-right {
flex-direction: row-reverse;
}
.open-new-tab-icon {
font-size: 0.9em;
}
@media (max-width: 45em) {
header h1 {
font-size: 3em;
line-height: 2em;
}
.intro p {
margin-bottom: 1em;
}
.container {
width: 100%;
margin: 0;
}
.avatar {
margin: 2em auto 1em;
width: 5em;
height: 5em;
border-radius: 50%;
background-size: 5em 5em, cover;
}
.contentContainer {
padding: 1em;
}
.content {
width: 100%;
margin: 0 !important;
font-size: 1.1em;
line-height: 1.75em;
}
.content-bg {
font-size: 8em;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
}
@media (max-width: 24rem) {
footer ul {
margin: 0 auto 2em;
padding: 0 1em;
width: 100%;
box-sizing: border-box;
}
footer ul li a {
width: 2em;
height: 2em;
}
footer ul li a i {
font-size: 1em;
}
}
</style>
</head>
<body>
<header>
<h1>DrXCheng</h1>
</header>
<main class="container">
<section class="intro" aria-label="introduction">
<div class="avatar" role="img" aria-label="DrXCheng's photo"></div>
<p>
Hi, I am Xu Cheng (he/him), aka. DrXCheng, a digital poet, accessibility (a11y) advocate.
</p>
</section>
<section class="contentContainer text-on-left" aria-labelledby="header-profession">
<div class="content">
<h2 id="header-profession">Profession</h2>
<p>
I am engineer manager/team lead/software developer. I manage and develop accessible websites and web apps with state-of-the-art technologies.
</p>
<p>
My recent technical skill sets: <span class="skill-set">Web development (HTML/CSS, JavaScript/TypeScript, React),
Server-side development (Python, PostgreSQL), AWS, etc.</span>
</p>
<p>
Lately, I'm also interested in Web3 development.
</p>
</div>
<div class="content-bg">
<i class="fas fa-code" aria-describedby="header-profession"></i>
</div>
</section>
<section class="contentContainer text-on-right" aria-labelledby="header-academia">
<div class="content">
<h2 id="header-academia">Academia</h2>
<p>I was born in China and am living in Metro Vancouver, Canada.</p>
<p>
I came to Canada to complete my MSc and Ph.D. in Computing Science at Simon Fraser University.
My research topics were networking and data mining. I have published over 20 journal and conference papers,
attracting more than two thousand citations
(<a href="https://scholar.google.ca/citations?user=pb3o7bUAAAAJ" target="_blank" rel="noopener">Google Scholar
<i class="fas fa-external-link-alt open-new-tab-icon" role="img" aria-label="(open in a new tab)"></i></a>).
</p>
</div>
<div class="content-bg">
<i class="fas fa-graduation-cap" aria-describedby="header-academia"></i>
</div>
</section>
<section class="contentContainer text-on-left" aria-labelledby="header-leisure">
<div class="content">
<h2 id="header-leisure">Leisure</h2>
<p>
I am a casual gamer. I upload my gameplay videos to the YouTube channel, which has over
<span class="em">17M</span> total views and over <span class="em">11K</span> subscribers.
</p>
<p>I have also obtained a YouTube certification on audience growth.</p>
</div>
<div class="content-bg">
<i class="fab fa-youtube" aria-describedby="header-leisure"></i>
</div>
</section>
</main>
<footer>
<nav>
<ul class="social">
<li><a href="mailto:[email protected]" target="_blank" rel="noopener" aria-label="Email (open in a new tab)"><i class="fas fa-envelope"></i></a></li>
<li><a href="https://twitter.com/drxcheng" target="_blank" rel="noopener" aria-label="Twitter (open in a new tab)"><i class="fab fa-twitter"></i></a></li>
<li><a href="https://ca.linkedin.com/in/drxcheng" target="_blank" rel="noopener" aria-label="LinkedIn (open in a new tab)"><i class="fab fa-linkedin"></i></a></li>
<li><a href="https://github.com/drxcheng" target="_blank" rel="noopener" aria-label="GitHub (open in a new tab)"><i class="fab fa-github"></i></a></li>
<li><a href="https://drxcheng.medium.com/" target="_blank" rel="noopener" aria-label="Medium (open in a new tab)"><i class="fas fa-book"></i></a></li>
<li><a href="https://www.youtube.com/user/drxcheng" target="_blank" rel="noopener" aria-label="YouTube (open in a new tab)"><i class="fab fa-youtube"></i></a></li>
</ul>
</nav>
<div class="copyright">Copyright © 2024 DrXCheng</div>
</footer>
</body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-1412705-8', 'auto');
ga('send', 'pageview');
</script>
</html>