Skip to content

Commit c9e7520

Browse files
committed
Wei Wang's Research Website
1 parent f013972 commit c9e7520

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+72368
-2
lines changed

.DS_Store

6 KB
Binary file not shown.

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2013-2019 Blackrock Digital LLC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

-2
This file was deleted.

css/resume.css

+192
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
/*!
2+
* Start Bootstrap - Resume v5.0.7 (https://startbootstrap.com/template-overviews/resume)
3+
* Copyright 2013-2019 Start Bootstrap
4+
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-resume/blob/master/LICENSE)
5+
*/
6+
7+
body {
8+
font-family: 'Muli', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
9+
padding-top: 54px;
10+
color: #868e96;
11+
}
12+
13+
@media (min-width: 992px) {
14+
body {
15+
padding-top: 0;
16+
padding-left: 17rem;
17+
}
18+
}
19+
20+
h1,
21+
h2,
22+
h3,
23+
h4,
24+
h5,
25+
h6 {
26+
font-family: 'Saira Extra Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
27+
font-weight: 700;
28+
text-transform: uppercase;
29+
color: #343a40;
30+
}
31+
32+
h1 {
33+
font-size: 6rem;
34+
line-height: 5.5rem;
35+
}
36+
37+
h2 {
38+
font-size: 3.5rem;
39+
}
40+
41+
h3 {
42+
font-size: 2rem;
43+
}
44+
45+
p.lead {
46+
font-size: 1.15rem;
47+
font-weight: 400;
48+
}
49+
50+
.subheading {
51+
text-transform: uppercase;
52+
font-weight: 500;
53+
font-family: 'Saira Extra Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
54+
font-size: 1.5rem;
55+
}
56+
57+
.social-icons a {
58+
display: inline-block;
59+
height: 3.5rem;
60+
width: 3.5rem;
61+
background-color: #495057;
62+
color: #fff !important;
63+
border-radius: 100%;
64+
text-align: center;
65+
font-size: 1.5rem;
66+
line-height: 3.5rem;
67+
margin-right: 1rem;
68+
}
69+
70+
.social-icons a:last-child {
71+
margin-right: 0;
72+
}
73+
74+
.social-icons a:hover {
75+
background-color: #BD5D38;
76+
}
77+
78+
.dev-icons {
79+
font-size: 3rem;
80+
}
81+
82+
.dev-icons .list-inline-item i:hover {
83+
color: #BD5D38;
84+
}
85+
86+
#sideNav .navbar-nav .nav-item .nav-link {
87+
font-weight: 800;
88+
letter-spacing: 0.05rem;
89+
text-transform: uppercase;
90+
}
91+
92+
#sideNav .navbar-toggler:focus {
93+
outline-color: #d48a6e;
94+
}
95+
96+
@media (min-width: 992px) {
97+
#sideNav {
98+
text-align: center;
99+
position: fixed;
100+
top: 0;
101+
left: 0;
102+
display: -webkit-box;
103+
display: -ms-flexbox;
104+
display: flex;
105+
-webkit-box-orient: vertical;
106+
-webkit-box-direction: normal;
107+
-ms-flex-direction: column;
108+
flex-direction: column;
109+
width: 17rem;
110+
height: 100vh;
111+
}
112+
#sideNav .navbar-brand {
113+
display: -webkit-box;
114+
display: -ms-flexbox;
115+
display: flex;
116+
margin: auto auto 0;
117+
padding: 0.5rem;
118+
}
119+
#sideNav .navbar-brand .img-profile {
120+
max-width: 10rem;
121+
max-height: 10rem;
122+
border: 0.5rem solid rgba(255, 255, 255, 0.2);
123+
}
124+
#sideNav .navbar-collapse {
125+
display: -webkit-box;
126+
display: -ms-flexbox;
127+
display: flex;
128+
-webkit-box-align: start;
129+
-ms-flex-align: start;
130+
align-items: flex-start;
131+
-webkit-box-flex: 0;
132+
-ms-flex-positive: 0;
133+
flex-grow: 0;
134+
width: 100%;
135+
margin-bottom: auto;
136+
}
137+
#sideNav .navbar-collapse .navbar-nav {
138+
-webkit-box-orient: vertical;
139+
-webkit-box-direction: normal;
140+
-ms-flex-direction: column;
141+
flex-direction: column;
142+
width: 100%;
143+
}
144+
#sideNav .navbar-collapse .navbar-nav .nav-item {
145+
display: block;
146+
}
147+
#sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
148+
display: block;
149+
}
150+
}
151+
152+
section.resume-section {
153+
padding-top: 5rem !important;
154+
padding-bottom: 5rem !important;
155+
max-width: 75rem;
156+
}
157+
158+
section.resume-section .resume-item .resume-date {
159+
min-width: none;
160+
}
161+
162+
@media (min-width: 768px) {
163+
section.resume-section {
164+
min-height: 100vh;
165+
}
166+
section.resume-section .resume-item .resume-date {
167+
min-width: 18rem;
168+
}
169+
}
170+
171+
@media (min-width: 992px) {
172+
section.resume-section {
173+
padding-top: 3rem !important;
174+
padding-bottom: 3rem !important;
175+
}
176+
}
177+
178+
.bg-primary {
179+
background-color: #BD5D38 !important;
180+
}
181+
182+
.text-primary {
183+
color: #BD5D38 !important;
184+
}
185+
186+
a {
187+
color: #BD5D38;
188+
}
189+
190+
a:hover, a:focus, a:active {
191+
color: #824027;
192+
}

