/*生成博客目录的CSS*/
#uprightsideBar{
    font-size:12px;
    font-family:Arial, Helvetica, sans-serif;
    text-align:left;
    position:fixed;/*将div的位置固定到距离top:50px，right:0px的位置，这样div就会处在最右边的位置，距离顶部50px*/
    top:178px;
    right:0px;
    width: auto;
    height: auto; 
}

#sideBarTab{
    float:left;
    width:30px; 
    border:1px solid #e5e5e5;
    border-right:none;
    text-align:center;
    background:#F60;
}

#sideBarTab > h2{
    color: #fff;
}

#sideBarContents{
    float:left;
    overflow:auto; 
    overflow-x:hidden;!important;
    width:286px;
    min-height:108px;
    max-height:460px;
    border:1px solid #e5e5e5;
    border-right:none; 
    background:#ffffff;
}
#sideBarContents dl{
    margin:0;
    padding:0;
}

#sideBarContents dt{
    margin-top:5px;
    margin-left:5px;
}

#sideBarContents dd, dt {
    cursor: pointer;
}

#sideBarContents dd:hover, dt:hover {
    color:#F60;
}
#sideBarContents dd{
    margin-left:20px;
}

/***********************************************************/
/* 取消背景色*/
/*
#topics {
    background: none;
}
#comment_form_container {
    background: none;
}
*/

/* 博客标题和副标题 */
#blogTitle {
    overflow: hidden;
    height: auto;
    /*text-align: center;*/
}

#blogTitle h1 {
    font-size: 35px;
    width: 100%;
    margin-left: 0;
}

#blogTitle h2 {
    margin-left: 0;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

/*博客导航栏 */
#navList {
    float: left;
}

#navList li {
    border: none;
    font-size: 16px;
}

.blogStats {
    display: none;
}

#navList a{
    text-align: left;
}

#blogTitle > h1 > a:visited{
    color: #DA483B;
}
#blogTitle > h1 > a:link {
    color:#DA483B;
}

/*sideBar博客侧边栏容器*/
#sideBar {
    width: 240px;
    box-sizing: border-box;
    margin-left: 30px;
    padding: 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 #F60;
    //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: 250px;
}

#blog-calendar td {
    padding: 5px 3px;
    font-size: 14px;
}

#blog-calendar td a {
    font-weight: bold;
    color: #F60;
}

#blog-calendar table a:hover {
    color: #F60;
    text-decoration: underline;
    background: transparent;
}

#blog-calendar table u {
    text-decoration: none;
}
/*日历结束*/

/*侧边搜索框*/
.mySearch {
    padding-bottom: 10px;
}

.mySearch > div {
    padding-top: 10px;
    padding-left: 0;
}

.mySearch #q{
    height: 30px;
    width: 130px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.mySearch #btnZzk{
    height: 32px;
    width: 80px;
    background: #F60;
    color: #fff;
    border-radius: 5px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.mySearch #google_q{
    height: 30px;
    width: 130px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.mySearch .btn_my_zzk{
    height: 32px;
    width: 80px;
    background: #F60;
    color: #fff;
    border-radius: 5px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}
/*搜索框结束*/

/*评论*/
#comment_form_container .comment_textarea{
    width: auto;
}
#tbCommentBody{
    height: 90;
}

/*评论列表*/
#blog-comments-placeholder {
    //border-radius: 10px;
    background: #fff;
    padding: 30px 40px;
}

.feedback_area_title {
    background: url(//www.cnblogs.com/skins/red_autumnal_leaves/images/titlebg.png) no-repeat left center #fff;
    //border: 1px solid #F60;
    //border-left-width: 5px;
    //border-radius: 10px;
    //border-right-width: 5px;
    padding: 15px 50px;
}


/* 提交评论按钮 */
#btn_comment_submit {
    border: solid 1px #F60 !important;
    width: 75px;
    height: 32px;
    color: #fff !important;
    background-color: #F60 !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 #F60;
    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;
}
*/

/* 广告 */
#under_post_card2{
    display: none;
}


/* 关注收藏等几个按钮 */
#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:link, .postBody a:visited, .postBody a:active {
    text-decoration: none;
}
*/

/* 上一篇下一篇 */
/*#post_next_prev {
    font-size: 14px;
    color: #535353;
}
*/

/*底部隐藏作者，隐藏推荐和反对*/
#author_profile {
    display: none;
}

/*#div_digg {
    display: none;
}
*/

/*隐藏广告*/
#ad_t2, #cnblogs_c1, #under_post_news, #cnblogs_c2, #under_post_kb {
    display: none;
}

/* 隐藏刷新评论刷新页面返回顶部 */
#comment_nav > a{
    //display: none;
}


/* 博客文章主体样式 begin */
/* 标题title样式 */
#topics .postTitle {
    font-size: 32px;
    padding: 0 40px;
    border: none;
    box-sizing: border-box;
}

