Add code and style for 'hamburger' menu nav

Ref #114 #126
This commit is contained in:
benjamin melançon 2025-07-15 01:42:21 -04:00
parent a638bc8fcc
commit 234bc216c5
2 changed files with 27 additions and 0 deletions

View file

@ -62,3 +62,21 @@
.node--type-people.node--view-mode-teaser {
margin-bottom: 1rem;
}
// Main navigation, goes to code in page.html.twig
details .burger-icon {
transition: transform 0.1s;
display: block;
width: 1.5rem;
height: 1.5rem;
padding: .25rem;
cursor: pointer;
}
details[open] .burger-icon {
transform: rotate(90deg);
}
summary {
list-style-type: none;
}