<rss version="2.0">
  <channel>
    <title>HTML &amp; CSS Notes on Toby Geeks Out! </title>
    <link>https://tobygeeksout.micro.blog/categories/html--css-notes/</link>
    <description></description>
    
    <language>en</language>
    
    <lastBuildDate>Sat, 18 Apr 2026 16:24:25 -0400</lastBuildDate>
    
    <item>
      <title>A Few Weeks in the Geek Cave: What I&#39;ve Been Building</title>
      <link>https://tobygeeksout.micro.blog/2026/04/18/a-few-weeks-in-the.html</link>
      <pubDate>Sat, 18 Apr 2026 16:24:25 -0400</pubDate>
      
      <guid>http://tobygeeksout.micro.blog/2026/04/18/a-few-weeks-in-the.html</guid>
      <description>&lt;p&gt;&lt;img src=&#34;https://cdn.uploads.micro.blog/95313/2026/tinkeringmicroblog-result.webp&#34; alt=&#34;A illustration of someone tinkering on a laptop at a desk&#34; style=&#34;width: 100%; border-radius: 6px; margin-bottom: 1.5rem;&#34;&gt;&lt;p&gt;The past few weeks have been less about writing posts and more about building the thing that holds them. If you&amp;rsquo;ve visited the blog recently and noticed things looking a little sharper, a little more intentional — that&amp;rsquo;s not your imagination. I&amp;rsquo;ve been deep in the code, and I want to tell you what that actually looked like.&lt;/p&gt;&lt;h2&gt;It Started With One Thing and Became Twenty&lt;/h2&gt;&lt;p&gt;That&amp;rsquo;s always how it goes, isn&amp;rsquo;t it? I went in wanting to clean up a small layout inconsistency, and three weeks later I had touched nearly every part of the theme. CSS sections, Hugo templates, JavaScript, mobile layouts — all of it got some attention. Not because anything was broken beyond fixing, but because once you start looking, you can&amp;rsquo;t stop seeing what could be better.&lt;/p&gt;&lt;p&gt;The biggest structural change was collapsing two redundant card components into one. The blog feed used to have a &lt;code&gt;micro-card&lt;/code&gt; for short posts and a &lt;code&gt;post-card&lt;/code&gt; for longer ones — two separate chunks of code doing almost the same job. I merged them into a single unified card with simple logic inside: if a post is over 800 characters, it shows a truncated summary with a &amp;ldquo;Keep reading&amp;rdquo; link. Under 800, it shows everything. Same visual design, half the code. That kind of cleanup feels good in a way that&amp;rsquo;s hard to explain to non-developers, but if you&amp;rsquo;ve ever reorganized a messy drawer and felt the satisfaction of it — it&amp;rsquo;s that.&lt;/p&gt;&lt;h2&gt;The TOC Fight&lt;/h2&gt;&lt;p&gt;One of the more satisfying fixes involved the Table of Contents sidebar on Long Read posts. It had been working, then stopped, and I couldn&amp;rsquo;t figure out why. The TOC is supposed to stay sticky as you scroll — following you down the page, highlighting each section as you reach it. It wasn&amp;rsquo;t doing that anymore.&lt;/p&gt;&lt;p&gt;After a lot of digging, I found the culprit: Grammarly. The browser extension was injecting &lt;code&gt;overflow: hidden&lt;/code&gt; onto the page body at runtime, which silently broke &lt;code&gt;position: sticky&lt;/code&gt; on the sidebar. One line of CSS fixed it — I forced the body to allow vertical scroll regardless of what extensions try to inject. Took a while to find, took a second to fix. That&amp;rsquo;s debugging in a nutshell.&lt;/p&gt;&lt;h2&gt;Mobile Got a Real Rethink&lt;/h2&gt;&lt;p&gt;I spent a good chunk of time thinking hard about the mobile experience. The blog was sitting at 56% on PageSpeed Insights, and I wanted to push that number up. Some of it was technical — moving the Splide.js carousel off the top of the page and down between the About Me blurb and Recent Geeksouts, converting images to WebP format, and making sure every image has proper alt text for accessibility. Some of it was design.&lt;/p&gt;&lt;p&gt;Honestly though, the performance score didn&amp;rsquo;t budge much. A lot of what&amp;rsquo;s dragging it down is baked into how Hugo builds on Micro.blog — stuff I simply don&amp;rsquo;t have control over. So I made peace with it. I loaded the blog on my phone — a newer, high-end device — and it runs beautifully. The tradeoff I&amp;rsquo;m aware of is that people on older, aging devices might have a different experience. That&amp;rsquo;s something I&amp;rsquo;ll keep an eye on.&lt;/p&gt;&lt;p&gt;The feed layout on mobile used to have the post date in a column on the left, with the post content on the right. It worked, but on a small screen it was eating up real estate. I dropped it and switched to a stacked editorial style — date above, content below — which gave the text more room to breathe. I also discovered that iPhone Safari and Android Chrome render fonts very differently, and had to add a specific CSS block just to tame the iPhone sizing without breaking how good it already looked on Android.&lt;/p&gt;&lt;p&gt;I tested across Brave, Safari, Orion, Comet, Arc, and Chrome — the browsers I use most often. Everything looks good on both mobile and desktop. The one exception is Comet and Arc on my Samsung Galaxy Z Fold 7 when unfolded — there&amp;rsquo;s a header nav issue and some unexpected white space on the right side that the other browsers don&amp;rsquo;t have. Still investigating why. The rest of the browsers handle it beautifully, so it&amp;rsquo;s a quirk worth chasing down rather than a crisis.&lt;/p&gt;&lt;h2&gt;Little Things That Add Up&lt;/h2&gt;&lt;p&gt;Beyond the big structural stuff, a lot of small things got fixed or refined:&lt;/p&gt;&lt;p&gt;The blockquote style got unified across every context on the site — feed, single post, static pages — so it always looks the same no matter where it appears. Warm terracotta background, deep rust border, Georgia italic. It&amp;rsquo;s a small detail but it matters.&lt;/p&gt;&lt;p&gt;The homepage search bar got taller and wider — more inviting, easier to tap on mobile. The subscribe section got a proper card layout. The footer on short posts now shows a permalink instead of a redundant date. The category pills lost the wavy underline that Micro.blog&amp;rsquo;s own CSS was injecting over my styles.&lt;/p&gt;&lt;p&gt;The Reading page got some love too. The bookshelf got a visual overhaul — compact cover cards with title and author, styled consistently with the rest of the site. I even added a fake wood shelf underneath the currently reading section, which sounds a little silly but looks fantastic. It&amp;rsquo;s a much nicer way to show what I&amp;rsquo;m currently reading than a plain list.&lt;/p&gt;&lt;p&gt;The Now page got a full redesign — a navy card for what I&amp;rsquo;m currently tinkering with, arrow-style lists for writing links, a bookshelf section for what I&amp;rsquo;m reading, and an auto-updating Long Reads block so I never have to update it manually again.&lt;/p&gt;&lt;p&gt;And &amp;ldquo;Recent Posts&amp;rdquo; became &lt;strong&gt;&amp;ldquo;Recent Geeksout.&amp;quot;&lt;/strong&gt; Because obviously.&lt;/p&gt;&lt;h2&gt;Rethinking the Homepage Order&lt;/h2&gt;&lt;p&gt;I also reorganized the homepage layout. It used to open with the featured post, then my About Me blurb, then the subscribe strip, then the recent feed. It made sense at the time, but it always felt like the featured post was grabbing attention before readers even knew what the blog was about.&lt;/p&gt;&lt;p&gt;So I flipped it. Now the homepage opens with the About Me section, followed by the subscribe strip, then the featured post, then the recent feed. It&amp;rsquo;s a small reorder but it changes the feel significantly — you get context first, then content. New visitors know who I am and what this place is before they dive into anything. It just makes more sense.&lt;/p&gt;&lt;h2&gt;What&amp;rsquo;s Next&lt;/h2&gt;&lt;p&gt;The theme is in a good place right now. There are always small things to revisit — there&amp;rsquo;s a Browse by Topic spacing issue that keeps evading me, and I want to keep watching how the &amp;ldquo;Keep reading&amp;rdquo; truncation performs across different post types. But the tinkering never really stops. I&amp;rsquo;ll keep poking at the HTML and CSS, making this a more enjoyable reading experience one small improvement at a time.&lt;/p&gt;&lt;p&gt;If you&amp;rsquo;ve landed on the homepage and have thoughts about how it looks or reads, I&amp;rsquo;d love to hear from you. Seriously — drop me a note. Feedback from actual readers means a lot.&lt;/p&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title></title>
      <link>https://tobygeeksout.micro.blog/2026/04/02/finally-upgraded-to-hugo-hit.html</link>
      <pubDate>Thu, 02 Apr 2026 20:52:15 -0400</pubDate>
      
      <guid>http://tobygeeksout.micro.blog/2026/04/02/finally-upgraded-to-hugo-hit.html</guid>
      <description>&lt;p&gt;Finally upgraded to Hugo 0.158! Hit a small snag with an outdated plugin using a removed function, but updating the plugin to the latest version cleared things right up. Theme is clean, builds are faster. Upgrade approved. ✅&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Theme in Progress</title>
      <link>https://tobygeeksout.micro.blog/2026/03/26/theme-in-progress.html</link>
      <pubDate>Thu, 26 Mar 2026 22:55:42 -0400</pubDate>
      
      <guid>http://tobygeeksout.micro.blog/2026/03/26/theme-in-progress.html</guid>
      <description>&lt;p&gt;Decided to build my own Micro.blog theme. A couple of days of tinkering in, still working through a few minor issues, but progress is being made. More tweaks coming soon.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://cdn.uploads.micro.blog/95313/2026/theme-change-result.webp&#34; alt=&#34;Auto-generated description: A blog webpage titled Toby Geeks Out! discusses the topic Can a Robot Love You Back? with recent posts and navigational menu options.&#34;&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Sunday Afternoon CSS Tinkering</title>
      <link>https://tobygeeksout.micro.blog/2026/02/15/sunday-afternoon-css-tinkering.html</link>
      <pubDate>Sun, 15 Feb 2026 18:03:00 -0400</pubDate>
      
      <guid>http://tobygeeksout.micro.blog/2026/02/15/sunday-afternoon-css-tinkering.html</guid>
      <description>&lt;p&gt;&lt;span class=&#34;dropcap&#34;&gt;S&lt;/span&gt;o I spent my Sunday doing what normal people probably don&amp;rsquo;t do—obsessing over blog spacing. You know how it is. You notice one little thing that&amp;rsquo;s bugging you, and next thing you know, three hours have disappeared, and you&amp;rsquo;re still messing around with CSS.&lt;/p&gt;
