From 383653685870cd8c9ef6ee38c8669b1249346c03 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Sun, 15 Feb 2026 17:13:57 +0100 Subject: [PATCH] bug-fixes --- static/css/main.css | 46 +++++++++++++++++++++++++++++++++++++++ templates/404.html | 4 ++-- templates/500.html | 4 ++-- templates/base.html | 26 +++++++++++++--------- templates/blog.html | 12 +++++----- templates/components.html | 14 ++++++------ templates/contact.html | 44 +++++++++++++++++++++++++------------ templates/ebooks.html | 4 ++-- templates/landing.html | 8 +++---- templates/page.html | 10 ++++----- templates/wiki.html | 6 ++--- 11 files changed, 123 insertions(+), 55 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index d528e86..094ca01 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -961,3 +961,49 @@ textarea:focus { color: var(--text-secondary); font-style: italic; } + +/* Icon styles for Lucide icons */ +.icon-inline { + display: inline-block; + width: 1em; + height: 1em; + vertical-align: middle; + margin-right: 0.25em; + flex-shrink: 0; +} + +/* Ensure icons align properly in flex containers */ +a, button, span, p, h1, h2, h3, h4, h5, h6, li { + display: inline-flex; + align-items: center; +} + +/* But preserve block display for certain elements */ +p, h1, h2, h3, h4, h5, h6 { + display: block; +} + +p.icon-inline, h1.icon-inline, h2.icon-inline, h3.icon-inline, h4.icon-inline, h5.icon-inline, h6.icon-inline { + display: inline-flex; +} + +/* Navigation links should be flex */ +.nav-menu a, .dropdown-menu a, .wiki-menu a { + display: inline-flex; + align-items: center; + gap: 0.5rem; +} + +/* Buttons should be flex */ +.btn, button { + display: inline-flex; + align-items: center; + gap: 0.5rem; +} + +/* Feed items */ +.feed-link, .feed-link-header { + display: inline-flex; + align-items: center; + gap: 0.5rem; +} diff --git a/templates/404.html b/templates/404.html index 1e599a3..2433678 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,8 +1,8 @@ {{define "content"}}
-

404

+

404

The page you're looking for doesn't exist.

- Go Home + Go Home
{{end}} diff --git a/templates/500.html b/templates/500.html index eee59c0..6685793 100644 --- a/templates/500.html +++ b/templates/500.html @@ -1,8 +1,8 @@ {{define "content"}}
-

500

+

500

Something went wrong on our end. Please try again later.

- Go Home + Go Home
{{end}} diff --git a/templates/base.html b/templates/base.html index a6e2c18..da8f756 100644 --- a/templates/base.html +++ b/templates/base.html @@ -26,6 +26,7 @@ + {{if .StructuredData}}{{end}} @@ -47,18 +48,18 @@ @@ -68,11 +69,11 @@ {{if and .WikiPages (or (eq .CanonicalURL (printf "%s/wiki" .SiteURL)) (hasPrefix .CanonicalURL (printf "%s/wiki/" .SiteURL)))}}