/* 文章 https://segmentfault.com/a/1190000012956911#articleHeader0 */
body,ul,ol { margin: 0;padding: 0; }
body { font-family: "ubuntu-regular", sans-serif;font-size: 14px;background-color: #EEE; }

/*header*/
#header { width: 62.5%;margin: 0 auto;padding: 0; }
#header a { text-decoration: none;color: #530303; }
#header h1 a { color: black; }
#navList { overflow: hidden; }
#navList li { list-style: none;float: left;font-size: 16px; }
#topics .postTitle { font-size: 1.8em; }
.blogStats { display: none; }

/* 博客标题和副标题 */
#blogTitle { overflow: hidden;height: auto; }
#blogTitle h1 { width: 100%;font-size: 30px;font-weight: bold;line-height: 1.5em;margin-left: 1em;margin-top: 10px;width: 50%;float: left; }
#blogTitle h2 { font-weight: normal;font-size: 13px;color: #999;line-height: 1.5em;margin-top: 10px;margin-left: 30px;width: 50%;margin-left: 10em;float: left; }

/*博客导航栏 */
#navList { float: left; }
#navList li { border: none;font-size: 16px; }
.blogStats { display: none; }

/*main*/
#main { width: 62.5%;margin: 0 auto;margin-top: 20px; }
#mainContent { width: 72.5%;float: left;margin-left: 0; }
#mainContent .forFlow { margin-left: 0; }
#mainContent table { width: 100%;background: #BCBB; }
#mainContent table tr:nth-child(2n) { background-color: rgb(248, 248, 248); }
#sideBar { width: 25%;margin-left: 2.5%;float: right;box-sizing: border-box;padding: 0;background: #A7A8AD; }
#sideBar a{ text-decoration: none; }

/*复制代码*/
.cb_code_copy {
    float: right;
}
.cb_code_copy img{
    cursor: pointer;
}
pre{
    position: relative;
}
.dis_cont{
    position: absolute;
    right: 30px;
    top: 8px;
    font-family: "Courier New",sans-serif!important;
    font-size: 12px!important;
    line-height: 1.5!important;
}

/*头像*/
#blog_img{
    width: 100%;
    height: 200px;
    border-radius: 100px;
    background: url('https://images.cnblogs.com/cnblogs_com/jingbai/1359225/o_long.png');
    margin-top: -20px;
    margin-bottom: 20px;
}
#profile_block {
    margin: 0;
}
.newsItem, .catListComment, .catListEssay, .catListView, .catListFeedback,
#blog-calendar, #sidebar_postcategory, #sidebar_postcategory, #sidebar_postarchive, #sidebar_search {
    /*侧边栏每一模块添加圆角和阴影*/
    border-radius: 10px;
    box-shadow: 1px 2px 3px #A7A8AD;
    background-color: #fff;
}

#sideBarMain h3, .newsItem h3 {
    /*侧边栏每个模块的标题部分*/
    font-size: 1.2em;
    height: 50px;
    line-height: 50px;
    text-indent: 0.5em;
    background: url(https://www.cnblogs.com/skins/red_autumnal_leaves/images/titlebg.png) no-repeat left center #fff;
    padding: 0 0 0 50px;
    margin-bottom: 0;
    border: 1px solid #55895B;
    border-left-width: 5px;
    border-radius: 10px;
    border-right-width: 5px;
}

/*侧边栏列表样式*/
#sideBarMain ul {
    background-color: #fff;
    padding: 15px 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#sideBarMain li {
    line-height: 40px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

/*侧边栏公告*/
#blog-news > img {
    /*头像*/
    display: block;
    margin: auto;
    border-radius: 50%;
}

#profile_block {
    font-size: 15px;
    padding: 20px;
    line-height: 1.8;
}

#profile_block > a:link {
    color: #F60;
}

/*公告结束*/

/* 日历 */
#blog-calendar, #calendar {
    width: 100%;
}

#blog-calendar td {
    padding: 5px 3px;
    font-size: 14px;
}

#blog-calendar td a {
    font-weight: bold;
    color: #59a020;
}

#blog-calendar table a:hover {
    color: #59a020;
    text-decoration: underline;
    background: transparent;
}

#blog-calendar table u {
    text-decoration: none;
}

/*日历结束*/
/*侧边搜索框*/
.mySearch {
    padding-bottom: 10px;
}

.mySearch > div {
    padding-top: 10px
}

.mySearch #q {
    height: 40px;
    width: 150px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.mySearch #btnZzk {
    height: 42px;
    width: 90px;
    background: #fd6d0dd1;
    color: #fff;
    border-radius: 5px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.div_my_zzk {
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
}

/*搜索框结束*/

