bug fixed

This commit is contained in:
wolegca 2019-09-13 23:15:55 +08:00
parent 3ef158502b
commit f36b93d6bb

View File

@ -13,9 +13,9 @@ html {
}
body {
background: black url(bg.jpg) no-repeat center;
background: black url(bg.jpg) repeat-y center;
background-size: cover;
width: 200%;
width: 100%;
z-index: 0
}
@ -23,11 +23,6 @@ body {
display: none
}
#menu-control:checked~label.content-mask {
opacity: 1;
visibility: visible
}
#blog-title {
color: white;
white-space: nowrap;
@ -38,7 +33,7 @@ body {
font-size: 24px;
background-color: rgba(25, 25, 25, .9);
width: 100%;
z-index: 2;
z-index: 4;
cursor: default
}
@ -53,8 +48,8 @@ body {
padding-top: 50px;
transition: all .2s ease;
overflow: hidden;
background-color: rgba(0, 0, 0, 0.8);
z-index: 1;
background-color: rgba(0, 0, 0, 0.5);
z-index: 2;
box-shadow: 2px 0px 8px black
}
@ -107,7 +102,7 @@ body {
width: 50px;
height: 30px;
cursor: pointer !important;
z-index: 3;
z-index: 4;
}
[for=menu-control].menu-button-container:hover span {
@ -116,17 +111,22 @@ body {
[for=menu-control].content-mask {
display: block;
position: relative;
width: 50%;
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .5);
float: left;
z-index: 1;
transition: all .5s ease;
transition: all .2s ease;
opacity: 0;
visibility: hidden
}
#menu-control:checked~label.content-mask {
opacity: 1;
visibility: visible
}
.menu-button span {
width: 44px;
height: 3px;
@ -298,12 +298,6 @@ body {
}
}
@media screen and (max-width:480px) {
.msg-container {
max-width: 250px;
}
}
@media screen and (max-width:700px) {
body {
width: 100%
@ -338,4 +332,10 @@ body {
margin-right: auto
}
}
@media screen and (max-width:480px) {
.msg-container {
max-width: 250px;
}
}