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) <noreply@anthropic.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user