&lt;p&gt;It started with my blockquotes. I&amp;rsquo;ve got this dropcap thing going on for the first letter of posts, which I think looks pretty cool. But when a blockquote showed up right after that fancy first letter? Huge, awkward gap of white space. Just looked weird.&lt;/p&gt;
&lt;p&gt;So I tried adjusting the dropcap&amp;rsquo;s line-height first. Then I messed around with margins—positive, negative, whatever I could think of. Nothing worked until I finally stumbled on the magic combo: negative margins on the blockquote itself, plus zeroing out the padding. And boom, fixed.&lt;/p&gt;
&lt;p&gt;While I was in there anyway, I gave the blockquotes a little makeover. Switched the font to Georgia with italics. It&amp;rsquo;s got that slightly fancy, bookish vibe without being too much. Made the text bigger too so the quotes actually stand out.&lt;/p&gt;
&lt;p&gt;I also tweaked the previous/next post navigation at the bottom of the pages. Made those links bold, colored them with my accent color, and added underlines when you hover over them. Just a few little touches to make everything feel more polished.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s the funny part, though: I kept thinking the navigation font looked weird in Firefox compared to my other browser. Spent way too long trying to fix it with CSS. Turns out? Firefox&amp;rsquo;s font setting was on &amp;ldquo;Large&amp;rdquo; instead of &amp;ldquo;Medium.&amp;rdquo; &lt;em&gt;Facepalm moment.&lt;/em&gt; 🤦‍♂️🤷‍♂️&lt;/p&gt;
&lt;p&gt;But hey, that&amp;rsquo;s the fun of tinkering with your own site, right? You can spend a whole afternoon tweaking tiny details that probably only you&amp;rsquo;ll notice, and somehow it&amp;rsquo;s completely worth it.&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/95313/2026/f1439cb6-2a3a-4679-90d4-4c0607ca7de5.png&#34;&gt;
</description>
    </item>
    
    <item>
      <title>Wrestling with Micro.blog</title>
      <link>https://tobygeeksout.micro.blog/2026/02/13/wrestling-with-microblog.html</link>
      <pubDate>Fri, 13 Feb 2026 13:36:00 -0400</pubDate>
      
      <guid>http://tobygeeksout.micro.blog/2026/02/13/wrestling-with-microblog.html</guid>
      <description>&lt;p&gt;&lt;span class=&#34;dropcap&#34;&gt;I&lt;/span&gt;&amp;rsquo;ve been in a full-on wrestling match with my Micro.blog theme lately. Had this specific vision: truncated posts on the homepage with a &amp;ldquo;Continue Reading&amp;rdquo; link, a nice drop cap at the start of long-form posts, and images that didn&amp;rsquo;t feel like they were yelling over the text. Simple, right?&lt;/p&gt;