/*评论*/
/*评论列表*/
#blog-comments-placeholder {
    border-radius: 10px;
    background: #fff;
    padding: 30px 40px;
}
#comments_pager_top {
    clear: both; 
}
.feedback_area_title {
    background: url(//www.cnblogs.com/skins/red_autumnal_leaves/images/titlebg.png) no-repeat left center #fff;
    border: 1px solid #55895B;
    border-left-width: 5px;
    border-radius: 10px;
    border-right-width: 5px;
    padding: 15px 50px;
}
/* 提交评论按钮 */
#btn_comment_submit {
    border: solid 1px #fd6d0dd1 !important;
    width: 90px;
    height: 40px;
    color: #fff !important;
    background-color: #fd6d0dd1 !important;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
/*侧边评论*/
li.recent_comment_body {
    line-height: 30px;
}
/* 个性签名 */
#MySignature {
    box-shadow: 8px 1px 10px #989898;
    padding: 10px;
    text-shadow: 1px 1px 1px #FFF;
    font-size: 17px;
    border-left: solid 5px #55895B;
    background: #F3F3F3;
    border-radius: 10px 10px 50% 10px;
    line-height: 2.4;
    margin: 40px 0;
}

#MySignature a {
    text-decoration: none;
    color: #4183c4;
    font-weight: bold;
}

#MySignature a:hover {
    text-decoration: underline;
    color: #f60;
}

#MySignature span {
    color: #f60;
}
/* 关注收藏等几个按钮 */
#green_channel {
    padding: 10px;
    margin: 20px 0;
    font-size: 15px;
    width: 400px;
}

#green_channel a {
    border-radius: 3px;
    text-shadow: none;
    font-weight: normal;
    box-shadow: none;
}
.postBody a {
    color: #337ab7;
}
.postBody a:hover{
    color: #F60;
}
/* 禁用下划线 */
.postBody a:link, .postBody a:visited {
    text-decoration: none;
}

/* 上一篇下一篇 */
#post_next_prev {
    font-size: 14px;
    color: #535353;
}
/*底部隐藏作者，隐藏推荐和反对*/
/*#author_profile {
    display: none;
}

/*隐藏广告*/
#ad_t2, #cnblogs_c1, #under_post_news, #cnblogs_c2, #under_post_kb {
    display: none;
}

/*主体内容开始*/
blockquote {
    border-left: 5px solid #55895B;
    /*padding: 10px 20px;*/
    line-height: 0.8em;
    background: #d6dbdf8a;
    margin: 0.8em 0;
}
#cnblogs_post_body h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-size: 1.65em;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
#cnblogs_post_body h3 {
    line-height: 1.43;
    font-size: 1.4em;
}
#cnblogs_post_body h4 {
    font-size: 1.15em;
}
/*主体内容结束*/
/*目录*/
#category {
    width: 15%;
    /*margin-left: 2.5%;*/
    /*float: right;*/
    background: #fff;
    box-sizing: border-box;
    padding: 0;
    min-height: 200px;
    /*padding: 0px 0 0px 20px;*/
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
    position: fixed;
    display: none;
}
#category h3 {
    font-size: 1.2em;
    height: 50px;
    line-height: 50px;
    text-indent: 0.5em;
    background: url(//www.cnblogs.com/skins/red_autumnal_leaves/images/titlebg.png) no-repeat left center #fff;
    padding: 0 0 0 50px;
    margin-bottom: 0;
    border: 1px solid #55895B;
    border-left-width: 5px;
    border-radius: 10px;
    border-right-width: 5px;
    font-style: normal;
}
#catListContent {
    background-color: #fff;
    padding: 15px 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow:auto;
    max-height: 450px;
}
#catListContent::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    background-color: #F5F5F5;
    border-radius: 10px;
}
#catListContent::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.44, rgb(122,153,217)), color-stop(0.72, rgb(73,125,189)), color-stop(0.86, rgb(28,58,148)));
}
#catListContent::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

#catListContent ul { padding-left: 20px; }
#catListContent li { list-style: square; }
#catListContent li a { padding: 2px 0; }
#div_digg{ width: 250px;margin: 10px auto 0;float: unset; }
.buryit { float: left; }
.buryit1 { font-size: 16px;float: right;margin-left: 20px;width: 46px;height: 52px;text-align: center;cursor: pointer;margin-top: 2px;padding-top: 5px;background: #EEE;box-sizing: border-box;border-radius: 3px; }
.buryit2 { font-size: 16px;float: right;margin-left: 20px;width: 46px;height: 52px;text-align: center;cursor: pointer;margin-top: 2px;padding-top: 5px;background: #DED;box-sizing: border-box;border-radius: 3px; }

/*footer*/
#footer {
    width: 62.5%;
    margin: 0 auto;
}

@media (max-width:768px){
    #header{ width: 100%; }
    #main{ width: 100%; }
    #mainContent{ width: 100%; }
    #category { display: none; }
}