Setup blog formatting, started on resume
This commit is contained in:
@@ -407,6 +407,31 @@ footer {// {{{
|
|||||||
margin-right: 2em;
|
margin-right: 2em;
|
||||||
} */// }}}
|
} */// }}}
|
||||||
|
|
||||||
|
#resume {
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: $base-orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: $base-yellow;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
&.project-date {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: converted up to here
|
// TODO: converted up to here
|
||||||
|
|
||||||
// hero {{{ //
|
// hero {{{ //
|
||||||
@@ -517,23 +542,43 @@ h1.site-title {// {{{
|
|||||||
|
|
||||||
// article.single {{{ //
|
// article.single {{{ //
|
||||||
|
|
||||||
article.single .meta {
|
article.single {
|
||||||
font-size: 0.9em;
|
.meta {
|
||||||
text-align: right;
|
font-size: 0.9em;
|
||||||
}
|
text-align: right;
|
||||||
|
margin-top: .5rem;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
|
||||||
article.single .meta .key {
|
.key {
|
||||||
color: #747369;
|
color: #747369;
|
||||||
}
|
}
|
||||||
|
|
||||||
article.single .meta .val, article.single .meta .val a {
|
.val {
|
||||||
color: #cc99cc;
|
color: #cc99cc;
|
||||||
}
|
|
||||||
|
a {
|
||||||
|
color: #cc99cc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.body {
|
||||||
|
padding-top: 1rem;
|
||||||
|
padding-bottom: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: $max-page-width) {
|
||||||
|
.meta {
|
||||||
|
padding-left: 2rem;
|
||||||
|
padding-right: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.body {
|
||||||
|
padding-top: .5rem;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: $max-page-width) {
|
|
||||||
article.single .meta {
|
|
||||||
padding-left: 2rem;
|
|
||||||
padding-right: 2rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -550,18 +595,6 @@ article.single h1.headline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
article.single section.body {
|
|
||||||
padding-top: 4rem;
|
|
||||||
padding-bottom: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: $max-page-width) {
|
|
||||||
article.single section.body {
|
|
||||||
padding-top: 2rem;
|
|
||||||
padding-bottom: 1rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Highlight Colors */
|
/* Highlight Colors */
|
||||||
|
|
||||||
article.single section.body h1 { color: #6699cc; }
|
article.single section.body h1 { color: #6699cc; }
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ params:
|
|||||||
|
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
- name: resume
|
# - name: resume
|
||||||
url: /resume
|
# url: /resume
|
||||||
weight: 5
|
# weight: 5
|
||||||
- name: posts/
|
- name: posts/
|
||||||
url: /posts
|
url: /posts
|
||||||
weight: 6
|
weight: 6
|
||||||
|
|||||||
@@ -3,7 +3,33 @@ title: Wallpaper Playlist for pywal
|
|||||||
date: 2019-02-16T11:42:33-05:00
|
date: 2019-02-16T11:42:33-05:00
|
||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
|
||||||
|
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
|
||||||
|
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
|
||||||
|
no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
|
||||||
|
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
|
||||||
|
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
|
||||||
|
no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
|
||||||
|
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
|
||||||
|
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
|
||||||
|
no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
|
||||||
|
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
|
||||||
|
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
|
||||||
|
no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
|
||||||
|
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
|
||||||
|
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
|
||||||
|
no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||||
|
|
||||||
{{< highlight sh >}}
|
{{< highlight sh >}}
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
shuffle_cache="shuffle.txt"
|
shuffle_cache="shuffle.txt"
|
||||||
@@ -18,6 +44,7 @@ function usage_msg() {
|
|||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# parse for regen_flag{{{
|
||||||
while getopts ":r" opt; do
|
while getopts ":r" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
r)
|
r)
|
||||||
@@ -31,6 +58,9 @@ while getopts ":r" opt; do
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
#}}}
|
||||||
|
|
||||||
|
# set dir {{{ #
|
||||||
|
|
||||||
shift $((OPTIND-1))
|
shift $((OPTIND-1))
|
||||||
# if no dir, use pwd
|
# if no dir, use pwd
|
||||||
@@ -43,12 +73,16 @@ else
|
|||||||
dir="$1"
|
dir="$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# }}} set dir #
|
||||||
|
|
||||||
# rebuild shuffle cache if regen_flag, doesn't exist or file empty
|
# rebuild shuffle cache if regen_flag, doesn't exist or file empty
|
||||||
if [[ "$regen_flag" -eq 1 ]] || [[ ! -f "$dir"/"$shuffle_cache" ]] || \
|
if [[ "$regen_flag" -eq 1 ]] || [[ ! -f "$dir"/"$shuffle_cache" ]] || \
|
||||||
[[ $(wc -l "$dir"/"$shuffle_cache" | awk '{print $1}') -eq 0 ]]; then
|
[[ "$(head -n 1 "$dir"/"$shuffle_cache")" = "" ]]; then
|
||||||
find "$dir"/* ! -name "$shuffle_cache" -type f | shuf > \
|
find "$dir"/* ! -name "$shuffle_cache" -type f | shuf > "$dir"/"$shuffle_cache"
|
||||||
"$dir"/"$shuffle_cache"
|
|
||||||
fi
|
fi
|
||||||
head -n 1 "$dir"/"$shuffle_cache"
|
head -n 1 "$dir"/"$shuffle_cache"
|
||||||
printf '%s\n\n' "$(sed '1d' "$dir"/"$shuffle_cache")" > "$dir"/"$shuffle_cache"
|
printf '%s\n\n' "$(sed '1d' "$dir"/"$shuffle_cache")" > "$dir"/"$shuffle_cache"
|
||||||
|
|
||||||
|
# vim: set tabstop=2 shiftwidth=2 expandtab:
|
||||||
|
|
||||||
{{< /highlight >}}
|
{{< /highlight >}}
|
||||||
|
|||||||
@@ -3,4 +3,27 @@ title: "Resume"
|
|||||||
date: 2019-02-11T07:50:51-05:00
|
date: 2019-02-11T07:50:51-05:00
|
||||||
draft: true
|
draft: true
|
||||||
---
|
---
|
||||||
Test
|
# Goal
|
||||||
|
To find a company and internship to fully dedicate myself to to push my limits,
|
||||||
|
gain valuable knowledge and experience and jumpstart my career with a solid
|
||||||
|
foundation.
|
||||||
|
|
||||||
|
{{% md-div projects %}}
|
||||||
|
|
||||||
|
# Projects
|
||||||
|
{{< project-header name="Spotify Visualizer" url="https://github.com/Kevin-Mok/spotify-lib-vis" date="Nov. 2018" >}}
|
||||||
|
- Web app
|
||||||
|
|
||||||
|
{{< project-header name="ParsaFood" url="https://github.com/Kevin-Mok/ParsaFood" date="Feb. 2018" >}}
|
||||||
|
- Android app that reads ingredients labels and detects any dietary
|
||||||
|
restrictions/allergies. Came up with the idea based on
|
||||||
|
[personal experience](https://github.com/Kevin\-Mok/ParsaFood\#motivation).
|
||||||
|
- Made during the 24-hour [Platterz Hackathon]
|
||||||
|
(https://www.eventbrite.com/e/platterz-hackathon-tickets-42682237722)
|
||||||
|
in a group with two other members. Came in 2nd place and won an
|
||||||
|
[Oculus Rift](https://www.amazon.ca/dp/B00VF0IXEY/ref=cm_sw_r_tw_dp_U_x_I7kBCbX50DAB2).
|
||||||
|
- Was in-charge of the front-end of the app and designed all the layouts/pages.
|
||||||
|
|
||||||
|
{{< project-header name="TrapBot" url="https://github.com/Kevin-Mok/TrapBot" date="Feb. 2018" >}}
|
||||||
|
|
||||||
|
{{% /md-div %}}
|
||||||
|
|||||||
6
ideas.md
6
ideas.md
@@ -1,5 +1,9 @@
|
|||||||
# Large
|
# Large
|
||||||
- resume
|
- resume
|
||||||
|
- upload screenshots for spv
|
||||||
|
- date on same line as project
|
||||||
|
- collapsible sections
|
||||||
|
- link to each section beside it
|
||||||
- fix title
|
- fix title
|
||||||
- printable version
|
- printable version
|
||||||
- JS to change CSS
|
- JS to change CSS
|
||||||
@@ -38,6 +42,8 @@
|
|||||||
- SEO
|
- SEO
|
||||||
- add/redirect aliases
|
- add/redirect aliases
|
||||||
- be more specific with robots.txt when have content
|
- be more specific with robots.txt when have content
|
||||||
|
- create different size images for SVG
|
||||||
|
- https://www.sitepoint.com/svg-good-for-website-performance/
|
||||||
|
|
||||||
Break> {{{
|
Break> {{{
|
||||||
> }}}
|
> }}}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{{ if not .Page.Date.IsZero }}
|
{{ if not .Page.Date.IsZero }}
|
||||||
<!-- <span class="key">published </span> -->
|
<!-- <span class="key">published </span> -->
|
||||||
<span class="val" id="content"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
|
<span class="val" id="content"><time id="publish-date" itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with .Params.categories }}
|
{{ with .Params.categories }}
|
||||||
|
|||||||
@@ -4,5 +4,12 @@
|
|||||||
|
|
||||||
{{ partial "base16-logo.html" . }}
|
{{ partial "base16-logo.html" . }}
|
||||||
|
|
||||||
|
<div id="resume">
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
3
layouts/shortcodes/md-div.html
Normal file
3
layouts/shortcodes/md-div.html
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<div id="{{ .Get 0 }}">
|
||||||
|
{{ .Inner }}
|
||||||
|
</div>
|
||||||
2
layouts/shortcodes/project-header.html
Normal file
2
layouts/shortcodes/project-header.html
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
<h2 class="project-title"><a href="{{ .Get "url" }}" target="_blank">{{ .Get "name" }}</a></h2>
|
||||||
|
<p class="project-date">{{ .Get "date" }}</p>
|
||||||
@@ -296,6 +296,21 @@ footer a {
|
|||||||
.homepage .tag {
|
.homepage .tag {
|
||||||
margin-right: 2em;
|
margin-right: 2em;
|
||||||
} */
|
} */
|
||||||
|
#resume a {
|
||||||
|
text-decoration: none; }
|
||||||
|
#resume a:hover {
|
||||||
|
text-decoration: underline; }
|
||||||
|
|
||||||
|
#resume h1 {
|
||||||
|
color: #f99157; }
|
||||||
|
|
||||||
|
#resume h2 {
|
||||||
|
color: #ffcc66;
|
||||||
|
display: inline; }
|
||||||
|
|
||||||
|
#resume p.project-date {
|
||||||
|
float: right; }
|
||||||
|
|
||||||
h1.site-title {
|
h1.site-title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
/* font-size: 3.5em; */
|
/* font-size: 3.5em; */
|
||||||
@@ -373,18 +388,27 @@ h1.site-title {
|
|||||||
|
|
||||||
article.single .meta {
|
article.single .meta {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
text-align: right; }
|
text-align: right;
|
||||||
|
margin-top: .5rem;
|
||||||
|
margin-bottom: .5rem; }
|
||||||
|
article.single .meta .key {
|
||||||
|
color: #747369; }
|
||||||
|
article.single .meta .val {
|
||||||
|
color: #cc99cc; }
|
||||||
|
article.single .meta .val a {
|
||||||
|
color: #cc99cc; }
|
||||||
|
|
||||||
article.single .meta .key {
|
article.single .body {
|
||||||
color: #747369; }
|
padding-top: 1rem;
|
||||||
|
padding-bottom: 3rem; }
|
||||||
article.single .meta .val, article.single .meta .val a {
|
|
||||||
color: #cc99cc; }
|
|
||||||
|
|
||||||
@media (max-width: 52em) {
|
@media (max-width: 52em) {
|
||||||
article.single .meta {
|
article.single .meta {
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
padding-right: 2rem; } }
|
padding-right: 2rem; }
|
||||||
|
article.single .body {
|
||||||
|
padding-top: .5rem;
|
||||||
|
padding-bottom: 1rem; } }
|
||||||
|
|
||||||
article.single h1.headline {
|
article.single h1.headline {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
@@ -396,15 +420,6 @@ article.single h1.headline {
|
|||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
padding-right: 2rem; } }
|
padding-right: 2rem; } }
|
||||||
|
|
||||||
article.single section.body {
|
|
||||||
padding-top: 4rem;
|
|
||||||
padding-bottom: 3rem; }
|
|
||||||
|
|
||||||
@media (max-width: 52em) {
|
|
||||||
article.single section.body {
|
|
||||||
padding-top: 2rem;
|
|
||||||
padding-bottom: 1rem; } }
|
|
||||||
|
|
||||||
/* Highlight Colors */
|
/* Highlight Colors */
|
||||||
article.single section.body h1 {
|
article.single section.body h1 {
|
||||||
color: #6699cc; }
|
color: #6699cc; }
|
||||||
|
|||||||
Reference in New Issue
Block a user