* {
    margin: 0;
    padding: 0;
}
body {
    background: #ebeef1;
    overflow-y: scroll
}
ul {
    list-style-type: none;
}
a {
    text-decoration: none!important;
}
@font-face {
    font-family: z;
    src: url('../font/jmjc.ttf');
}
.underline {
    text-decoration: underline!important;
}

/* 头部 */
#head {
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #ccc;
    padding: 0 30px;
    background: #fff;
    box-sizing: border-box;
}
#head #logo_icon {
    width: 50px;
    height: 50px;
    background: url('../img/z.png') no-repeat 0% 30%;
    background-size: 45px 45px;
    float: left;
}
#head #logo_title {
    font-family: z;
    float: left;
    line-height: 50px;
    font-size: 30px;
    margin-left: 6px;
    /*
    background: linear-gradient(to top, #272727, #777, #ededed);  中间颜色是主色，第一和第三是渐变区间 
    -webkit-background-clip: text;
    color: transparent; */
    color: #7b848c;
}
#head #logo_title a {
    color: #7b848c;
}
#head ul {
    float: left;
    margin-left: 28px;
}
#head ul li {
    display: inline-block;
    line-height: 50px;
    padding: 0 15px;
}
#head ul li a {
    color: #333;
    font-size: 15px;
}
#head ul li a:hover {
    color: #38b7ea;
}

/* 中间容器 */
#container {
    padding: 25px 30px;
}

/* 分类 */
#category {
    border: 3.5px solid #c1cfdc;
    width: 23%;
    min-width: 350px;
    border-radius: 5px;
    padding-bottom: 14px;
    float: left;
}
#category .category_top {
    width: 100%;
    height: 30px;
    background: #7b848c;
    padding-top: 5px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box; 
}
#category .category_name {
    width: 115px;
    height: 25px;
    background: #eff1f4;
    border-radius: 3.5px 3.5px 0 0;
    color: #5f5f5f;
    font-size: 15px;
    line-height: 25px;
    text-align: center;
    float: left;
}
#category .category_switch {
    width: 32px;
    height: 25px;
    border-radius: 3.5px 3.5px 0 0;
    background: #eff1f4;
    float: right;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
}
#category .category_switch i {
    font-size: 20px;
    color: #38b7ea;
}
#category ul.category_folder_list { /* 目录级 */
    padding: 0px 20px;
    box-sizing: content-box;
}
#category ul.category_folder_list li {
    margin-top: 15px;
    line-height: 15px;
}
#category ul.category_folder_list li i {
    color: #333;
    font-size: 14px;
    margin-right: 3px;
    cursor: pointer;
}
#category ul.category_folder_list li ul {
    display: block;
}
#category .folder_title {
    color: #333;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
#category ul.category_list { /* 文章级 */

}
#category ul.category_list li {
    line-height: 15px;
    margin-left: 21px;
}
#category ul.category_list li a {
    color: #38b7ea;
    font-weight: normal;
    font-size: 13px;
}

/* 内容 */
#content {
    border: 3.5px solid #c1cfdc;
    border-radius: 5px;
    padding-bottom: 14px;
    width: 100%;
    float: right;
    background: #fff;
}
#content .content_top {
    width: 100%;
    height: 30px;
    background: #7b848c;
    padding-top: 5px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box; 
}
#content .content_top ul.tags {

}
#content .content_top ul.tags li {
    display: inline-block;
    margin-right: 10px;
}
#content .content_top ul.tags li i {
    color: #fff;
    font-size: 16px;
}
#content .content_top ul.tags li .text {
    color: #fff;
    font-size: 14px;
}
#content .content_top ul.tags li .text i {
    margin: 0 5px;
}
#content .content_top ul.tags li .text a {
    color: #fff;
}
#content .content_body {
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 5px;
    line-height: 20px;
}
#content .content_body a {
    color: #38b7ea;
}
#content .content_body ul li a {
    text-decoration: underline!important;
}
#content .content_body table a {
    color: #333;
    text-decoration: underline!important;
}
#content .content_body pre code {
    line-height: 20px;
}

/* 页尾 */
#footer {
    clear: both;
    padding-top: 20px;
    padding-bottom: 5px;
    text-align: center;
    color: #565a5f;
    line-height: 12px;
    font-size: 13px;
    font-style: italic;
}
#footer hr {
    background: #ddd;
    height: 1px;
}
#footer a {
    color: #565a5f;
    text-decoration: underline!important;
}

/* 媒体查询 */
@media (max-width: 1000px) {
    /* 头部 */
    #head {
        padding: 0;
    }
    #head #logo_icon {
        margin-left: 10px;
    }
    #head ul {
        width: 100%;
        height: 38px;
        margin: 0;
        border-bottom: 1px solid #ccc;
        white-space: nowrap;
        overflow: overlay; 
        overflow-y: hidden;
        overflow-x: auto;
        padding-left: 15px;
        box-sizing: border-box;
        background: #fff;
    }
    #head ul li {
        padding: 0;
        padding-right: 20px;
        line-height: 38px;
    }

    /* 内容 */
    #container {
        padding-top: 53px;
        padding-left: 12px;
        padding-right: 18px;
    }
    #content {
        width: 100%;
        float: left;
        margin-bottom: 15px;
    }
    #category {
        width: 100%;
        float: left;
    }
}