css/resume.min.css

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

+136
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
"use strict";
2+
3+
// Load plugins
4+
const autoprefixer = require("gulp-autoprefixer");
5+
const browsersync = require("browser-sync").create();
6+
const cleanCSS = require("gulp-clean-css");
7+
const del = require("del");
8+
const gulp = require("gulp");
9+
const header = require("gulp-header");
10+
const merge = require("merge-stream");
11+
const plumber = require("gulp-plumber");
12+
const rename = require("gulp-rename");
13+
const sass = require("gulp-sass");
14+
const uglify = require("gulp-uglify");
15+
16+
// Load package.json for banner
17+
const pkg = require('./package.json');
18+
19+
// Set the banner content
20+
const banner = ['/*!\n',
21+
' * Start Bootstrap - <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n',
22+
' * Copyright 2013-' + (new Date()).getFullYear(), ' <%= pkg.author %>\n',
23+
' * Licensed under <%= pkg.license %> (https://github.com/BlackrockDigital/<%= pkg.name %>/blob/master/LICENSE)\n',
24+
' */\n',
25+
'\n'
26+
].join('');
27+
28+
// BrowserSync
29+
function browserSync(done) {
30+
browsersync.init({
31+
server: {
32+
baseDir: "./"
33+
},
34+
port: 3000
35+
});
36+
done();
37+
}
38+
39+
// BrowserSync reload
40+
function browserSyncReload(done) {
41+
browsersync.reload();
42+
done();
43+
}
44+
45+
// Clean vendor
46+
function clean() {
47+
return del(["./vendor/"]);
48+
}
49+
50+
// Bring third party dependencies from node_modules into vendor directory
51+
function modules() {
52+
// Bootstrap
53+
var bootstrap = gulp.src('./node_modules/bootstrap/dist/**/*')
54+
.pipe(gulp.dest('./vendor/bootstrap'));
55+
// Font Awesome CSS
56+
var fontAwesomeCSS = gulp.src('./node_modules/@fortawesome/fontawesome-free/css/**/*')
57+
.pipe(gulp.dest('./vendor/fontawesome-free/css'));
58+
// Font Awesome Webfonts
59+
var fontAwesomeWebfonts = gulp.src('./node_modules/@fortawesome/fontawesome-free/webfonts/**/*')
60+
.pipe(gulp.dest('./vendor/fontawesome-free/webfonts'));
61+
// jQuery Easing
62+
var jqueryEasing = gulp.src('./node_modules/jquery.easing/*.js')
63+
.pipe(gulp.dest('./vendor/jquery-easing'));
64+
// jQuery
65+
var jquery = gulp.src([
66+
'./node_modules/jquery/dist/*',
67+
'!./node_modules/jquery/dist/core.js'
68+
])
69+
.pipe(gulp.dest('./vendor/jquery'));
70+
return merge(bootstrap, fontAwesomeCSS, fontAwesomeWebfonts, jquery, jqueryEasing);
71+
}
72+
73+
// CSS task
74+
function css() {
75+
return gulp
76+
.src("./scss/**/*.scss")
77+
.pipe(plumber())
78+
.pipe(sass({
79+
outputStyle: "expanded",
80+
includePaths: "./node_modules",
81+
}))
82+
.on("error", sass.logError)
83+
.pipe(autoprefixer({
84+
browsers: ['last 2 versions'],
85+
cascade: false
86+
}))
87+
.pipe(header(banner, {
88+
pkg: pkg
89+
}))
90+
.pipe(gulp.dest("./css"))
91+
.pipe(rename({
92+
suffix: ".min"
93+
}))
94+
.pipe(cleanCSS())
95+
.pipe(gulp.dest("./css"))
96+
.pipe(browsersync.stream());
97+
}
98+
99+
// JS task
100+
function js() {
101+
return gulp
102+
.src([
103+
'./js/*.js',
104+
'!./js/*.min.js'
105+
])
106+
.pipe(uglify())
107+
.pipe(header(banner, {
108+
pkg: pkg
109+
}))
110+
.pipe(rename({
111+
suffix: '.min'
112+
}))
113+
.pipe(gulp.dest('./js'))
114+
.pipe(browsersync.stream());
115+
}
116+
117+
// Watch files
118+
function watchFiles() {
119+
gulp.watch("./scss/**/*", css);
120+
gulp.watch(["./js/**/*", "!./js/**/*.min.js"], js);
121+
gulp.watch("./**/*.html", browserSyncReload);
122+
}
123+
124+
// Define complex tasks
125+
const vendor = gulp.series(clean, modules);
126+
const build = gulp.series(vendor, gulp.parallel(css, js));
127+
const watch = gulp.series(build, gulp.parallel(watchFiles, browserSync));
128+
129+
// Export tasks
130+
exports.css = css;
131+
exports.js = js;
132+
exports.clean = clean;
133+
exports.vendor = vendor;
134+
exports.build = build;
135+
exports.watch = watch;
136+
exports.default = build;

img/.DS_Store

6 KB
Binary file not shown.

img/profile.jpg

548 KB
Loading

0 commit comments

Comments
 (0)