diff --git a/assets/scss/_fonts.scss b/assets/scss/_fonts.scss index 05a4475a..c52d5da6 100644 --- a/assets/scss/_fonts.scss +++ b/assets/scss/_fonts.scss @@ -1,54 +1,3 @@ -@font-face { - font-family: 'Inter'; - font-style: normal; - font-display: auto; - font-weight: 400; - src: url("../fonts/Inter-Regular.woff2") format("woff2"), - url("../fonts/Inter-Regular.woff") format("woff"); -} -@font-face { - font-family: 'Inter'; - font-style: italic; - font-display: auto; - font-weight: 400; - src: url("../fonts/Inter-Italic.woff2") format("woff2"), - url("../fonts/Inter-Italic.woff") format("woff"); -} - -@font-face { - font-family: 'Inter'; - font-style: normal; - font-display: auto; - font-weight: 600; - src: url("../fonts/Inter-Medium.woff2") format("woff2"), - url("../fonts/Inter-Medium.woff") format("woff"); -} -@font-face { - font-family: 'Inter'; - font-style: italic; - font-display: auto; - font-weight: 600; - src: url("../fonts/Inter-MediumItalic.woff2") format("woff2"), - url("../fonts/Inter-MediumItalic.woff") format("woff"); -} - -@font-face { - font-family: 'Inter'; - font-style: normal; - font-display: auto; - font-weight: 800; - src: url("../fonts/Inter-Bold.woff2") format("woff2"), - url("../fonts/Inter-Bold.woff") format("woff"); -} -@font-face { - font-family: 'Inter'; - font-style: italic; - font-display: auto; - font-weight: 800; - src: url("../fonts/Inter-BoldItalic.woff2") format("woff2"), - url("../fonts/Inter-BoldItalic.woff") format("woff"); -} - @font-face { font-family: 'Caspian'; font-style: normal; diff --git a/assets/scss/_main.scss b/assets/scss/_main.scss index 9d8cf7dd..aa0f5ea0 100644 --- a/assets/scss/_main.scss +++ b/assets/scss/_main.scss @@ -28,7 +28,7 @@ html { body { margin: 0; padding: 0; - font-family: Inter, -apple-system, BlinkMacSystemFont, "Roboto", + font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif; font-display: auto; font-size: 1rem; diff --git a/assets/scss/_single.scss b/assets/scss/_single.scss index 5a1d8bee..cf9216e9 100644 --- a/assets/scss/_single.scss +++ b/assets/scss/_single.scss @@ -259,13 +259,19 @@ .book, .film { max-width: 180px; - float: right; - text-align: right; - margin: 0 0 16px 16px; // A hack to prevent spoilers from going over the link position: relative; z-index: 10; + float: left; + text-align: left; + margin: 0 16px 16px 0; + &:nth-of-type(2n) { + float: right; + text-align: right; + margin: 0 0 16px 16px; + } + img { width: 100%; height: auto; @@ -408,4 +414,8 @@ details.spoiler { font-style: italic; } } +} + +figure:not(.book) { + clear: both; } \ No newline at end of file diff --git a/content/now/engaged.jpg b/content/now/engaged.jpg deleted file mode 100644 index d58d9396..00000000 Binary files a/content/now/engaged.jpg and /dev/null differ diff --git a/content/now/engaged.webp b/content/now/engaged.webp new file mode 100644 index 00000000..906d0922 Binary files /dev/null and b/content/now/engaged.webp differ diff --git a/content/now/index.md b/content/now/index.md index da8be179..f2ddba75 100644 --- a/content/now/index.md +++ b/content/now/index.md @@ -18,7 +18,7 @@ sitemap: {{< emoji "๐Ÿ’" >}}The biggest news from that trip was [Yvette proposing to me](https://adventure.awaits.us/a-patagonian-love-story/) at the top of the Torres del Paine mountains โ€” I'm so excited to be marrying her, even if the wedding planning is triply complex because of our mixed nationalities! -{{< figure src="engaged.jpg" alt="A photo of Yvette and I grinning at the camera, with the engagement compass Yvette just gave JP" >}} +{{< figure src="engaged.webp" alt="A photo of Yvette and I grinning at the camera, with the engagement compass Yvette just gave JP" >}} {{< emoji "๐Ÿ˜ข" >}}The second biggest news from that trip was my Mum discovering she has a terminal cancer. I'm struggling with this a fair amount at the moment, but I have a superlative support network, and Deliveroo embracing my choice to move to a 4-day work week to spend more time with her has been wonderful. I'm (clearly) being quite open about this, but I'd appreciate your efforts in finding quieter times if you'd like to talk to me about this; I hope it's easy to understand how this topic can emotionally blind-side me! @@ -28,10 +28,12 @@ sitemap: {{< emoji "๐ŸŽฎ" >}}I'm _really_ enjoying slowly playing through [Viewfinder](https://thunderfulgames.com/games/viewfinder/) โ€” it reminds ne a lot of Portal โ€” wonderful puzzles, engaging story, lots of "ah ha!" moments. Definitely worth a play! -{{< openlibrary "9781929752300" >}} - {{< emoji "๐Ÿ“–" >}}I'm only a few pages into [Cheap Complex Devices](https://openlibrary.org/books/OL8797982M/Cheap_Complex_Devices) and already loving it. Even the foreword has me thinking meta: should I trust the editor of the book when he says "skip the rest of the foreword", given that the editor is a character?? It's definitely not a book for sleepy bedtime reading! -{{< emoji "๐ŸŽง" >}}I've given up on the audiobook version of [The Dark Forest](https://openlibrary.org/books/OL39524585M/Dark_Forest) by Cixin Liu, it was too challenging for me to follow with the bitty audiobook listenings that, sometimes, are all I have. Perhaps I'll try this series again one day, people speak highly of the later books particularly. Instead I've started on the second (audio)book in Arthur C. Clarke's _Time Oddesey_ series: [Sunstorm](https://openlibrary.org/books/OL3311262M/Sunstorm). I'm enjoying it so far; the carefully researched physics conundrum that looks like it'll be the setting for the book is engaging and intriguing! +{{< openlibrary "9781039425910" >}} -{{< figure src="sunset.jpg" title="Summer this year may not be hot or sunny, but we've had some amazing sunsets." alt="A golden sunset over North London">}} +{{< emoji "๐ŸŽง" >}}A few days ago I pulled out [Kitty Cat Kill Sat](https://openlibrary.org/books/OL49368138M/Kitty._Cat_Kill_Sat) on Audible as something relaxing to listen to with house chores and travel โ€” what a win! It's fun, playful, _gripping_ and lighthearted without being frivolous. I'm absolutely steaming through it! + +{{< emoji "๐Ÿ’ญ" >}}It's strange, I seem to be spending a lot more time listening to books than reading them at the moment. I can't tell if I like this or not; I think I'm often doing something else at the same time while I'm listening, which is a shame, as I've always enjoyed the cordoned-off time that reading a book gives you (and your head!) I have a lot of train travel over this weekend, perhaps I'll take my book but not my headphonesโ€ฆ + +{{< figure src="pedalo.webp" title="A sunny day pedalo-ing around the lake in Victoria Park" alt="A photo looking across a lake on a bright blue-sky day. There's a large water fountain in the middle, with the wind pulling the spray across the photo, creating a small rainbow." >}} diff --git a/content/now/pedalo.webp b/content/now/pedalo.webp new file mode 100644 index 00000000..9efdba1a Binary files /dev/null and b/content/now/pedalo.webp differ diff --git a/content/now/sunset.jpg b/content/now/sunset.jpg deleted file mode 100644 index de2446c7..00000000 Binary files a/content/now/sunset.jpg and /dev/null differ diff --git a/layouts/index.html b/layouts/index.html index 1e396020..6b955a7d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,10 +5,6 @@ {{ define "main" }}
- {{ if .Site.Params.Portrait.Path }} - {{ .Site.Params.Portrait.Alt }} - {{ end }} -

{{ .Site.Title }}

{{ partial "subtitle.html" . }} diff --git a/layouts/partials/about-me.html b/layouts/partials/about-me.html index e857b27a..3f00d039 100644 --- a/layouts/partials/about-me.html +++ b/layouts/partials/about-me.html @@ -1,6 +1,6 @@
- A photo of me smiling, with short brown hair, a beard and glasses. + A photo of me smiling, with short brown hair, a beard and glasses. Hello! I'm JP Hastings-Spital, a maker, software engineer, swing dancer, and all-round miriscient chap living in London, UK. I'm principal engineer at Deliveroo.
diff --git a/static/fonts/Inter-Bold.woff b/static/fonts/Inter-Bold.woff deleted file mode 100644 index eaf3d4bf..00000000 Binary files a/static/fonts/Inter-Bold.woff and /dev/null differ diff --git a/static/fonts/Inter-Bold.woff2 b/static/fonts/Inter-Bold.woff2 deleted file mode 100644 index 2846f29c..00000000 Binary files a/static/fonts/Inter-Bold.woff2 and /dev/null differ diff --git a/static/fonts/Inter-BoldItalic.woff b/static/fonts/Inter-BoldItalic.woff deleted file mode 100644 index 32750761..00000000 Binary files a/static/fonts/Inter-BoldItalic.woff and /dev/null differ diff --git a/static/fonts/Inter-BoldItalic.woff2 b/static/fonts/Inter-BoldItalic.woff2 deleted file mode 100644 index 0b1fe8e1..00000000 Binary files a/static/fonts/Inter-BoldItalic.woff2 and /dev/null differ diff --git a/static/fonts/Inter-Italic.woff b/static/fonts/Inter-Italic.woff deleted file mode 100644 index a806b382..00000000 Binary files a/static/fonts/Inter-Italic.woff and /dev/null differ diff --git a/static/fonts/Inter-Italic.woff2 b/static/fonts/Inter-Italic.woff2 deleted file mode 100644 index a619fc54..00000000 Binary files a/static/fonts/Inter-Italic.woff2 and /dev/null differ diff --git a/static/fonts/Inter-Medium.woff b/static/fonts/Inter-Medium.woff deleted file mode 100644 index d546843f..00000000 Binary files a/static/fonts/Inter-Medium.woff and /dev/null differ diff --git a/static/fonts/Inter-Medium.woff2 b/static/fonts/Inter-Medium.woff2 deleted file mode 100644 index f92498a2..00000000 Binary files a/static/fonts/Inter-Medium.woff2 and /dev/null differ diff --git a/static/fonts/Inter-MediumItalic.woff b/static/fonts/Inter-MediumItalic.woff deleted file mode 100644 index 459a6568..00000000 Binary files a/static/fonts/Inter-MediumItalic.woff and /dev/null differ diff --git a/static/fonts/Inter-MediumItalic.woff2 b/static/fonts/Inter-MediumItalic.woff2 deleted file mode 100644 index 0e3019f4..00000000 Binary files a/static/fonts/Inter-MediumItalic.woff2 and /dev/null differ diff --git a/static/fonts/Inter-Regular.woff b/static/fonts/Inter-Regular.woff deleted file mode 100644 index 62d3a618..00000000 Binary files a/static/fonts/Inter-Regular.woff and /dev/null differ diff --git a/static/fonts/Inter-Regular.woff2 b/static/fonts/Inter-Regular.woff2 deleted file mode 100644 index 6c2b6893..00000000 Binary files a/static/fonts/Inter-Regular.woff2 and /dev/null differ