/* **********************
 * 整体布局
 * 地址：
 *  ↓  ↓  ↓  ↓  ↓  ↓  ↓
 * https://www.cnblogs.com/emacode/p/10303168.html
 * **********************/














/* 左边日期栏 */
.CalTitle{
    font-size: 18px;
    font-weight: 600;
    line-height: 40px;
}

.CalDayHeader{
    font-size: 16px;
    line-height: 40px;
    border-bottom: 1px solid #F4F4F4;
}

.CalWeekendDay{
font-size:16px;
line-height:2.1;
}

.CalTodayDay{
background-color: #c7675580;
color:#fff;
border-radius:50%;
}

#blog-calendar  u{
color:#b62525;
font-weight:600;
text-decoration:none!important;
}




/* 定制右下角 sideToolbar 样式 */
#sideToolbar {
    bottom: 30px !important;
}
#sideCatalog {
    background-color: #ffffffc9 !important;
    /* visibility: hidden; */
}
#sideCatalog a {
    font-size: 17px;
}
#sideCatalog-catalog ul .active {
    background-color: #f5f5f561;
}
#sideCatalog-catalog::-webkit-scrollbar {/*滚动条整体样式*/
    width: 4px;     /*高宽分别对应横竖滚动条的尺寸*/
    height: 4px;
}
#sideCatalog-catalog::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.2);
}
#sideCatalog-catalog::-webkit-scrollbar-track {/*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 0;
    background: rgba(0,0,0,0.1);
}








mark {
    border-radius: 6px 6px 6px 6px;
    border-left: 13px solid #2b6695C9;
    font-size: 17px;
    font-weight: bold;
    padding: 4px 60px 4px 60px;
    color: #ff7f00e0;
    background-color: #c2b6aeca;
}







/* 整体布局 */
body {
  background: #f5f6ed;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica
      Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
}

#home {
  max-width: 80%;
  padding: 15px;
  background: transparent;
  box-shadow: none;
  margin-top: 0;
  width: auto;
}

#main {
  margin-top: 15px;
}

#mainContent .forFlow {
  padding-right: 20px;
}

/* 非阅读区域去掉白色背景 */
.newsItem,
.catListEssay,
.catListLink,
.catListNoteBook,
.catListTag,
.catListPostCategory,
.catListPostArchive,
.catListImageCategory,
.catListArticleArchive,
.catListView,
.catListFeedback,
.mySearch,
.catListComment,
.catListBlogRank,
.catList,
.catListArticleCategory {
  background-color: transparent;
}

/* **********************
 * 博客页首
 * **********************/

/* 隐藏系统标题 */
#blogTitle {
  display: none;
}

/* 顶部 */
.c-portrait {
  text-align: center;
  padding: 50px 0;
  background: #39424b;
  color: #ffffff;
  margin-bottom: -40px;
}

/* 标题和签名 */
.c-portrait h1 {
  font-size: 25px;
  font-weight: bold;
  margin: 5px 0;
}

.c-portrait h1 a {
  color: #fff;
}

.c-portrait h2 {
  font-size: 16px;
  margin: 7px 0 10px;
  color: #ccc;
}

/* 文章底部留白 */
#cnblogs_post_body {
  padding-bottom: 5px;
}

/*
  markdown 代码黑色主题皮肤
  代码高亮开始，使用了一个叫Monokai Sublime的黑色主题皮肤，直接拿过来还不行，有一些样式冲突，还要自己稍微改一些地方
  Monokai Sublime style. Derived from Monokai by noformnocontent https://nn.mit-license.org/
*/

<link href="https://cdn.bootcss.com/highlight.js/9.15.10/styles/darcula.min.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/highlight.js/9.15.10/highlight.min.js"></script>
<script>
    hljs.initHighlightingOnLoad();
</script>
pre {
    /*控制代码不换行*/
    white-space: pre;
    word-wrap: normal;
}
.blogpost-body .hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
    color: #a6e22e;
    /* background: #343d46 !important; */
    background: #39424b !important;
    white-space: pre;
    word-break: normal;
}

.hljs,
.hljs-tag,
.hljs-subst {
  color: #a6e22e;
}

.hljs-strong,
.hljs-emphasis {
  color: #a8a8a2;
}

