From 621da7266f63a219250416c809b05aa8fd76f518 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Wed, 1 Jul 2020 11:30:20 -0400 Subject: [PATCH] use monospace font for short PGP key on homepage --- assets/sass/pages/_home.scss | 17 ++++++++++++++--- content/_index.md | 2 +- yarn.lock | 6 +++--- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/assets/sass/pages/_home.scss b/assets/sass/pages/_home.scss index cd85c3f1..78d9e890 100644 --- a/assets/sass/pages/_home.scss +++ b/assets/sass/pages/_home.scss @@ -30,12 +30,23 @@ main#home { } sup { - font-size: 0.6em; - letter-spacing: -0.005em; + letter-spacing: normal; line-height: 0; position: relative; top: -0.5em; - vertical-align: middle; + vertical-align: baseline; // required for same position in chrome vs. firefox + + &#key { + font-family: $webfont-mono; + font-size: 0.65em; + word-spacing: -0.3em; + margin-right: 0.1em; + + img.emoji { + vertical-align: -0.15em; // magic number to align with text :\ + padding: 0; + } + } } img#me { diff --git a/content/_index.md b/content/_index.md index b0182249..a1897779 100644 --- a/content/_index.md +++ b/content/_index.md @@ -35,4 +35,4 @@ Over the years, my side projects You can find some of my work on GitHub or LinkedIn, my adventures on Twitter, Facebook, Instagram, or Mastodon, and my old-school PDF resume here. -I'd love to hear from you via email 2B0C 9CF2 51E6 9A39, DM, or text! +I'd love to hear from you via email 🔐 2B0C 9CF2 51E6 9A39, DM, or text! diff --git a/yarn.lock b/yarn.lock index 031751bd..7755bca0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -636,9 +636,9 @@ camelcase@^6.0.0: integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w== caniuse-lite@^1.0.30001087, caniuse-lite@^1.0.30001088: - version "1.0.30001090" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001090.tgz#ff7766332f60e80fea4903f30d360622e5551850" - integrity sha512-QzPRKDCyp7RhjczTPZaqK3CjPA5Ht2UnXhZhCI4f7QiB5JK6KEuZBxIzyWnB3wO4hgAj4GMRxAhuiacfw0Psjg== + version "1.0.30001091" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001091.tgz#84908c67b98e02c2a56d4afa51e6458b53fb5321" + integrity sha512-ECd8gfBBpv0GKsEYY5052+8PBjExiugDoi3dfkJcxujh2mf7kiuDvb1o27GXlOOGopKiIPYEX8XDPYj7eo3E9w== caw@^2.0.0, caw@^2.0.1: version "2.0.1"