avoid tag usage in selectors
gitea-wip/publik-base-theme/pipeline/pr-main This commit looks good Details

This commit is contained in:
Corentin Sechet 2023-02-08 17:53:54 +01:00
parent 2129753867
commit 34768b217c
1 changed files with 11 additions and 8 deletions

View File

@ -27,22 +27,25 @@ div.gru-nav {
position: fixed;
}
}
> ul.menu {
.menu {
@media (min-width: $nav-mobile-limit + 1) {
margin-top: 3px;
border-bottom: solid 5px #D1D3D4;
}
> li > a {
&--link {
text-transform: uppercase;
font-size: 22px;
font-weight: normal;
}
}
ul.submenu > li {
border-top: solid 1px #fff;
.submenu {
&--item {
border-top: solid 1px #fff;
}
&--link:hover {
background: $ee-red-1;
}
}
}
ul.submenu li a:hover {
background: $ee-red-1;
}