/* 全局 */
* {
    padding: 0;
    margin: 0;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: Microsoft-Yahei, Verdana;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
    background: #fff;
    /* overflow: hidden; */
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
}

::-moz-selection {
    color: #FFEB3B;
    background: #FF5722
}

::selection {
    color: #FFEB3B;
    background: #FF5722
}

/* home */
#home {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 页眉 */
#header {
    width: 100%;
    min-width: 800px;
    height: 46px;
    line-height: 46px;
    overflow: hidden;
    background: #222;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* 标题 */
#blogTitle {
    display: inline-block;
    width: 140px;
    text-align: left;
    vertical-align: middle;
}

#blogTitle .headermaintitle {
    color: #fff;
    font-size: 20px;
}

/* 导航 */
#navigator {
    width: 640px;
    display: inline-block;
    vertical-align: middle;
}

#navList>li {
    float: left;
    margin: 0 30px;
}

#navList>li>a {
    color: #fff;
    padding: 4px 10px;
}

#navList>li>a:hover {
    color: #FFEB3B;
    background: #FF9800;
}

/* 主体 */
#main {
    width: 100%;
    position: absolute;
    top: 46px;
    /*     bottom: 30px; */
    bottom: 0;
    background: #efefef;
}

#mainContent {
    height: 100%;
    margin: 0 auto;
    overflow-y: auto;
    overflow-x: hidden;
}

#mainContent .forFlow {
    width: 700px;
    background: #fff;
    margin: 0 auto;
    padding: 0 40px;
}

#mainContent .day {
    margin: 0 auto;
    padding: 40px 0;
}

#mainContent .dayTitle {
    float: right;
    display: inline-block;
}

#mainContent .dayTitle a {
    color: #ccc;
}

#mainContent .postTitle {
    display: inline-block;
}

#mainContent .postTitle a {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

#mainContent .postCon {
    margin: 10px auto;
    color: #898989;
}

#mainContent .c_b_p_desc {
    line-height: 2;
}

#mainContent .postDesc a {
    color: #F44336;
}

#mainContent .postCon .c_b_p_desc_readmore {
    color: #2196F3;
}

#nav_next_page a {
    color: #03A9F4;
}

/* 页尾 */
#footer {
    display: none;
    width: 100%;
    font-size: 12px;
    color: #999;
    background: #222;
    height: 30px;
    line-height: 30px;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
}

.cnblogs-markdown code,.cnblogs-post-body code {
    background: #2d2d2d !important;
}

.cnblogs-markdown .hljs, .cnblogs-post-body .hljs {
    color: #eaeaea;
    font-family: Verdana !important;
    font-size: 14px!important;
    line-height: 2!important;
    padding: 10px!important;
}

.hljs-keyword, .hljs-selector-tag, .hljs-built_in, .hljs-name, .hljs-tag {
    color: #e7c547;
}

.hljs-string, .hljs-title, .hljs-section, .hljs-attribute, .hljs-literal, .hljs-template-tag, .hljs-template-variable, .hljs-type, .hljs-addition {
    color: #d54e53;
}

.hljs-attr {
    color: #c397d8;
}