body {
    background: url('https://www.cnblogs.com/skins/BlueSky/images/bg.gif');
    font-size: 15px;
    font-family: "Microsoft YaHei"
}

a:visited {
    color: #1092d2;
}

a:link {
    color: #1092d2;
}

p code,
li code {
    font-family: Verdana, Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
}


/***************隐藏广告等内容**********/

#cnblogs_c1,
#ad_t2,
#under_post_news,
#cnblogs_c2,
#under_post_kb {
    display: none !important;
}

#home {
    margin: 0;
    width: 100%;
}


/************主体**************/

#main {
    padding: 0;
    background: #f0f0f0;
    margin: 60px 100px 0;
    border-radius: 5px;
    box-shadow: 0 0 8px #999;
    display: flex;
}


/************内容区*************/

#mainContent {
    border-radius: 5px;
    box-shadow: 0 0 8px #999;
    flex-grow: 1;
    overflow: visible;
}

#mainContent .forFlow .day {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

#cnblogs_post_body {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 17px;
}

#cnblogs_post_body img {
    max-width: 1000px;
}

#cnblogs_post_body a {
    text-decoration: none;
}

#cnblogs_post_body .toTopContainer {
    text-align: right;
    position: -webkit-sticky;
    position: sticky;
    top: 5px;
    cursor: pointer;
}
#cnblogs_post_body .bottomContainer {
    margin-top: 20px;
    top: 45px;
}

#cnblogs_post_body .goToTop {
    color: white;
    background: #66a4e3;
    padding: 5px;
    border-radius: 3px;
    opacity: 0.8;
}

#cnblogs_post_body h3 {
    font-size: 19px;
}

#cnblogs_post_body h4 {
    font-size: 17px;
}

.cnblogs_code {
    border-radius: 5px;
    border: none;
}

.cnblogs_code pre,
.cnblogs_code span {
    font-size: 17px !important
}

.cnblogs_code div {
    background: transparent;
}

.cnblogs_code_toolbar {
    background-color: transparent;
}

.cnblogs_code_toolbar a:visited img,
.cnblogs_code_toolbar a:link img {
    background-color: transparent !important;
}

.postBody {
    border-bottom: 1px solid #ccc;
}

#green_channel {
    float: left;
    margin-right: 92px;
    width: 50%;
}

#author_profile {
    width: 20%;
    float: left;
}

.buryit {
    margin-left: 10px;
}

#div_digg {
    margin: 0;
    width: auto;
}

#comment_nav {
    margin-top: 20px;
}

#comment_nav a[href="#top"] {
    color: #2bc546;
    font-size: 17px;
    font-weight: bold;
}

.blogpost-body :not(pre,div,td)>code {
    color: #000;
}

/************顶部样式************/

#header {
    margin-top: 0;
}

#navigator {
    background-color: rgba(33, 33, 33, .8);
    position: absolute;
    top: 0;
    width: 100%;
    margin-top: 0;
    height: 40px;
}

#navList {
    margin: 0;
    padding-left: 170px;
}

#navList a {
    line-height: 40px;
    margin: 0;
}


/************底部样式************/

#footer {
    color: #000;
}


/************博客标题************/

#blogTitle {
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    height: 40px;
    padding-right: 55px;
}

#blogTitle h1 {
    font-size: 14px;
    margin-top: 0;
    letter-spacing: 4px;
    line-height: 40px;
    width: auto;
}


/**************评论框************/

#tbCommentBody {
    width: 665px;
    height: 100px;
    border-radius: 5px;
}


/******************侧边栏样式*************/

#sideBar {
    padding: 0 30px;
    border-radius: 5px;
    margin-left: 0;
    flex-basis: 230px;
}

#sideBarMain {
    width: auto !important;
}

#sideBarMain #leftcontentcontainer .catListLink a[href="https://www.cnblogs.com/wenxuehai/p/"] {
    font-size: 16px;
    font-weight: bold;
}

#blog-sidecolumn {
    padding-bottom: 17px;
}

