some main menu progress, toggle more menu options
This commit is contained in:
@ -4,6 +4,10 @@
|
||||
align-items: flex-start;
|
||||
padding: var(--spacing-sitepadding);
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
@ -16,7 +20,11 @@
|
||||
}
|
||||
|
||||
.siteMenu {
|
||||
ul {
|
||||
display: flex;
|
||||
gap: var(--spacing-sitepadding);
|
||||
align-items: flex-start;
|
||||
|
||||
.mainMenu {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
gap: var(--spacing-sitepadding);
|
||||
@ -25,4 +33,88 @@
|
||||
a {
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
.toggleMenu {
|
||||
position: relative;
|
||||
z-index: 1001;
|
||||
background: none;
|
||||
margin-top: .2rem;
|
||||
}
|
||||
|
||||
.menuIcon {
|
||||
--stroke-width: 0.12rem;
|
||||
--icon-width: 1.75rem;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: var(--icon-width);
|
||||
height: var(--stroke-width);
|
||||
background: currentColor;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: var(--icon-width);
|
||||
height: var(--stroke-width);
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
&:before {
|
||||
top: -.5rem;
|
||||
}
|
||||
|
||||
&:after {
|
||||
bottom: -.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.fullMenu {
|
||||
position: fixed;
|
||||
right: -100%;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
z-index: 1000;
|
||||
width: 50%;
|
||||
|
||||
background: var(--color-chateauBlue);
|
||||
color: var(--color-betongGray);
|
||||
padding: var(--spacing-sitepadding);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
font-size: 1.4rem;
|
||||
|
||||
transition: all var(--transition-easing);
|
||||
}
|
||||
|
||||
.menuItemLarge {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.divider {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.search,
|
||||
.galtinn {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.siteMenu[data-show=true] {
|
||||
.mainMenu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fullMenu {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.menuIcon {
|
||||
color: var(--color-betongGray);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user