mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +01:00
add close button for menu
This commit is contained in:
parent
41f827f1d5
commit
705ff19890
@ -91,6 +91,18 @@ body:not(.dark) #sun {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#hamburger-input:checked ~ #hamburger-menu {
|
||||
background: none;
|
||||
}
|
||||
|
||||
#hamburger-input:checked ~ #hamburger-menu:after {
|
||||
content: "\00d7";
|
||||
position: absolute;
|
||||
font-size: 28px;
|
||||
line-height: 0;
|
||||
top: 28px;
|
||||
}
|
||||
|
||||
#hamburger-input:checked ~ .overlay {
|
||||
visibility: visible;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user