.div_my_zzk {
    margin: 10px 0;
}

.newsItem .catListTitle {
    background: #15355029;
    border-radius: 4px;
}

.CalTitle,
input {
    background: transparent;
}

#blog-sidecolumn .catListTitle {
    padding: 0 0 3px 0;
    border: none;
    border-bottom: 1px solid #ccc;
}

input {
    border: 1px solid #ccc;
}

.mySearch .input_my_zzk {
    outline: none;
    height: 22px;
    width: 68%;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    padding-left: 5px;
    box-sizing: border-box;
}

.btn_my_zzk {
    height: 25px;
    border-radius: 5px;
    background: #fff;
}

.postTitle,
#topics .postTitle {
    font-size: 17px;
    padding-left: 20px;
}

.postTitle a:link,
.postTitle a:visited,
.postTitle a:active {
    color: #001f3f;
}

.CalTodayDay {
    color: #000;
    font-size: 15px;
    font-weight: bolder;
}


/*****************分享******************/

#green_channel {
    border-radius: 5px;
    margin-top: 0;
}


/*****************评论******************/

#comment_form_container #tbCommentAuthor {
    border-radius: 3px;
    width: 234px;
}

#comment_form_container #tbCommentBody {
    width: 600px;
}


/*****************代码高亮样式******************/

.cnblogs_code div {
    background: #282b2e;
}

.cnblogs_code {
    background: #343531 !important;
    border-radius: 5px;
    border: none;
    font-family: consolas !important;
    color: #fff;
}

.cnblogs_code_toolbar {
    background: #343531 !important;
}

.cnblogs_code_toolbar a:hover,
.cnblogs_code_toolbar a:link,
.cnblogs_code_toolbar a:visited,
.cnblogs_code_toolbar a:active,
.cnblogs_code_toolbar a:link img,
.cnblogs_code_toolbar a:visited img {
    background-color: #343531 !important;
    border: none !important;
}

.cnblogs_code pre {
    font-family: consolas !important;
    background: #272822 !important;
    padding-left: 3px;
    color: rgb(224, 226, 228);
}

.cnblogs_code span[style^="color: #000000"],
.cnblogs_code span[style^="color: #ff0000"] {
    color: rgba(224, 226, 228, 0.95) !important;
}

.cnblogs_code span[style^="color: #0000ff"] {
    color: #66d9ef !important;
}

.cnblogs_code span[style^="color: #800080"] {
    color: #ae81ff !important;
}

.cnblogs_code span[style^="color: #800000"] {
    color: rgb(236, 118, 0) !important;
}

.cnblogs_code span[style^="color: #008000"] {
    color: #75715e !important;
}

.cnblogs_code span[style^="color: #008080"] {
    color: #afafaf !important;
    margin-right: 5px;
}

.cnblogs_code_collapse {
    border: none;
    background: #282b2e;
    color: rgb(147, 199, 99);
}

.cnblogs_code>pre {
    border: none !important;
}

.cnblogs_code>textarea {
    color: #fff;
    background: transparent;
    border: none;
    outline: none;
}

.syntaxhighlighter .bold {
    font-weight: unset !important;
}

.syntaxhighlighter .line {
    background-color: rgb(40, 43, 46)!important;
}

.syntaxhighlighter .line.alt2 {
    background-color: rgb(40, 43, 46)!important;
}

.syntaxhighlighter .line.alt1 {
    background-color: rgb(40, 43, 46)!important;
}

.syntaxhighlighter .comments,
.syntaxhighlighter .comments a {
    color: rgb(129, 142, 150)!important;
}

.syntaxhighlighter .keyword {
    color: rgb(147, 199, 99)!important;
    font-weight: unset !important;
}

.syntaxhighlighter .preprocessor {
    color: rgb(85, 113, 130) !important;
}

.syntaxhighlighter .plain,
.syntaxhighlighter .plain a {
    color: rgb(224, 226, 228)!important;
}

.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a {
    color: rgb(147, 199, 99)!important;
}