&lt;p&gt;Started with trying to add the &amp;ldquo;Continue Reading&amp;rdquo; link myself but it didn&amp;rsquo;t work. Was about to send a support ticket, then thought &amp;ldquo;nah, I want to figure this out.&amp;rdquo; Asked Perplexity for help instead, and honestly? Huge help figuring out what I&amp;rsquo;d done wrong.&lt;/p&gt;
&lt;p&gt;While I was at it, I asked Perplexity to help with other stuff too. Spotted a drop cap line in the CSS and thought &amp;ldquo;oh, I want that.&amp;rdquo; That turned into a whole thing. Spent HOURS trying to figure out what we kept doing wrong. Drop caps are a pain in the ass. Got them working on the homepage eventually, then tried adding them to the long-form summaries and everything broke. Finally just gave up on homepage drop caps.&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/95313/2026/blog.png&#34; width=&#34;600&#34; height=&#34;400&#34; alt=&#34;&#34;&gt;
&lt;p&gt;Now I&amp;rsquo;m focusing on single post pages — getting that first letter styled with a drop cap in my theme color, sitting under the title and hero image. Also resizing images on the homepage so they don&amp;rsquo;t swallow the text.&lt;/p&gt;
&lt;p&gt;Somewhere in all this, I realized how much I&amp;rsquo;ve missed this kind of tinkering. Used to mess with HTML and CSS all the time years ago, got rusty without noticing. Digging into Micro.blog&amp;rsquo;s custom themes, poking at selectors, breaking things and fixing them — it lit that old spark back up. Even figured out how to add anchor links within posts.&lt;/p&gt;
&lt;p&gt;Now I&amp;rsquo;m venturing into shortcodes with some plug-ins I installed. The annoying part? Not every shortcode works nicely across every theme, which sucks when you&amp;rsquo;re excited to experiment. I mentioned this to the Micro.blog Help team and they agreed and are working on it — which is pretty cool.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s been equal parts frustrating and fun. One moment I&amp;rsquo;m grumbling because a div won&amp;rsquo;t behave, the next I&amp;rsquo;m genuinely excited because I got a drop cap to sit exactly where I want it, in exactly the right color. Can&amp;rsquo;t wait to keep learning more tricks to customize my little corner of the web.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>