feat: Update submenu link styles to remove underline and improve visual consistency
This commit is contained in:
@@ -548,23 +548,14 @@ p:last-child { margin-bottom: 0; }
|
|||||||
.site-nav.open .nav-menu a {
|
.site-nav.open .nav-menu a {
|
||||||
color: var(--color-heading);
|
color: var(--color-heading);
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
padding-bottom: 2px;
|
text-decoration: none;
|
||||||
border-bottom: none !important;
|
|
||||||
text-decoration: none !important;
|
|
||||||
outline: none !important;
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
}
|
||||||
.site-nav.open .nav-menu a::after,
|
.site-nav.open .nav-menu a::after {
|
||||||
.site-nav.open .nav-menu a:hover::after,
|
display: none;
|
||||||
.site-nav.open .nav-menu .current-menu-item > a::after {
|
|
||||||
display: none !important;
|
|
||||||
content: none !important;
|
|
||||||
}
|
}
|
||||||
.site-nav.open .nav-menu a:hover,
|
.site-nav.open .nav-menu a:hover,
|
||||||
.site-nav.open .nav-menu .current-menu-item > a {
|
.site-nav.open .nav-menu .current-menu-item > a {
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
text-decoration: none !important;
|
|
||||||
border-bottom: 2px solid var(--color-primary) !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Mobile sub-menu */
|
/* Mobile sub-menu */
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
"text": "var:preset|color|primary-dk"
|
"text": "var:preset|color|primary-dk"
|
||||||
},
|
},
|
||||||
"typography": {
|
"typography": {
|
||||||
"textDecoration": "underline"
|
"textDecoration": "none"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":focus": {
|
":focus": {
|
||||||
|
|||||||
Reference in New Issue
Block a user