.syntaxhighlighter .string,
.syntaxhighlighter .string a {
    color: rgb(236, 118, 0)!important;
}

.syntaxhighlighter .functions {
    color: rgb(140, 187, 173)!important;
}

.syntaxhighlighter .gutter .line {
    border-right: 2px solid rgb(147, 199, 99)!important;
}

.syntaxhighlighter.collapsed .toolbar {
    background: rgb(40, 43, 46)!important;
    border: none !important;
    border-radius: 5px !important;
}

.syntaxhighlighter.collapsed .toolbar a {
    color: rgb(147, 199, 99)!important;
}

.syntaxhighlighter.collapsed .toolbar a:hover {
    color: rgb(78, 109, 48)!important;
}

.syntaxhighlighter {
    border-radius: 5px;
}
.prettyprint, pre.prettyprint {
    overflow: auto !important;
}

/*代码高亮部分*/

.cnblogs_code {
    border: none;
    background: none;
    padding: 0;
}

#cnblogs_post_body ol {
    padding-left: 40px;
}
#cnblogs_post_body .cnblogs_code ol {
    padding-left: 7px;
}

.cnblogs_code div {
    display: none;
}

.postBody li,
.postCon li {
    margin-bottom: 0;
}

.prettyprint,
pre.prettyprint {
    margin: 0 !important;
}

.cnblogs_code span {
    font-size: 16px !important;
    background-color: transparent !important;
}


/*右下角添加目录样式 -- START*/ 

/*定义整个目录框架的大小*/ 
#sideToolbar {
	position: fixed;
	bottom: -25px;/*距离页面底部的距离，不能设置过小，否则按钮看不到无法关闭*/ 
	right: 15px;
	/* width: 300px; */
	height: 450px
}

#sideCatalog{
	background-color: rgba(255,255,255,.9);
	padding-bottom:10px;
	border-radius:5px;
}
#sideCatalog-sidebar {
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	background-color: #eaeaea;
	border-color: -moz-use-text-color #eaeaea;
	border-image: none;
	border-left: 1px solid #eaeaea;
	border-right: 1px solid #eaeaea;
	border-style: none solid;
	border-width: 0 1px;
	height: 353px;
	left: 5px;
	position: absolute;
	top: 0;
	width: 0
}
/*目录形成的范围*/ 
#sideCatalog-catalog {
	height: 325px;
	padding-top: 18px;
	overflow: hidden;
	padding-left: 3px;
	position: relative;
	overflow-x: auto;
	overflow-y: auto;
}
#sideCatalog #sideCatalog-sidebar .sideCatalog-sidebar-top {
	cursor: pointer;
	top: 0
}
#sideCatalog #sideCatalog-sidebar .sideCatalog-sidebar-bottom {
	bottom: 0
}
#sideCatalog #sideCatalog-sidebar .sideCatalog-sidebar-top,#sideCatalog #sideCatalog-sidebar .sideCatalog-sidebar-bottom {
	background: url("https://files.cnblogs.com/files/huangwenjie/sideToolbar.gif") no-repeat scroll 0 -199px transparent;
	height: 10px;
	left: -5px;
	overflow: hidden;
	position: absolute;
	width: 10px
}
#sideCatalog li {
	margin: 0px;
	padding: 0 7px;
	text-align: left;
	position: relative
}
 #sideCatalog li:hover {
	background-color: #f5f5f5;
}
#sideCatalog-catalog ul .active {
	background-color: #f5f5f5
} 
#sideCatalog-catalog .active a {
	color: #519cea
}
#sideCatalog-catalog a: hover {
	color: #519cea
}
#sideCatalog span: first-child {
	color: #999;
	font-family: Arial;
	font-size: 14px;
	font-weight: bold;
	padding-right: 5px
}
/*这里比较重要，设置h2级别目录的缩进和左边距*/ 
#sideCatalog li.h2Offset {
	padding-left: 45px;
	text-indent: -25px
}
/*这里比较重要，设置h3级别目录的缩进和左边距*/ 
#sideCatalog li.h3Offset {
	padding-left: 90px;
	text-indent: -60px
}
#sideCatalog a {
	text-decoration: none;
	color: #555;
        font-size: 13px;
}
#sideCatalog .h2Offset a {
        font-size: 12px;
}
.sideCatalog-dot {
	background: url("https://files.cnblogs.com/files/huangwenjie/sideToolbar.gif") repeat scroll 0 -222px transparent;
	cursor: pointer;
	font-size: 12px;
	height: 10px;
	left: -20px;
	line-height: 12px;
	overflow: hidden;
	position: absolute;
	top: 4px;
	width: 6px
}
#sideCatalog .highlight .sideCatalog-dot {
	background: url("https://files.cnblogs.com/files/huangwenjie/sideToolbar.gif") no-repeat scroll -271px -38px transparent;
	height: 13px;
	left: -23px;
	top: 3px;
	width: 18px
}
#sideCatalogBtn {
	background: url("https://files.cnblogs.com/files/huangwenjie/sideToolbar.gif") no-repeat scroll 0 0 transparent;
	cursor: pointer;
	display: block;
	height: 45px;
	margin-bottom: 5px;
	margin-left: 5px;
	width: 45px;
	margin-top: 7px;
	outline: 0;
    position: fixed;
    right: 285px;
    bottom: 10px;
}
#sideCatalogBtn: hover {
	background: url("https://files.cnblogs.com/files/huangwenjie/sideToolbar.gif") no-repeat scroll -154px 0 transparent
}
.sideCatalogBtnDisable {
	background: url("https://files.cnblogs.com/files/huangwenjie/sideToolbar.gif") no-repeat scroll -104px 0 transparent !important
}
#sideToolbar-up {
	background: url("https://files.cnblogs.com/files/huangwenjie/sideToolbar.gif") no-repeat scroll 0 0 transparent;
	border-radius: 2px;
	display: block;
	height: 45px;
	margin-left: 5px;
	width: 45px;
	outline: 0
}
#sideToolbar-up: hover {
	background: url("https://files.cnblogs.com/files/huangwenjie/sideToolbar.gif") no-repeat scroll -74px -62px transparent
}

