Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 8 additions & 15 deletions src/components/pages/FoundationHeader.astro
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,14 @@ import ExternalIcon from "../../../public/img/icon-external.svg";
margin-inline-start: var(--space-2xs);
}

.menu-item--level-1 > .is-active,
.menu-item--level-2 > .is-active {
text-decoration: underline;
text-decoration-color: currentColor;
text-decoration-thickness: 2px;
text-underline-offset: 8px;
}

@media screen and (max-width: 479px) {
.site-links-wrapper {
width: 100%;
Expand Down Expand Up @@ -316,14 +324,6 @@ import ExternalIcon from "../../../public/img/icon-external.svg";
display: block;
}

.menu-item--level-1 > .is-active {
border-inline-start: 2px solid var(--color-header-accent);
}

.menu-item--level-2 > .is-active {
text-decoration: underline;
}

.switch-link:hover {
background-color: var(--color-header-accent);
}
Expand Down Expand Up @@ -454,13 +454,6 @@ import ExternalIcon from "../../../public/img/icon-external.svg";
display: none;
}

.menu-item--level-1 > .is-active,
.menu-item--level-2 > .is-active {
text-decoration: underline;
text-decoration-color: currentColor;
text-decoration-thickness: 2px;
text-underline-offset: 8px;
}
}
</style>

Expand Down
Loading