From ccf385c1cfa2768f5748a8858f5564c1daf0ba76 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Sat, 4 Apr 2026 15:09:46 -0500 Subject: [PATCH] Fix container-nav links, blog card heights, and empty message container - .container-nav a now uses --mainmenu-nav-link-color so all links in the navigation area match the navbar color scheme. - Blog items use flex: 1 + height: 100% so cards in the same row are equal height. Read more button pinned to bottom via margin-top: auto. - #system-message-container:empty hides the Joomla message wrapper when no messages are present, removing empty whitespace. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/media/css/template.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/media/css/template.css b/src/media/css/template.css index 70184d9..15854bf 100644 --- a/src/media/css/template.css +++ b/src/media/css/template.css @@ -14283,6 +14283,16 @@ fieldset>* { color: var(--nav-text-color, gray); } +.container-header .container-nav a { + color: var(--mainmenu-nav-link-color, #fff); + text-decoration: none; +} + +.container-header .container-nav a:hover, +.container-header .container-nav a:focus { + color: var(--link-hover-color, #c3d6ff); +} + .container-header .container-nav { -ms-flex-wrap: wrap; flex-wrap: wrap; @@ -15143,6 +15153,11 @@ iframe { } } +/* Hide empty system message container */ +#system-message-container:empty { + display: none; +} + .blog-items { display: -webkit-box; display: -ms-flexbox; @@ -15186,10 +15201,24 @@ iframe { -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; + -webkit-box-flex: 1; + -ms-flex: 1 1 0%; + flex: 1 1 0%; + height: 100%; padding: 0 0.5em 1em; overflow: hidden; } +.blog-item .item-content { + display: flex; + flex-direction: column; + flex: 1; +} + +.blog-item .readmore { + margin-top: auto; +} + .boxed .blog-item { background-color: var(--bs-body-bg); }