match mobile device

This commit is contained in:
wolegca 2019-09-12 15:58:47 +08:00
parent 1c7307d6fa
commit 91f35ba649

View File

@ -13,6 +13,7 @@ body {
z-index: 0 z-index: 0
} }
input#menu-control { input#menu-control {
display: none display: none
} }
@ -169,8 +170,17 @@ input#menu-control:checked~label.content-mask{
} }
@media screen and (max-width:700px) { @media screen and (max-width:700px) {
body {
width: 100%
}
input#menu-control:checked+div.menu-container { input#menu-control:checked+div.menu-container {
width: 50%; width: 100%;
}
input#menu-control:checked~label.content-mask {
opacity: 0;
visibility: hidden
} }
div.content-border { div.content-border {