Skip to content

Commit

Permalink
Highlight current page in green (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin authored Jul 31, 2024
1 parent 148a8d2 commit e5ad452
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,16 +215,23 @@ nav.navbar {
[data-theme='dark'] .menu__link {
color: #FFFFFF;
}
[data-theme='dark'] .menu__link:hover, [data-theme='dark'] .menu__link:active {
[data-theme='dark'] .menu__link:hover {
color: #38FF9C;
}
[data-theme='dark'] .menu__link--active[aria-current="page"] {
color: #38FF9C;
}

[data-theme='light'] .menu__link {
color: #171717;
}
[data-theme='light'] .menu__link:hover, [data-theme='light'] .menu__link:active {
[data-theme='light'] .menu__link:hover {
color: #171717;
}
[data-theme='light'] .menu__link--active[aria-current="page"] {
color: #2A9660;
}


/* breadcrumbs menu */
[data-theme='dark'] .breadcrumbs__item--active .breadcrumbs__link {
Expand Down

0 comments on commit e5ad452

Please sign in to comment.