#menuBtn {
    width: 50px;
    height: 50px;
    transform: scale(0.8);
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 2000000;
    cursor: pointer;
    transition: 0.5s;
    position: fixed;
}
#menuBtn i {
    position: absolute;
    left: 0;
    right: 0;
    margin: 24px auto;
    width: 30px;
    height: 2px;
    background: #777;
}
#menuBtn i:before {
    content: '';
    width: 20px;
    height: 2px;
    top: -8px;
    background: #777;
    position: absolute;
    right: 0;
}
#menuBtn i:after {
    content: '';
    width: 20px;
    height: 2px;
    bottom: -8px;
    background: #777;
    position: absolute;
    left: 0;
}
#menuBtn.on {
    right: 380px;
    background: #29f;
    border-radius: 25px;
    box-shadow: 0 6px 8px rgba(36, 159, 253, .3);
}
#menuBtn.on i {
    width: 20px;
    background: #fff;
}
#menuBtn.on i:before {
    top: -5px;
    transform: rotate(45deg);
    width: 14px;
    right: -1px;
    left: auto;
    background: #fff;
}
#menuBtn.on i:after {
    bottom: -5px;
    transform: rotate(-45deg);
    width: 14px;
    right: -1px;
    left: auto;
    background: #fff;
}
.list {
    width: 360px;
    padding: 0 20px;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    position: absolute;
    right: 0px;
    z-index: 2000;
    background: #222d46;
    transition: 0.3s all linear;
    position: fixed;
}
.list.closed {
    right: -380px;
}
.list ul {
    width: 330px;
    float: left;
}
.list ul li {
    float: left;
    margin: 5px;
    width: 100px;
    height: 30px;
    text-align: left;
    line-height: 30px;
}
.list ul li a {
    width: 100%;
    border-radius: 5px;
    transition: 0.2s all linear;
    height: 100%;
    display: block;
    color: #fff;
    font-weight: 500;
    background: #293550;
    text-align: left;
    font-size: 12px;
}
.list ul li:hover a {
    color: #fff;
    background-color: #29f;
    background-image: linear-gradient(135deg, rgba(35, 153, 255) 0%, rgba(84, 175, 253) 100%);
    box-shadow: 0 3px 3px rgba(0, 40, 70, .3);
    text-decoration: none;
}
.list ul li.title {
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: left;
    text-indent: 10px;
    border-bottom: 1px dashed #dedede;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
.list ul li.title:not(:first-child) {
    margin: 30px 0 0;
}
svg.icon {
    width: 14px;
    height: 14px;
    margin: 8px 5px 0 8px;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}
.list ul li.title svg.icon {
    width: 20px;
    height: 20px;
}
@media (max-width: 640px) {
    .content {
        top: 0px;
    }
    #menuBtn.on {
        right: 270px;
    }
    .list {
        width: 260px;
    }
    .list ul {
        width: 220px;
    }
    .home, #menuBtn {
        top: 5px;
    }
}

/* 夜间模式 */
.night #menuBtn i {
    background: #CECBC8 !important;
}
.night #menuBtn i:before {
    background: #CECBC8 !important;
}
.night #menuBtn i:after {
    background: #CECBC8 !important;
}