-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
328 lines (289 loc) · 8.99 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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<!DOCTYPE html>
<html lang="en" >
<head>
<title>Page Title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
/* Style the body */
body {
font-family: Arial, Helvetica, sans-serif, Georgia;
margin: 0;
}
/* Header/logo Title */
.header {
padding: 1px;
text-align: center;
background: #17a689;
color: white;
position: relative;
border: 1px;
}
.home {
border: 1px solid #f00;
position: relative;
z-index: 2;
top: 0;
border : 0;
}
.movetext {
position: relative;
top: 50px;
}
.movelittletext {
position: relative;
top: 25px;
}
.movebigtext {
position: relative;
top: 68px;
}
/* Increase the font size of the heading */
.header h1 {
font-size: 40px;
}
/* Style the top navigation bar */
.navbar {
overflow: hidden;
background-color: #333;
position: relative;
padding: 1px;
text-align: center;
color: white;
}
/* Style the navigation bar links */
.navbar a {
float: left;
display: block;
color: white;
text-align: center;
padding: 14px;
text-decoration: none;
}
/* Right-aligned link */
.navbar a.right {
float: right;
}
/* Change color on hover */
.navbar a:hover {
background-color: #ddd;
color: black;
}
.content {
padding: 16px;
}
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
position: fixed;
width: 100%;
left: 0;
top: 0;
z-index: 100;
border-top: 0;
}
/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
padding-top: 60px;
}
/* Column container */
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
}
/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
-ms-flex: 30%; /* IE10 */
flex: 30%;
background-color: #f1f1f1;
padding: 20px;
}
/* Main column */
.main {
-ms-flex: 70%; /* IE10 */
flex: 70%;
background-color: white;
padding: 20px;
}
/* Footer */
.footer {
padding: 1px;
text-align: center;
background: #ddd;
}
.scroller {
scroll-snap-type: mandatory;
/* older spec implementation */
scroll-snap-destination: 0% 100%;
scroll-snap-points-x: repeat(100%);
}
.page {
scroll-snap-align: start;
}
.tab { margin-left: 40px; }
/* Responsive layout - when the screen is less than 750px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 750px) {
.row {
flex-direction: column;
}
}
/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 450px) {
.navbar a {
float: none;
width: 100%;
}
}
html, body {
height: 100%;
margin: 0;
padding: 0;
scroll-behaviour: smooth;
position:
top: 50px;
/* text-align: center; */
}
img {
padding: 0;
display: block;
margin: 0 auto;
max-height: 100%;
max-width: 100%;
max-height: 500px;
/* max-width: 500px; */
text-align: center;
position: relative;
top: 50px;
}
</style>
</head>
<body>
<!-- <div style="width: 700px; margin: 0 auto; overflow: hidden;">
<div style="float: left; width: 80%;">Left Column</div>
<div style="float: right; width: 20%;">Right Column</div> -->
<div class="header">
<h1>Alvin Kwan ❀ 關 子 穎 </h1>
<img class = "home" src = "img/home.jpg" alt = "my home" />
<h2>Stay Positive ❀ 保 持 正 面</h2>
</div>
<div class="navbar">
<a style="font-weight:bold" href="#home" class = "active">Home</a>
<a style="font-weight:bold" href="#aboutme">About Me</a>
<a style="font-weight:bold" href="img/resume.pdf">Resume </a>
<a style="font-weight:bold" href="#personal project">Personal Projects</a>
<a style="font-weight:bold" href="#nawky">Youtube</a>
<!-- <a href="www.linkedin.com/in/alvin-cw-kwan"> <img class = "linkedin" src = "linkedin.jpg"> </a> -->
</div>
<!---HOME --->
<div class = "website">
<div class="row" id = "aboutme">
<!-- <div class="side"> -->
<div class="side">
</div>
<div class="side">
<div>
<img class = "alvin" src = "img/smiley.jpg">
<!-- </div> -->
<!-- <div class="side"> -->
<h2 class="movetext">About me</h2>
<!-- <div class="fakeimg" style="height:200px;">Image</div> -->
<p class="movetext">Hi there, thanks for visiting my website! I'm Alvin,
currently a 3rd year student at the University of British Columbia
studying Business and Computer Science.
A Canadian born and raised in Hong Kong, I've come over here
not only for University, but to explore a different way of life and culture. and work opportunities in the
tech sector.
As an aspiring Product Manager, I'm currently looking for a software
engineering internship for 2019 fall but I'm open to new opportunities!</p>
<br>
<h3 class="movelittletext">Contact</h3>
<p class="movelittletext"> If you want to reach out for any inquiries / chats/ collaborations. Feel free to send me a message! </p>
<p class="movelittletext"> [email protected] </p>
<!-- <p class="movelittletext"> https://www.linkedin.com/in/alvin-cw-kwan/</p> -->
<a class="movelittletext" href ="https://www.linkedin.com/in/alvin-cw-kwan/">https://www.linkedin.com/in/alvin-cw-kwan/</a>
</div>
</div >
<div class="side">
</div>
</div>
<!---Resume --->
<!-- <div class="row" id = "resume">
</div> -->
<!---PERSONALPROJECT --->
<div class="row" id = "personal project">
<!-- </div> -->
<div class="side">
<h2>Personal Projects</h2>
<h4>☐ 2D Portal Game </h4>
<h4>☐ Soundboard Chrome Extension </h4>
<h4>☐ Chinese Pinyin Converter (WIP) </h4>
<h4>☐ This Website</h4>
<p class="movetext">A recruiter eh? Or someone who likes to go straight to business,
well feel free to look around!</p>
<p class="movetext"> Please visit my GitHub to have an in-depth view of my projects.</p>
<a class="movetext" href ="https://github.com/akwan224">https://github.com/akwan224</a>
</div>
<div class="side">
<!-- <img class = "alvin" src = "sleepy.jpg"> -->
<img class = "alvin" src = "img/portalGame.jpg">
<!-- <div class="fakeimg" style="height:200px;">Image</div> -->
<h3 class="movetext">2D Portal Game</h3>
<p class="movetext"> Recreated Valve's flagship video game puzzle series Portal into a 2d maze game. Made without a game engine, the game operates in real time with key commands. </p>
<p class="movetext"> Navigate your character (Atlas) through the maze by reaching the pink checkpoint. Use your portal gun, to teleport through previously unaccessible parts of the maze.
The intricacy of the levels scale as you progress through the game </p>
</div>
<div class="side">
<img class = "alvin" src = "img/sound.jpg">
<h3 class="movetext"> Soundboard Chrome Extension</h3>
<!-- <div class="fakeimg" style="height:200px;">Image</div> -->
<p class="movetext">Created a Google Chrome extension that plays audio bites using celebrity soundboards
The extension originally played audio jingles but was often times annoying and repetitive. </p>
<p class="movetext">Enter your list of desired websites. Anytime there is a mouse click on those websites, an audio bite of
your desired celebrity will play. </p>
</div>
</div>
<!---NAWKY --->
<div class="row" id = "nawky">
<div class="side">
<h2>Youtube/Nawky</h2>
<!-- <div class="fakeimg" style="height:200px;">Image</div> -->
<iframe width= 100%; height=75%; align ="center" src="https://www.youtube.com/embed/98YoutN34h0?rel=0"
frameborder="0" onload="this.style.height=this.contentDocument.body.scrollHeight +'px';" allow="autoplay; encrypted-media" allowfullscreen> </iframe>
</div>
<div class="side">
<!-- <img class = "alvin" src = "tofu.jpg" vspace = "10"> -->
<img class = "movebigtext" height=50%; src = "img/ubyssey.jpg">
<p class="movebigtext tab" >Current side hobby of editing/filming light-hearted videos that people can relate to.
I've taken a liking to making parodies of pop-culture shows featuring my university. To my suprise, a few of my videos even made it to the school paper!
The name of the channel comes from me reversing my childhood nickname "Kwanny". </p>
</div>
</div>
<!---NAWKY --->
<!---DINNER --->
<!-- <div class="footer">
<h3>Work in progress</h3>
</div> -->
<!-- </div> -->
<!-- .vape {
border: 1px solid #0f0;
position: absolute;
z-index: 1;
top: 0;
left 0;
}
.vape2 {
border: 1px solid #0f0;
position: absolute;
z-index: 1;
top: 0;
right: 20px;
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
} -->
</body>
</html>