#toTop:hover{
  background-position:left top;
}

/*回到最上*/
#toTop{
	background:url(https://images.cnblogs.com/cnblogs_com/huangwenjie/1085373/o_o_o_toTop.png) no-repeat -70px top;
	width:55px;
	height:55px;
	overflow:hidden;
	position:fixed;
	right:340px;
	bottom:10px;
	cursor:pointer;
}
/***************美化滚动条*****************************/
/*整体部分*/ 
#sideToolbar  ::-webkit-scrollbar
{
	width: 10px;
	height: 10px;
}
/*滑动轨道*/ 
#sideToolbar ::-webkit-scrollbar-track
{
	border-radius: 0px;
	background: none;
}
/*滑块*/
#sideToolbar ::-webkit-scrollbar-thumb
{
	border-radius: 5px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.2);
	background-color: rgba(255,255,255,.75)
}
/*滑块效果*/ 
#sideToolbar ::-webkit-scrollbar-thumb:hover
{
	border-radius: 5px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.2);
	background-color: rgba(85, 85, 85, 0.4);
}

/*右下角添加目录样式 -- END*/ 


.table-wrapper table tr  td{
     padding: 0 !important;
}

.entrylistTitle {
    text-align: left;
}


@media screen and (max-width: 768px){
    #blogTitle, #sideToolbar {
        display: none !important;
    }
    #navList {
        padding-left: 70px;
    }
    #main {
        margin: 60px 0;
    }

    #sideBar {
        padding: 0;
        flex-basis: 120px;
        max-height: 4550px;
    }

    #comment_form_container #tbCommentBody {
        width: auto;
    }

    .prettyprint, pre.prettyprint {
         overflow: auto !important;
   }

   #toTop {
        right: 10px;
   }
}

.blogpost-body :not(pre,div,td)>code {
    background: none !important;
    color: unset !important;
    font-size: inherit !important;
}