#cb_post_title_url {
    //border: 1px solid #F60;
    //border-left-width: 5px;
    //border-radius: 10px;
    //border-right-width: 5px;
    background-position: left center;
    padding: 15px 50px;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}

/*设置背景色和字体大小*/
body {
    font-size: 15px;
    box-sizing: border-box;
}

/*mainContent主体内容容器*/
#topics .postBody{
    padding: 10px 90px 20px 90px;
}

/*
#main {
    display: flex;
    width: 95%;
}


#mainContent .forFlow {
    margin: 0 0 0 310px;
}

#mainContent {
    margin: 0 0 0 -310px;
}

#post_detail {
    overflow: hidden;
}
*/

/* 主体内容样式 */
/*
.postBody {
    padding: 20px 40px;
}

#cnblogs_post_body {
    font-size: 15px;
}

#cnblogs_post_body h2 {
    //标题h2
    border-left: 5px solid #55895B;
    padding: 10px 20px;
    line-height: 2;
    background: #d6dbdf8a;
    margin: 30px 0;
}

#topics .postDesc {
    display: none;
}
*/

/* 博客文章主体样式 end */

#green_channel{
    width: auto;
}


#MySignature{
    text-align: center;
}





/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* 文章标题样式(这个不是markdown里的标题) */
#topics .postTitle a {
    //color: #828282;
    font-size: 36px;
}

/* 普通文字样式 */
#cnblogs_post_body p {
    margin: 18px auto;
    color: #000;
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 18px;
    text-indent: 0;
}

.cnblogs-markdown code {
  padding: 0;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(0,0,0,0.04);
  border-radius: 3px;
  border: none !important;
  display: inline-block;
}

/* 标题样式 */
#cnblogs_post_body h1 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    margin: 10px 0;
}

#cnblogs_post_body h2 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.5;
    margin: 20px 0;
}

#cnblogs_post_body h3 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    margin: 10px 0;
}

#cnblogs_post_body h4 {
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}
/* 标题样式设置结束 */

/* 去除双下划线斜体样式 */
em {
    font-style: normal;
    color: #000;
}

/* 无序列表 */
#cnblogs_post_body ul li {
    font-family: Consolas, "Microsoft YaHei", monospace;
    color: #000;
    font-size: 16px;
    list-style-type: disc;
}

/* 有序列表 */
#cnblogs_post_body ol li {
    font-family: Consolas, "Microsoft YaHei", monospace;
    color: #000;
    font-size: 16px;
    list-style-type: decimal;
}

/* 超链接 */
#cnblogs_post_body a:link {
    text-decoration: none;
    color: #002C99;
}

/* 引用背景 */
#topics .postBody blockquote {
    background: #f9e9f9;
    border: none;
    margin-bottom: 10px;
    padding: 2px 10px;
    border-left: 5px #CD6839 solid;
}

/* 单行代码 */
.cnblogs-markdown code {
    font-family: Consolas, "Microsoft YaHei", monospace !important;
    font-size: 16px!important;
    color: #c7254e;
    line-height: 20px;
    background-color: #f9f2f4!important;
    padding: 0 5px!important;
    border: none;
    line-height: 1.5;
    margin: 1px 5px;
    vertical-align: middle;
    display: inline-block;
}

/* 多行代码, 引用 */
.cnblogs-markdown .hljs {
    font-family: Consolas, "Microsoft YaHei", monospace !important;
    font-size: 16px!important;
    background-color: #dfecf0!important;
    line-height: 1.5!important;
    padding: 9px!important;
    border: none;
}

.cnblogs-markdown hr:before {
  display: table;
  content: "";
}

.cnblogs-markdown hr:after {
  display: table;
  clear: both;
  content: "";
}
/* 表格 */
.cnblogs-markdown table {
  border: none;
  width: 100%;
  overflow: auto;
  word-break: normal;
  word-break: keep-all;
  font-family: Consolas, "Microsoft YaHei", monospace !important;
  font-size: 16px!important;
}
/* 表格 表头 */
.cnblogs-markdown table th {
  font-weight: bold;
}
/* 表格 行，列 */
.cnblogs-markdown table th,
.cnblogs-markdown table td {
  padding: 6px 13px;
  border: none;
}

.cnblogs-markdown table tr {
  background-color: #fff;
  border-top: none;
}

.cnblogs-markdown table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

/*only for syntaxhighlighter */
/*--start--*/
.cnblogs-markdown .syntaxhighlighter table td.code {
  width:95% !important; 
}

.cnblogs-markdown p,
.cnblogs-markdown blockquote,
.cnblogs-markdown ul,
.cnblogs-markdown ol,
.cnblogs-markdown dl,
.cnblogs-markdown table,
.cnblogs-markdown pre {
  margin-top: 0;
  margin-bottom: 16px;
}