Weeknotes 26:15
Posted 8 hours ago
Week of April 5–11
Once again, I worked on a lot of smaller tasks this week in my day job. One of the tasks I addressed was font declarations in our stylesheet. I believe someone in the past had set up Sass variables for the serif and sans-serif fonts but that somewhere along the line. Those were no longer being used and the fonts were being declared without the variables. This has caused an issue recently as we needed to use just one font family on our Farsi site. I took time this week to define the fonts as CSS custom properties and then refactor the CSS to use those custom properties instead of the entire font-family declaration. This made it very easy to define the custom properties for our Farsi site to use just the one font.
One year
I celebrated my first year work anniversary with Revive Our Hearts on April 9. I am so grateful to have this job especially in this very challenging job market. This role has been the right fit for me. I am glad to be back in Christian ministry and to use my technical skills and abilities to help Revive Our Hearts as they help women to experience freedom, fullness, and fruitfulness in Christ. I had hoped to write an article to celebrate the occasion but I have been very unmotivated to write recently (hence this weeknote being published on Wednesday). I might still try to make that happen in the next month.
Un-sassed my site
After many months thinking about it, I finally put in the work and un-sassed my site. I also created a new light and dark theme for the site. And at the last minute, I decided to keep the dark theme I had created a couple of years ago, now named “Classic.” I worked on refactoring my stylesheet the previous weekend and put in a little bit of work each day and was able to launch it on Wednesday (April 8). I really like the purple light theme. It was inspired by my oldest daughter (her favorite color and the color of her school) as well as rebeccapurple which has significance in the CSS community. I hope to write more about the project in the coming days.
The Layout Maestro
I have been able to take advantage of a slower pace at work to spend some time each day in The Layout Maestro course I bought a couple of weeks ago. I had a bit of an “aha” moment related to style container queries. I have struggled to understand the practical use of them, especially when you could easily just use a class. But Ahmad went through a specific use case and addressed my concern.
You might be thinking: why use style queries when we can add a class? The main benefit is that styles can respond to what is inside the layout. With
:has(), we can detect patterns like a top section that contains a single card and apply a featured style for that case.A class alone can’t do this unless we add it dynamically, which defeats the purpose of layout slots and style queries.
This is exactly the types of things that I was hoping to learn when I bought the course. I was intrigued by some of the clever ideas he shared in CSS Day last summer. I knew that he was just whetting our appetite through the talk and would expand upon it in the course. I highly recommend the course to anyone building CSS layouts. He has some very clever thoughts on creating conditional layouts with a combination of modern CSS techniques.
To the moon and back

I couldn’t help but be excited and get caught up in the wonder of the Artemis II mission to the Moon this past week. I was alive when humans last visited the moon but was too young to remember. I enjoyed watching the livestream on Monday as the astronauts approached the moon and began making observations. I was watching when they named one of the moon craters after the commander’s late wife. I also turned on the feed later in the day just as they were reestablishing contact with the crew after their silence on the far side of the moon. It is amazing how much of what I saw in the movie Apollo 13 made a lot of sense of what I was seeing in the live feeds or helped me understand milestones of their mission. I also watched the splashdown on Friday.
Articles I read
- Works & Wonders (April 5) (Tim Challies)
- A Whole Bunch of Good Songs Vol 2 (Jonathan Snook)
- Prepping for the endgame of the open web (Jay Hoffman, The History of the Web)
- The gap between being addressed as “young man” and “sir” has been uncomfortably narrow for me. (Geoff Graham)
- Hello, human.json? (Joe Crawford)
- An update on life and work (Brad Frost)
- I got tired of correcting machines, so I gave them five rules (Andy Clarke)
- More Easy Light-Dark Mode Switching: light-dark() is about to support images! (Bramus)
- Prototyping with LLMs (Jim Nielsen)
- The Two Problems Nobody Could Fix (Darryl Dash)
- Before I go: People like it when other people make things (Dave Rupert)
- Wednesday Updates (Joe Crawford)
- Studio Notes #79 (Dan Cederholm)
- Jimmy Carter was right (Jeffrey Zeldman)
- After a Dark Week, Americans Should Turn to Jimmy Carter’s Malaise Speech (Alan Elrod, Liberal Currents) – Article that Jeffrey quotes.
- Ramp just published the job description that tells you what product design looks like for the AI era. (Derek Bender on LinkedIn) – Derek thinks the new process will be better because designers will spend less time pushing pixels and more time thinking.
- The Accessibility Problem Isn’t Design. It’s Engineering. (Chris Gibbons) – I think this is the best article I read this week. Great thoughts.
- How I Lost MadCSS (Chris Coyier, Frontend Masters Blog)
- The Heavens Are Still Declaring—and Not Just to Astronauts (Joe Carter, The Gospel Coalition)
- The Last Quiet Thing (Terry Godier) – I love the art direction of this essay. Go read it in a browser.
- light-dark() isn’t always the same as prefers-color-scheme (Stefan Judis)
- Animated Dark Mode Transition with Modern CSS (Joe Shamir) – I added transitions to this site to make the color transitions smoother.
- Some Things I’m Not Planning to Replace When They Break or Expire (Geoff Graham)
- Presence in an Age of AI Reproduction (O. Alan Noble) – I enjoyed this perspective of what humans bring to their creations, whether it be art or writing.
- The Great CSS Expansion (Pavel Laptev) – Great introduction to modern CSS that replace Javascript solutions.
What I watched
Moon Joy, Courtesy of NASA’s Artemis II Astronauts (YouTube)
- NASA’s Artemis II Crew Flies Around the Moon (Official Broadcast) – I wanted to see this historic moment as humans returned to the moon.
- Artemis Splashdown (NBC)
- Rise of the Guardians (Prime) – I enjoyed this animated movie. We had not seen it before and our youngest suggested it on Sunday night.
- The West Wing (Netflix)
- Star Trek: First Contact (Paramount Plus) – I watched this week to celebrate First Contact Day.
Books I am reading
- Competing Spectacles: Treasuring Christ in the Media Age (Tony Reinke)
- Made to Tremble (Blair Linne)
- The Last Boy: Mickey Mantle and the End of America’s Childhood (Jane Leavy)
- Overcoming Sin and Temptation (John Owen, Kelly Kapic, and Justin Taylor)
Walking
- Sunday – 3.81 miles in 1 hour 11 minutes
What I played
MLB The Show 23 (Orioles) – I went 6-1 this week. I won the finals game of the series against the series against the BlueJays (won series 2-1), swept three games from the Yankees, and won a series against the Rangers (2-1).
Comment on this post