mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21: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;
|
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 {
|
#hamburger-input:checked ~ .overlay {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user