From 87f702bb3dea5b314474c3cc0211811b67f419fc Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Wed, 10 Jan 2024 22:03:23 -0500 Subject: [PATCH] Better image CSS --- content/elsewhere/gifts-for-your-nerd/index.md | 2 +- .../journal/dispatch-10-december-2023/index.md | 6 ++---- content/journal/dispatch-2-april-2023/index.md | 7 +++---- content/journal/dispatch-3-may-2023/index.md | 10 ++++------ content/journal/dispatch-4-june-2023/index.md | 11 +++++------ content/journal/dispatch-5-july-2023/index.md | 10 ++++------ .../journal/dispatch-6-august-2023/index.md | 6 ++---- .../journal/dispatch-7-september-2023/index.md | 18 ++++++------------ .../journal/dispatch-8-october-2023/index.md | 16 ++++++---------- .../journal/dispatch-9-november-2023/index.md | 6 ++---- .../notes/weekly-monthly-playbooks/index.md | 8 +++----- themes/v2/assets/css/style.scss | 5 +++-- themes/v2/layouts/shortcodes/thumbnail.html | 14 ++++++-------- 13 files changed, 47 insertions(+), 72 deletions(-) diff --git a/content/elsewhere/gifts-for-your-nerd/index.md b/content/elsewhere/gifts-for-your-nerd/index.md index bfd04c9..2ab1a80 100644 --- a/content/elsewhere/gifts-for-your-nerd/index.md +++ b/content/elsewhere/gifts-for-your-nerd/index.md @@ -38,7 +38,7 @@ rubber or plastic. Class it up with this handmade leather-and-wool case. Doubles as a slim wallet if your nerd is of the minimalist mindset, and here's a hint: we all are. - [*Ignore Everybody**](https://www.amazon.com/Ignore-Everybody-Other-Keys-Creativity/dp/159184259X) **by Hugh MacLeod ($16)** + [**Ignore Everybody**](https://www.amazon.com/Ignore-Everybody-Other-Keys-Creativity/dp/159184259X) **by Hugh MacLeod ($16)** Give your nerd the motivation to finish that web application he's been talking about for the last two years so you can retire. diff --git a/content/journal/dispatch-10-december-2023/index.md b/content/journal/dispatch-10-december-2023/index.md index bddd29c..0913d70 100644 --- a/content/journal/dispatch-10-december-2023/index.md +++ b/content/journal/dispatch-10-december-2023/index.md @@ -29,10 +29,8 @@ We spent the week of Thanksgiving with my sister near Albany, New York. Tough dr -
- {{}} - {{}} -
+{{}} +{{}} In what's now I guess an annual tradition, I ran a 10K the morning of Thanksgiving, this time the [Troy Turkey Trot][2]. I felt great, and I'm happy with my time ([results][3], [certificate][4]). Claire joked that after you run a marathon, a half-marathon becomes your favorite race distance. That's how I feel about 10Ks -- it's like the first half of a half-marathon, before it really starts to suck. diff --git a/content/journal/dispatch-2-april-2023/index.md b/content/journal/dispatch-2-april-2023/index.md index 0e300d4..7ecc10c 100644 --- a/content/journal/dispatch-2-april-2023/index.md +++ b/content/journal/dispatch-2-april-2023/index.md @@ -31,10 +31,9 @@ In April, I'm finishing training for (and then running) the [Tar Heel 10 Miler][ I didn't make much progress on the closet project this month (took some measurements and had some discussions with Claire), but I did manage to build this "learning tower" for Nev and started acquainting myself with Affinity Designer. -
- {{}} - {{}} -
+{{}} +{{}} + This month: diff --git a/content/journal/dispatch-3-may-2023/index.md b/content/journal/dispatch-3-may-2023/index.md index e6344d5..2ca799f 100644 --- a/content/journal/dispatch-3-may-2023/index.md +++ b/content/journal/dispatch-3-may-2023/index.md @@ -28,12 +28,10 @@ Another month in the books. Man, year's flying by. We filled it up though: went -
- {{}} - {{}} - {{}} - {{}} -
+{{}} +{{}} +{{}} +{{}} I ordered Claire an [e-bike][1] thinking it might arrive before her birthday mid-May, but it showed up just a few days later. It's been a blast taking Nevie to the museum and around town. We also ran the Tar Heel 10 Miler last weekend. Super fun, and I did better than I expected to based on my training ([result][2], [certificate][3]) -- there's something about an organized race that just gives that extra push I guess. diff --git a/content/journal/dispatch-4-june-2023/index.md b/content/journal/dispatch-4-june-2023/index.md index a6bd8bc..c788469 100644 --- a/content/journal/dispatch-4-june-2023/index.md +++ b/content/journal/dispatch-4-june-2023/index.md @@ -29,12 +29,11 @@ We spent Memorial Day weekend at Lake Norman, but it was like 55° and rainy the We finished off the closet project -- building the second unit was a lot quicker than the first, since I really just had to scale up the existing plans. Then it was a matter of adding the connecting rod and shelf. I think it turned out great, though I'd like to improve at building drawers. Here are some before and after shots (courtesy of Claire): -
- {{}} - {{}} - {{}} - {{}} -
+ +{{}} +{{}} +{{}} +{{}} Other life updates: we had a big work retreat at the beginning of the month at the [Tides Inn][1], which was incredible. I celebrated 15 years (15!) with the company, and received a [scooter][2] as a gift. This thing is rad -- I've been really happy with the e-bike, but it's nice to have a smaller option for quick trips to the office or corner store. diff --git a/content/journal/dispatch-5-july-2023/index.md b/content/journal/dispatch-5-july-2023/index.md index 07a05c1..12812cc 100644 --- a/content/journal/dispatch-5-july-2023/index.md +++ b/content/journal/dispatch-5-july-2023/index.md @@ -37,12 +37,10 @@ June was dominated by work and travel. Weekdays were filled up with a client pro -
- {{}} - {{}} - {{}} - {{}} -
+{{}} +{{}} +{{}} +{{}} It was a busy month, sometimes overly so, but having so many unique experiences had this odd effect of slowing and expanding time, which is the opposite of how things tend to go as you get older ([good short piece along the same lines][2]). Most everything else fell by the wayside, but that's OK -- these were all awesome experiences, and I'm excited for a (relatively) quiet July. diff --git a/content/journal/dispatch-6-august-2023/index.md b/content/journal/dispatch-6-august-2023/index.md index aaa2525..e6cac3b 100644 --- a/content/journal/dispatch-6-august-2023/index.md +++ b/content/journal/dispatch-6-august-2023/index.md @@ -27,10 +27,8 @@ Nice to have a quieter month, though we still managed to spend a weekend at Lake -
- {{}} - {{}} -
+{{}} +{{}} Tech-wise, I switched from Vim to [Helix][2], which I've detailed [over here][3]. I was also able to work through a whole bunch of the [Go track on Exercism][4] -- it's a good way to get a handle on the basics of a language, but doesn't cover using third-party packages, organizing large codebases, etc. To get that kind of experience, I'm going to try my hand at an app for fantasy sports drafts -- take a set of player projections and a scoring formula, and output a UI I can use during a live online draft. I've been doing this with spreadsheets for years, and it's pretty cumbersome. I'm going to use TOML for configuration, SQLite for data persistence, and [Bubble Tea][5] for the UI itself. We'll see how it goes! diff --git a/content/journal/dispatch-7-september-2023/index.md b/content/journal/dispatch-7-september-2023/index.md index 2eacec1..c06ae78 100644 --- a/content/journal/dispatch-7-september-2023/index.md +++ b/content/journal/dispatch-7-september-2023/index.md @@ -39,20 +39,16 @@ We were down at Lake Norman for the long weekend, and as I was pulling up the ka -
- {{}} - {{}} -
+{{}} +{{}} The following weekend, we headed up to Rehoboth Beach in Delaware to spend the week with my family. It's different than the North Carolina beaches we're used to as there's a lot to do around the town (boardwalk, parks & playgrounds, [indoor amusement park][1]). We brought our bikes and took a ride on the [Gordons Pond Trail][2], which was rad. [1]: https://funlandrehoboth.com/ [2]: https://delawaregreenways.org/trail/gordons-pond-trail/ -
- {{}} - {{}} -
+{{}} +{{}} We also recorded this little jam featuring my 3.5-year-old niece on the melodica: @@ -80,10 +76,8 @@ We got hit with a [nasty storm][9] in the middle of August. It was wild -- hot, I did a couple projects in Go this month: -
- {{}} - {{}} -
+{{}} +{{}} The first, the fantasy draft TUI app [I mentioned last month][10], came together well and quickly. It was straightforward to set up TOML for configuration, SQLite for data persistence, and [Bubble Tea][11] for the UI. Bubble Tea's super cool -- you pull in your widgets (two in my case, for a table view and a search box), and you can respond to keypresses or let the widgets handle them. As a result, my UI has Vim keybindings without me doing anything, which was super handy during the draft. diff --git a/content/journal/dispatch-8-october-2023/index.md b/content/journal/dispatch-8-october-2023/index.md index c139ad1..463c9b2 100644 --- a/content/journal/dispatch-8-october-2023/index.md +++ b/content/journal/dispatch-8-october-2023/index.md @@ -38,17 +38,13 @@ It wasn't all perfectly smooth -- Nev had a tough time with jet lag, and driving [3]: https://www.infoelba.com/discovering-elba/communes-towns/rio-marina/cavo/ [4]: https://ilpomodorino.it/ -
- {{}} - {{}} - {{}} -
+{{}} +{{}} +{{}} -
- {{}} - {{}} - {{}} -
+{{}} +{{}} +{{}} I downloaded the [Airalo][5] app before I left, which offers cheap international data plans using e-SIM cards. The app works great, no complaints there, but mixed feelings about having a working phone while on vacation -- it was cool to be able to send photos + make video calls, but my company's going through some tough times and I couldn't pull myself away from Slack and email. diff --git a/content/journal/dispatch-9-november-2023/index.md b/content/journal/dispatch-9-november-2023/index.md index 022023b..1db2bdc 100644 --- a/content/journal/dispatch-9-november-2023/index.md +++ b/content/journal/dispatch-9-november-2023/index.md @@ -40,10 +40,8 @@ It was nice to have a quieter month after so much travel this summer. We got a f -
- {{}} - {{}} -
+{{}} +{{}} ## Tech diff --git a/content/notes/weekly-monthly-playbooks/index.md b/content/notes/weekly-monthly-playbooks/index.md index 2c11cae..c17699b 100644 --- a/content/notes/weekly-monthly-playbooks/index.md +++ b/content/notes/weekly-monthly-playbooks/index.md @@ -27,8 +27,6 @@ _Building a Second Brain_ (p. 215) ## Notebook Templates -
- {{}} - {{}} - {{}} -
+{{}} +{{}} +{{}} diff --git a/themes/v2/assets/css/style.scss b/themes/v2/assets/css/style.scss index 4aed0de..ddd49cd 100644 --- a/themes/v2/assets/css/style.scss +++ b/themes/v2/assets/css/style.scss @@ -118,13 +118,14 @@ img { } } -.image-set { +p:has(img) { display: flex; gap: 1em; margin-block-start: 1em; margin-block-end: 1em; + align-items: center; - figure { + a { line-height: 0; } } diff --git a/themes/v2/layouts/shortcodes/thumbnail.html b/themes/v2/layouts/shortcodes/thumbnail.html index 82eb27f..841072f 100644 --- a/themes/v2/layouts/shortcodes/thumbnail.html +++ b/themes/v2/layouts/shortcodes/thumbnail.html @@ -8,12 +8,10 @@ {{ end }} -
- - {{ with .Inner }} -
- {{ . }} -
- {{ end }} -
+ + {{ with .Inner }} +
+ {{ . }} +
+ {{ end }}