Skip to content

Commit

Permalink
Add "new badge" in header (#1512)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Wittek <kiview@users.noreply.github.com>
Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
  • Loading branch information
3 people committed Aug 21, 2023
1 parent 71d58d8 commit 589f926
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions docs/css/tc-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,20 @@ body.mobile-menu #site-header #mobile-menu-toggle {
white-space: nowrap;
}

#site-header .menu-item .badge {
color: white;
font-size: 10px;
padding: 2px 6px;
background-color: #0FD5C6;
text-align: center;
text-decoration: none;
display: inline-block;
border-radius: 6px;
&:hover {

}
}

#site-header .menu-item button:hover,
#site-header .menu-item a:hover {
color: var(--color-topaz);
Expand Down
2 changes: 1 addition & 1 deletion docs/theme/partials/tc-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"siteUrl": "https://testcontainers.com/",
"menuItems": [
{
"label": "Desktop",
"label": "Desktop <span class=\"badge rounded-pill\">NEW</span>",
"url": "https://testcontainers.com/desktop/"
},
{
Expand Down

0 comments on commit 589f926

Please sign in to comment.