From fdeef5a8fbfdd758138e32e699cc5fab9b96ec8b Mon Sep 17 00:00:00 2001 From: ausbernard <109692469+ausbernard@users.noreply.github.com> Date: Thu, 28 May 2026 00:05:14 -0700 Subject: [PATCH] dark mode --- about.html | 59 ++++++++++++- index.html | 78 +++++++++++++++--- writing/cicd-same-image.html | 68 ++++++++++++++- writing/htmx-production.html | 68 ++++++++++++++- writing/index.html | 82 +++++++++++++++++-- ...verengineering-operational-exhaustion.html | 68 ++++++++++++++- writing/partida-gap.html | 68 ++++++++++++++- writing/terraform-dishwasher.html | 68 ++++++++++++++- 8 files changed, 521 insertions(+), 38 deletions(-) diff --git a/about.html b/about.html index dd42922..a6dc92f 100644 --- a/about.html +++ b/about.html @@ -14,6 +14,24 @@ --ink-2: #3D4870; --muted: #C0BDB5; --red: #e40000; + --accent: #CAFF33; + } + [data-theme="dark"] { + --bg: #111318; + --ink: #E6E1D6; + --ink-2: #9EA3B8; + --muted: #6B7280; + --accent: #CAFF33; + } + + @media (prefers-color-scheme: dark) { + :root:not([data-theme="light"]) { + --bg: #111318; + --ink: #E6E1D6; + --ink-2: #9EA3B8; + --muted: #6B7280; + --accent: #CAFF33; + } } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } @@ -68,8 +86,7 @@ font-family: 'Questrial', sans-serif; font-size: 0.85rem; letter-spacing: 0.01em; - color: #1E2A5E; - background: #CAFF33; + background: var(--accent); text-decoration: none; padding: 0.45rem 1.1rem; border-radius: 999px; @@ -78,8 +95,11 @@ } .nav-contact:hover { opacity: 0.85; transform: scale(1.03); } + a.nav-contact { color: #1E2A5E; } .nav-linkedin { color: var(--ink); opacity: 0.5; display: flex; align-items: center; transition: opacity 0.15s; border: 1.5px solid currentColor; border-radius: 6px; padding: 2px 3px; } .nav-linkedin:hover { opacity: 1; } + .nav-theme-toggle { background: none; border: 1.5px solid var(--ink); border-radius: 6px; padding: 2px 3px; color: var(--ink); opacity: 0.5; cursor: pointer; display: flex; align-items: center; transition: opacity 0.15s; font-size: 0; line-height: 0; } + .nav-theme-toggle:hover { opacity: 1; } /* ─── BLOB HERO ─── */ .blob-section { @@ -187,6 +207,7 @@ .nav-links a { font-size: 0.8rem; } .nav-contact { font-size: 0.72rem; padding: 0.35rem 0.75rem; } .nav-linkedin svg { width: 16px; height: 16px; } + .nav-theme-toggle { display: none; } .blob-section { padding: 2rem 1.5rem 1.5rem; } .about-identity { padding: 2rem 1.5rem 0; } .about-data { padding: 0 1.5rem 2rem; } @@ -205,6 +226,11 @@ + Contact me @@ -261,5 +287,34 @@
Whether it's a SaaS integration or my own product, I don't live by "good enough." I want things done quickly, thoroughly, safely — and with some pizzaz. That's the standard I hold for everything I touch.
+ +