From b652c45375d04d1fc357cd88ef411822e9478609 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Thu, 3 Oct 2019 03:38:07 -0400 Subject: [PATCH] Social icons in footer, update resume overview --- assets/sass/main.scss | 30 +++++- content/resume/_index.md | 8 +- content/server/_index.md | 2 +- layouts/partials/base/footer.html | 34 ++++++- layouts/robots.txt | 3 - static/img/social/email.svg | 56 +++++++++++ static/img/social/gitea.svg | 160 ++++++++++++++++++++++++++++++ static/img/social/github.svg | 59 +++++++++++ static/img/social/linkedin.svg | 44 ++++++++ static/img/social/mastodon.svg | 1 + 10 files changed, 380 insertions(+), 17 deletions(-) create mode 100644 static/img/social/email.svg create mode 100644 static/img/social/gitea.svg create mode 100644 static/img/social/github.svg create mode 100644 static/img/social/linkedin.svg create mode 100644 static/img/social/mastodon.svg diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 631d0e8..d5deae4 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -47,6 +47,11 @@ $phone-width: 800px; padding-bottom: $n * 1rem; } +@mixin vert-margin-em($n) { + margin-top: $n * 1em; + margin-bottom: $n * 1em; +} + @mixin auto-center() { margin-left: auto; margin-right: auto; @@ -108,10 +113,6 @@ body { margin-right: auto; flex: 1; - .copyright { - @include a-color(#747369); - } - @media (max-width: $max-page-width) { width: 100%; } @@ -168,6 +169,26 @@ footer { @include vert-padding-rem(.1); } + $vertical-margin: .2em; + + #copyright { + position: relative; + top: 2px; + @include a-color(#747369); + } + + #social-icons { + position: relative; + padding-left: 3px; + + img { + height: 1.5em; + @include vert-margin-em(.2); + padding-left: .5em; + opacity: .6; + } + } + @media (max-width: $max-page-width) { margin-top: 0; margin-bottom: 0; @@ -708,6 +729,7 @@ article.single h1.headline { @media (max-width: $max-page-width) { article.single h1.headline { + font-size: 2em; padding-left: 2rem; padding-right: 2rem; } diff --git a/content/resume/_index.md b/content/resume/_index.md index 23995ca..4670160 100644 --- a/content/resume/_index.md +++ b/content/resume/_index.md @@ -5,10 +5,10 @@ draft: false --- {{% resume/section overview %}} -I am a 3rd year CS student and enthusiast of all things Linux -and FOSS. I am looking for an internship to fully dedicate myself to that -will test my abilities, provide the opportunity to gain valuable knowledge -and experience and jumpstart my career with a solid foundation. +3rd year CS student. Enthusiast of all things +Linux and FOSS. Seeking 16-month internship for my PEY +co-op program. Looking to gain industry-relevant experience in +full-stack web dev, DevOps or system administration. {{% /resume/section %}} diff --git a/content/server/_index.md b/content/server/_index.md index b7f13e3..e336737 100644 --- a/content/server/_index.md +++ b/content/server/_index.md @@ -5,7 +5,7 @@ draft: false layout: single js: ["server-table"] --- -Here is a list of apps that I am running a my [DigitalOcean +Here is a list of apps that I am running on my [DigitalOcean droplet][do-droplet]. Their [statuses] are updated every hour using a [Node.js script][update-script] and a [systemd service]/[timer]. diff --git a/layouts/partials/base/footer.html b/layouts/partials/base/footer.html index b7da593..5401f35 100644 --- a/layouts/partials/base/footer.html +++ b/layouts/partials/base/footer.html @@ -7,11 +7,35 @@ diff --git a/layouts/robots.txt b/layouts/robots.txt index 7275cbe..7d329b1 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -1,4 +1 @@ User-agent: * - -Allow: /$ -Disallow: / diff --git a/static/img/social/email.svg b/static/img/social/email.svg new file mode 100644 index 0000000..e952d61 --- /dev/null +++ b/static/img/social/email.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/img/social/gitea.svg b/static/img/social/gitea.svg new file mode 100644 index 0000000..ac1594a --- /dev/null +++ b/static/img/social/gitea.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/img/social/github.svg b/static/img/social/github.svg new file mode 100644 index 0000000..a2426a9 --- /dev/null +++ b/static/img/social/github.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/img/social/linkedin.svg b/static/img/social/linkedin.svg new file mode 100644 index 0000000..028be57 --- /dev/null +++ b/static/img/social/linkedin.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/img/social/mastodon.svg b/static/img/social/mastodon.svg new file mode 100644 index 0000000..4b72b3a --- /dev/null +++ b/static/img/social/mastodon.svg @@ -0,0 +1 @@ +