fix bug & remove dynamic

This commit is contained in:
bkfox
2023-12-12 21:24:21 +01:00
parent 46a9008cda
commit 73d8ff32d5
11 changed files with 62 additions and 53 deletions

View File

@ -122,7 +122,10 @@
display: none;
}
.burger { display: none; }
.burger {
display: none;
background-color: var(--highlight-color);
}
.nav-item {
padding: v.$mp-3;
@ -144,7 +147,7 @@
display: inline-block;
}
&.active, &:hover {
&.active {
background-color: var(--highlight-color-2);
color: var(--highlight-color);
}
@ -188,15 +191,16 @@
}
&.secondary {
position: absolute;
width: 100%;
z-index: 100;
box-shadow: 0em 0.5em 0.5em rgba(0, 0, 0, 0.05);
background-color: var(--highlight-color-alpha);
//position: absolute;
//width: 100%;
//box-shadow: 0em 0.5em 0.5em rgba(0, 0, 0, 0.05);
justify-content: right;
display: none;
//display: none;
.nav-item:hover + &, &:hover {
.nav.primary:hover + &,
&:hover {
display: flex;
top: var(--nav-primary-height);
left: 0rem;
@ -211,9 +215,11 @@
// ---- breadcrumbs
.breadcrumbs {
text-align: right;
height: calc( v.$mp-3 * 2 + v.$text-size);
padding: v.$mp-3 0rem;
margin-bottom: v.$mp-2;
&:empty { display: none; }
a + a:before {
content: "/";
margin: 0 v.$mp-2;