*{
    margin: 0;
    padding: 0;
}

body{
    margin: 0 auto;
}

#jsDaily{
    /*display: flex;*/
    /*justify-content: center;*/
    height: auto;
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}

#jsDaily .year {
    margin: 20px auto;
    width: inherit;
    height: auto;
    display: inline-block;
}

#jsDaily .year .yath {
    width: inherit;
    height: auto;
    display: block;
    cursor: pointer;
}

#jsDaily .year .month {
    height: 260px;
    width: 200px;
    margin: 20px 10px ;
    float: left;
    background-color: whitesmoke;
    border-radius: 4px;
}

#jsDaily .year .month.passed{
    color: rgba(0, 0, 0, 0.3);
}

#jsDaily .year .months {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap:wrap;
}
#jsDaily .year .benefit {
    background-color: antiquewhite;
}

#jsDaily .year .month .mth{
    text-align: center;
    font-style:italic;
}

#jsDaily .year .month .special:not(.passed) {
    color: rgba(255, 0, 0, 1);
    font-weight: bold;
}

#jsDaily .year .month .special.passed {
    color: rgba(255, 0, 0, 0.3);
}

#jsDaily .year .month .day{
    height: 28px;
    width: 28px;
    text-align: center;
    display: block;
    float: left;
    vertical-align: middle;
    font-size: 12px;
    position: relative;
}

#jsDaily .year .month .week{
    font-weight: bold;
}

#jsDaily .year .month .rest{
    /*background-color: grey;*/
    /*color: white;*/
}

#jsDaily .year .month .work:not(.passed){
    background-color: rgba(0, 128, 0, 0.8);
    color: white;
}
#jsDaily .year .month .work.passed{
    background-color: rgba(0, 128, 0, 0.3);
    color: white;
}

#jsDaily .year .month .passed:not(.special,.work){
    color: rgba(128, 128, 128, 0.3);
}

#jsDaily .year .month .today{
    background-color: orangered;
    color: white;
}

#jsDaily .year .month .signed:after{
    content: '√';
    font-size: 13px;
    color: orange;
    position: absolute;
    right: 0;
    bottom: 0;
}


/**
    兼容移动端样式 820px
 */
@media screen and (max-width: 820px){
    #jsDaily .year {
        margin: 4rem 1rem;
        width: inherit;
        display: block;
    }

    #jsDaily .year .month {
        height: 280px;
        width: 225px;
        border-radius: 2vh;
    }

    #jsDaily .year .month .mth{
        height: 3rem;
        line-height: 3rem;
    }

    #jsDaily .year .month .day{
        height: 32px;
        width: 32px;
        line-height: 32px;
    }
}

/**
    兼容移动端样式 540px
 */
@media screen and (max-width: 540px){
    #jsDaily .year {
        margin: 4rem 1rem;
    }

    #jsDaily .year .month {
        height: 69vh;
        width: inherit;
        border-radius: 2vh;
    }

    #jsDaily .year .month .mth{
        height: 3rem;
        line-height: 3rem;
    }

    #jsDaily .year .month .day{
        height: 4rem;
        width: 4rem;
        line-height: 4rem;
    }
}

/**
    兼容移动端样式 414px
 */
@media screen and (max-width: 414px){
    #jsDaily .year {
        margin: inherit;
        width: inherit;
        height: auto;
        font-size: 18px;
    }

    #jsDaily .year .yath {
        width: inherit;
        height: auto;
        cursor: pointer;
    }

    #jsDaily .year .month {
        height: 58vh;
        width: inherit;
        border-radius: 2vh;
    }

    #jsDaily .year .month .mth{
        height: 3rem;
        line-height: 3rem;
    }

    #jsDaily .year .month .day{
        height: 3.5rem;
        width: 3.5rem;
        line-height: 3.5rem;
    }
}

/**
    兼容移动端样式 390px
 */
@media screen and (max-width: 390px){
    #jsDaily .year {
        margin: 4rem 1rem;
        width: inherit;
        height: auto;
    }

    #jsDaily .year .month {
        height: 44vh;
        width: inherit;
        border-radius: 2vh;
    }

    #jsDaily .year .month .mth{
        height: 3rem;
        line-height: 3rem;
    }

    #jsDaily .year .month .day{
        height: 3rem;
        width: 3rem;
        line-height: 3rem;
    }
}

/**
    兼容移动端样式 375px
 */
@media screen and (max-width: 375px){
    #jsDaily .year {
        margin: 4rem 1rem;
        width: inherit;
    }

    #jsDaily .year .month {
        height: 53vh;
        width: inherit;
        border-radius: 2vh;
    }

    #jsDaily .year .month .mth{
        height: 3rem;
        line-height: 3rem;
    }

    #jsDaily .year .month .day{
        height: 2.8rem;
        width: 2.8rem;
        line-height: 2.8rem;
    }
}

/**
    兼容移动端样式 360px
 */
@media screen and (max-width: 360px){
    #jsDaily .year {
        margin: 4rem 1rem;
        width: inherit;
    }

    #jsDaily .year .month {
        height: 47vh;
        width: inherit;
        border-radius: 2vh;
    }

    #jsDaily .year .month .mth{
        height: 3rem;
        line-height: 3rem;
    }

    #jsDaily .year .month .day{
        height: 2.5rem;
        width: 2.5rem;
        line-height: 2.5rem;
    }
}

/**
    兼容移动端样式 280px
 */
@media screen and (max-width: 280px){
    #jsDaily .year {
        margin: 4rem 1rem;
        width: inherit;
        height: auto;
    }

    #jsDaily .year .month {
        height: 40vh;
        width: inherit;
        border-radius: 2vh;
    }

    #jsDaily .year .month .mth{
        height: 2rem;
        line-height: 2rem;
    }

    #jsDaily .year .month .day{
        height: 2rem;
        width: 2rem;
        line-height: 2rem;
    }
}