.hljs-bullet,
.hljs-quote,
.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-link {
  color: #F9AE57;
}

.hljs-code,
.hljs-title,
.hljs-section,
.hljs-selector-class {
  color: #a6e22e;
}

.hljs-strong {
  font-weight: bold;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-name,
.hljs-attr {
  color: #f92672;
}

.hljs-symbol,
.hljs-attribute {
  color: #66d9ef;
}

.hljs-params,
.hljs-class .hljs-title {
  color: #f8f8f2;
}

.hljs-string,
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-variable {
  color: #8df393;
}

.hljs-comment,
.hljs-deletion,
.hljs-meta {
  color: #a6acb9;
}
/* markdown 代码黑色主题皮肤结束*/


/* 防止图片溢出 */
#cnblogs_post_body img {
  max-width: 100%;
}

/* 文章底部信息 */
.postDesc {
  margin-top: 0;
}


/* **********************
 * 适配手机
 * **********************/

@media (max-width: 767px) {
  #home {
    padding-left: 0;
    padding-right: 0;
  }
  #div_digg {
    width: auto;
    padding: 0;
    right: -25px;
    bottom: 3px;
    box-shadow: none;
  }
  #div_digg .buryit {
    display: none;
  }
  #mainContent .forFlow {
    padding-right: 0;
  }
  #mainContent .post {
    padding: 0 20px;
  }

  #sideBar,
  #blog-comments-placeholder {
    padding: 0 15px;
  }
}


/* 文章签名 */
#MySignature{
    border:solid 1px #E5E5E5;
    padding:10px;
    background:#E5EEF7 url(https://images.cnblogs.com/cnblogs_com/grenet/226272/o_o_o_info.png) no-repeat scroll 15px 50%;
    padding-left:80px;}
#MySignature div{
    line-height: 20px;
}

/* =========================== */
/* =========================== */


/* 文章目录展示 */
<style type="text/css">
#cnblogs_post_body {
    color: black;
    background-color: #FFFFCC;
    font: 0.875em/1.5em "微软雅黑" , "PTSans" , "Arial" ,sans-serif;
    font-size: 18px;
    }
/*标题1*/
#cnblogs_post_body h1 {
    color: #2B6600;
    padding-left: 15px;
    background-color: #6FA833 !important;
    text-shadow: 2px 2px 3px #222222;
    margin-bottom: 5px;

    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    font-family: "微软雅黑" , "宋体" , "黑体" ,Arial;
    font-size: 25px;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    text-shadow: 2px 2px 3px #222222;
    }
/*标题2*/
#cnblogs_post_body h2 {
	background: #2B6695 !important;
	border-left: 18px solid #008000;
	border-radius: 6px 6px 6px 6px !important;
	box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 1);
	color: #FFFFFF;
	font-family: "微软雅黑" , "宋体" , "黑体" ,Arial;
	font-size: 25px;
	font-weight: bold;
	height: 30px;
	line-height: 30px;
	margin: 15px 0 !important;
	padding: 5px 0 5px 20px;
	text-shadow: 2px 2px 3px #222222;
    }
/*标题3*/
#cnblogs_post_body h3 {
    border-radius: 6px 6px 6px 6px;
    color: #127436;
    border-left: 13px solid #6FA833;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    font-size: 20px;
    font-weight: bold;
    padding: 5px;
    background-color: #f5f5f5;
    }
/*标题4*/
#cnblogs_post_body h4 {
    border-radius: 6px 6px 6px 6px;
    color: #556b2f;
    border-left: 13px solid #6FA833;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    font-size: 20px;
    font-weight: bold;
    padding: 5px;
    background-color: #f5f5f5;
	}

/*  标题有阴影，不太好看 "text-shadow"参数
#cnblogs_post_body h2 {
    border-radius: 6px 6px 6px 6px;
    color: #008000;
    border-left: 13px solid #6FA833;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    font-size: 23px;
    font-weight: bold;
    padding: 5px;
    background-color: #f5f5f5;
    }

#cnblogs_post_body h4 {
    border-radius: 6px 6px 6px 6px;
    color: #556b2f;
    border-left: 13px solid #6FA833;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    font-size: 18px;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    text-shadow: 2px 2px 3px #222222;
    padding: 5px;
    background-color: #f5f5f5;
    }

	注释结束 */
</style>
