-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
186 lines (157 loc) · 5.41 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
<!DOCTYPE html>
<html>
<title>Zonghao Li's Site</title>
<meta charset="UTF-8">
<!-- I comment out the rescaling of the webpage as it looks kinda ugly to me... -->
<!-- https://www.w3schools.com/html/html_responsive.asp -->
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
<link rel="stylesheet" href="w3.css">
<!-- icon for social media -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.fa {
padding: 20px;
font-size: 30px;
width: 50px;
text-align: center;
text-decoration: none;
margin: 5px 2px;
}
.fa:hover {
opacity: 0.5;
}
.fa-facebook {
background: black;
color: white;
}
.fa-linkedin {
background: black;
color: white;
}
.fa-google {
background: black;
color: white;
}
.fa-github {
background: black;
color: white;
}
</style>
<!-- Favicon.ico -->
<head>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<!-- Navigation -->
<div class="w3-top">
<nav class="w3-bar w3-black">
<a href="http://www.zonghaoli.com" class="w3-button w3-bar-item">Home</a>
<div class="w3-dropdown-hover">
<button class="w3-button w3-black">Research</button>
<div class="w3-dropdown-content w3-bar-block w3-border">
<a href="ml_analog_ic.html" class="w3-bar-item w3-button w3-black">Machine Learning for Analog IC Design</a>
<a href="optical_receiver.html" class="w3-bar-item w3-button w3-black">High-speed Optical Receiver Modelling</a>
<a href="chipless_rfid.html" class="w3-bar-item w3-button w3-black">Chipless RFID for Wireless Sensing Applications</a>
</div>
</div>
<div class="w3-dropdown-hover">
<button class="w3-button w3-black">Coursework</button>
<div class="w3-dropdown-content w3-bar-block w3-border">
<a href="mixed_signal.html" class="w3-bar-item w3-button w3-black">Mixed Signal Circuits</a>
<a href="rf_microelectronics.html" class="w3-bar-item w3-button w3-black">RF Microelectronics</a>
<a href="cnn_accelerator.html" class="w3-bar-item w3-button w3-black">CNN Accelerator</a>
<a href="1-bit_adc.html" class="w3-bar-item w3-button w3-black">1st-order Delta-Sigma ADC</a>
<a href="capstone_project.html" class="w3-bar-item w3-button w3-black">Human Body Motion Tracking</a>
<a href="heart_rate_pulse_sensor.html" class="w3-bar-item w3-button w3-black">Heart Rate Pulse Sensor</a>
<a href="microwave_amplifier.html" class="w3-bar-item w3-button w3-black">Microwave Amplifier</a>
</div>
</div>
<div class="w3-dropdown-hover">
<button class="w3-button w3-black">Miscellaneous</button>
<div class="w3-dropdown-content w3-bar-block w3-border">
<a href="make_your_own_site.html" class="w3-bar-item w3-button w3-black">Make Your Own Site</a>
<a href="electrical_engineering_FAQ.html" class="w3-bar-item w3-button w3-black">Electrical Engineering FAQ</a>
<a href="guitar_tricks.html" class="w3-bar-item w3-button w3-black">Guitar Tricks</a>
</div>
</div>
<a href="about.html" class="w3-button w3-bar-item">About</a>
</nav>
</div>
<!-- Headers -->
<header class="w3-container w3-center" style="padding:256px 16px">
<h1 class="w3-margin w3-jumbo w3-text-white">WELCOME TO MY SITE</h1>
<p class="w3-xlarge w3-text-white">I am Zonghao Li (李宗澔), or just call me Chris </p>
<p class="w3-xlarge w3-text-white">Check out my band on Spotify! </p>
<p align="center"><iframe style="border-radius:12px" src="https://open.spotify.com/embed/artist/3B9orqUJOAa42fvR0TqtP5?utm_source=generator" width="30%" height="352" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
</header>
<!-- Background -->
<style>
html {
background: url(pics/svg_background.svg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
</style>
<!-- Top function -->
<head>
<style>
#myBtn {
display: none;
position: fixed;
bottom: 100px;
right: 30px;
z-index: 99;
border: none;
outline: none;
background-color: black;
color: white;
cursor: pointer;
padding: 15px;
border-radius: 10px;
}
#myBtn:hover {
background-color: grey;
}
</style>
</head>
<body>
<button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
<script>
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("myBtn").style.display = "block";
} else {
document.getElementById("myBtn").style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
</body>
<!-- Footer -->
<style>
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: black;
color: white;
text-align: center;
}
</style>
<div class="footer">
<a href="https://www.linkedin.com/in/chriszonghaoli" class="fa fa-linkedin" target="_blank"</a>
<a href="https://plus.google.com/u/0/+ZonghaoLi" class="fa fa-google" target="_blank"></a>
<a href="https://github.com/ChrisZonghaoLi" class="fa fa-github" target="_blank"></a>
</div>
<body>
<!-- Content will go here -->
</body>
</html>