/* 鼠标光标
* { cursor:url(https://images.cnblogs.com/cnblogs_com/tong707/1257515/o_cursor.png), auto; }

a:hover { cursor:url(https://files.cnblogs.com/files/HMarisa/marisa3.ico), auto}
*/


/* 修改背景图 */
body {
    /*font-family: NettoOT, PingFangSC-Light, "微软雅黑", "Microsoft YaHei";*/
    font-family: Segoe UI, Segoe, sans-serif!important;
    background-color: #e6e6e6;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* 主要内容透明度 */
#home {
    /*opacity: 0.96;
    filter: alpha(opacity=100);*/
    box-shadow: 0 0 10px rgba(0, 0, 0, .8);
    overflow: auto;
    border: solid 1px #FFF;
    border-radius: 6px;
}

/* Logo 加边框 */
#blogLogo { border: 1px solid rgba(0, 0, 0, .15); }

/* Blog标题 */
#blogTitle h1 a:hover { color: rgba(82, 168, 236, 1); }

/* Blog副标题 */
#blogTitle h2 a.h2-text:link,
#blogTitle h2 a.h2-text:visited,
#blogTitle h2 a.h2-text:hover,
#blogTitle h2 a.h2-text:active {
    color: #757575;
}

#blogTitle h2 a.h2-text:hover { text-decoration: underline; }

/* 隐藏导航第一个链接 */
#navList li:nth-child(1), #navList li:nth-child(4), #navList li:nth-child(5) { display: none; }

/* 导航栏鼠标效果 */
#navList li a:link { color: #6a6a6a; /*灰色*/ }
#navList li a:visited { color: #6a6a6a; /*灰色*/ }
#navList li a:hover { color: #000; /*黑色*/ }
#navList li a:active { color: #6a6a6a; /*灰色*/ }

/* 取消标题左右浮动的动画效果 */
.entrylist a:link, .entrylist a:visited, .entrylist a:active, .postTitle a:link, .postTitle a:visited, .postTitle a:active { transition: initial!important; }
.entrylist a:hover, .postTitle a:hover { margin-left: 0; }

/* 标题 */
.postTitle { margin-bottom: 5px; color: #006DD6; font-family: Segoe UI, Segoe, sans-serif!important; background-color: #f5f5f5; padding: 5px 0px 5px 0px; }
#topics .postTitle { margin-bottom: 25px; }
.day { margin-bottom: 30px; }

/* 标题文字鼠标效果 */
.postTitle a { color: #006DD6; }
.postTitle:link a, .postTitle a:link { color: #000; }
.postTitle:visited a, .postTitle a:visited { color: #000; }
.postTitle:hover a, .postTitle a:hover { color: #1FA1C1; }
.postTitle:active a, .postTitle a:active { color: #006DD6; }

/* 标题前边的小块的鼠标效果 */
.postTitle { border-left: 5px solid rgba(82, 168, 236, 0.8); }

/* 文章页标题 */
#topics .postTitle {
	border-left: 5px solid rgba(82, 168, 236, 0.8); 
  font-family: Segoe UI, Segoe, sans-serif!important;
	font-size: 20px;
	font-weight: normal;
	padding-left: 10px!important;
	line-height: 1.4;
}


@media (min-width: 769px) {
	#topics { margin-left: -5px!important; }
	#sideBar { margin-top: -10px; }
  /* 自定义导航 */
  .my-nav { margin: 0 10px 0 0!important; }
}

@media (max-width: 768px) {
	/* 移动端下，保证文章页面的标题宽度100% */
	#topics .postTitle { width: 100%!important; }

	/* 移动端情况下，侧边栏向下浮动，取消内边距，上下左侧对齐 */
	#sideBar { padding: 0; }
	#home { border-radius: 5px; padding: 30px 15px; }
	#blog-calendar { margin: 0 auto!important; }

	/* 移动端下隐藏行号 */
	.gutter { display: none; }

	/* 移动端隐藏烟花特效 */
	.fireworks { display: none; }

  /* 自定义导航 */
  .my-nav { margin: 0 20px 0 0!important; }
}

/* 摘要 */
.postCon { padding: 10px 0; word-wrap: break-word; }

/* 阅读全文 */
.c_b_p_desc_readmore a, .postCon a, .postCon .c_b_p_desc .c_b_p_desc_readmore { color: #006DD6; }
.c_b_p_desc_readmore a:link, .postCon a:link, .postCon .c_b_p_desc .c_b_p_desc_readmore:link { color: #006DD6; }
.c_b_p_desc_readmore a:visited, .postCon a:visited, .postCon .c_b_p_desc .c_b_p_desc_readmore:visited { color: #006DD6; }
.c_b_p_desc_readmore a:hover, .postCon a:hover, .postCon .c_b_p_desc .c_b_p_desc_readmore:hover { color: red; }
.c_b_p_desc_readmore a:active, .postCon a:active, .postCon .c_b_p_desc .c_b_p_desc_readmore:active { color: #006DDA; }

/* 发布日期 */
.postDesc { margin-top: 3px; background: none; padding-left: 0; }
.postDesc a:link { color: rgba(0, 0, 0, .6); }
.postDesc a:visited {color: rgba(0, 0, 0, .6); }
.postDesc a:hover { color: rgba(82, 168, 236, 1); text-decoration: underline; }
.postDesc a:active { color: rgba(0, 0, 0, .6); }

/* 分隔部分 */
.postSeparator { height: 20px; margin: 0 auto 20px auto;}

/* 栏目标题 */
.catListTitle {
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
    border-left: 3px solid rgba(82, 168, 236, 0.8);
    padding: 9px 0px 6px 8px;
    background-color: #f5f5f5;
}

/*侧边栏字体颜色*/
#sideBar a { color: rgba(0, 0, 0, .76); }

/* 文章页面 隐藏广告 */
#ad_t2, #cnblogs_c1, #under_post_news, #cnblogs_c2, #under_post_kb { display: none; }

/*页脚*/
#footer { color: rgba(0, 0, 0, .45) }

/* 评论文本窗 */
#comment_form_container .comment_textarea { width: 96%!important; }

/* 评论区用户头像 */
.author_avatar { border-radius: 25px; }

/* 日历 当前日期修改颜色 */
#blogCalendar .CalTitle:hover a, #blogCalendar .CalTitle td:hover, #blogCalendar .CalTitle td:hover a { color: #5E5F63; }
#blogCalendar td.CalTodayDay a u { color: #FFF; }
#blogCalendar > tbody > tr > td a u { font-weight: 600; }
#blogCalendar > tbody > tr > td:hover { background: rgba(82, 168, 236, 0.9); color: #FFF; cursor: pointer; }
#blogCalendar > tbody > tr > td:hover a { color: #FFF; }

@media (min-width: 768px) and (max-width: 1250px) { #home { min-width: 950px; } }
@media (min-width: 1251px) { #home { min-width: 1050px; } }
@media (max-width: 290px){ #blogTitle h2 { display: none; } }
@media (min-width: 767px) and (max-width: 1040px) {}

/*引用框 样式调整为github*/
.postBody blockquote {
	border: none;
	padding: 0 1em;
	color: #6a737d;
	border-left: 0.25em solid #dfe2e5;
	background: none;
	width: 100%;
}

/* 随机格言 */
#quotation-words {
    border-left: 5px solid #0073d8;
    border-right: 5px solid #0073d8;
    background-color: #3288d31a;
    padding: 10px;
    text-align: center;
    color: #0073d8;
    margin: 5px 0 5px 0;
}

.catListTitle a:hover {
    text-decoration: none!important;
    color: rgba(0, 0, 0, .76)!important;
}

/* 爱词霸每日一句 */
.everyday-words {
    width: 100%;
    min-height: 100px;
    padding: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    font-family: sans-serif;
}

.everyday-words p:nth-child(1) {
  font-family: 'Fira Sans', sans-serif;
}

.everyday-words p {
   margin-bottom: 6px;
}

.everyday-words-date {
  float: right;
  margin-right: 5px;
  /*color: rgba(0, 0, 0, .6);*/
}


/* 文章目录 */
.article-anchor { color: #000!important; }
a.article-anchor:link, a.article-anchor:visited, a.article-anchor:active { text-decoration: none!important; }
a.article-anchor:hover { text-decoration: underline!important; }
.open a { color: rgba(82, 168, 236, 0.8)!important; }
.open a:hover { color: rgba(82, 168, 236, 0.8)!important; }
#article-nav {}
.article-nav-float-right { position: fixed; min-width: 230px; top: 0; }
#article-nav-list { padding-left: 5px; }
.article-nav-style {}
.article-nav-style a:hover { color: rgba(82, 168, 236, 0.8)!important; }
.article-nav-style-2 { margin-left: 0; font-size: 14px; }
.article-nav-style-3 { margin-left: 30px; list-style: circle; font-size: 13px; }
.article-nav-style-4, .article-nav-style-5, .article-nav-style-6 { margin-left: 30px; list-style: none; font-size: 12px; }

/* MarkDown 样式调整 */
.cnblogs-markdown {}
code, kbd, pre, samp {}
pre.pure-highlightjs { background-color: transparent; }
pre { word-wrap: break-word; white-space: pre-wrap; }
.cnblogs-markdown code, .cnblogs-post-body code { background-color: #F8F8F8!important; border: none!important; }
.cnblogs-markdown .hljs, .cnblogs-post-body .hljs { font-size: 15px!important; line-height: 1.3!important; }
.cnblogs-markdown, .cnblogs-markdown .hljs, .cnblogs-post-body .hljs,
.pure-highlightjs, .pure-highlightjs code, .pure-highlightjs span { font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace!important; }
#cnblogs_post_body h1, #cnblogs_post_bodyy h2, #cnblogs_post_body h3, #cnblogs_post_body h4, #cnblogs_post_body h5, #cnblogs_post_body h6 { margin-top: 24px; margin-bottom: 16px; font-weight: 600; line-height: 1.25!important; }
#cnblogs_post_body p, #cnblogs_post_body blockquote, #cnblogs_post_body ul, #cnblogs_post_body ol, #cnblogs_post_body dl, #cnblogs_post_body table, #cnblogs_post_body pre { margin-top: 0; margin-bottom: 16px!important; }
#cnblogs_post_body h2 { padding-bottom: 0.3em!important; font-size: 1.5em!important; border-bottom: 1px solid #eaecef; margin: 20px 0 10px 0; }
#cnblogs_post_body h3 { font-size: 1.25em; }
#cnblogs_post_body h4 { font-size: 1em; }
#cnblogs_post_body li { word-wrap: break-all; }
#cnblogs_post_body a { background-color: transparent; color: #0366d6; text-decoration: none; }
#cnblogs_post_body a:hover { text-decoration: underline; }
#cnblogs_post_body { font-family: Segoe UI, Segoe, sans-serif!important; font-size: 15px!important; line-height: 1.5; word-wrap: break-word; }
#cnblogs_post_body hr { height: .25em!important; padding: 0; margin: 24px 0; background-color: #e1e4e8; border: 0; }
#cnblogs_post_body hr, #cnblogs_post_body .rule { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #dfe2e5; }
#cnblogs_post_body hr { box-sizing: content-box; height: 0; overflow: visible; }
#cnblogs_post_body code, #cnblogs_post_body tt { margin: 0; font-size: 1em!important; background-color: rgba(27,31,35,0.05); border-radius: 3px; }
#cnblogs_post_body table { display: block; width: 100%; overflow: auto; }


/* ===== ===== ===== ===== ===== Github MarkDown Style ===== ===== ===== ===== ===== */
/* github.com style (c) Vasily Polovnyov <vast@whiteants.net> */
.hljs { display: block; overflow-x: auto; padding: 0.5em; color: #333; background: #f8f8f8; }
.hljs-comment, .hljs-quote { color: #998; font-style: italic; }
.hljs-keyword, .hljs-selector-tag, .hljs-subst { color: #333; font-weight: bold; }
.hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable, .hljs-tag .hljs-attr { color: #008080; }
.hljs-string, .hljs-doctag { color: #d14; }
.hljs-title, .hljs-section, .hljs-selector-id { color: #900; font-weight: bold; }
.hljs-subst { font-weight: normal; }
.hljs-type, .hljs-class .hljs-title { color: #458; font-weight: bold; }
.hljs-tag, .hljs-name, .hljs-attribute { color: #000080; font-weight: normal; }
.hljs-regexp, .hljs-link { color: #009926; }
.hljs-symbol, .hljs-bullet { color: #990073; }
.hljs-built_in, .hljs-builtin-name { color: #0086b3; }
.hljs-meta { color: #999; font-weight: bold; }
.hljs-deletion { background: #fdd; }
.hljs-addition { background: #dfd; }
.hljs-emphasis { font-style: italic; }
.hljs-strong { font-weight: bold; }
pre.pure-highlightjs { background-color: transparent!important; border: none; padding: 0; }

/* MarkDown Background Color */
.cnblogs-markdown code, .cnblogs-post-body code { background-color: #f6f6f6!important; }






/* 调整文章标题 */
.day .postTitle a { padding-left: 0; }
.postTitle { padding: 5px 0px 5px 10px; }
.blog-title-define:link { color: rgba(0, 0, 0, .9)!important; }
.blog-title-define:hover { color: inherit; }
.blog-title-define-line { font-size: 26px; }
.blog-title-define-cnblogs { font-size: 22px; }

/* 侧边栏 */
#profile_block { font-size: 13px; line-height: 1.35; }
/*.postTitle { width: 95%!important; }*/

@media (max-width: 768px) {
    /* 调整logo */
    #lnkBlogLogo { display:none; }
    /* 调整标题宽度 */
    #topics .postTitle, .postTitle { width: 95%!important }
    /* Markdown 代码不换行 */
    .cnblogs-markdown pre>code { word-break: normal;  white-space: pre; }
    #article-nav{ display: none; }
}

@media (min-width: 768px){
    /* 表格可左右滚动 */
    #cnblogs_post_body table { display: inline-table!important; }
    .postTitleLarge { font-size: 23px; }
}







/* 文章页 */

h1,h2,h3,h4,h5,h6 {
font-family: "Microsoft YaHei", Helvetica, Arial, "Lucida Grande", Tahoma, sans-serif;
}

#post_detail .postTitle {
    text-align: center;
    border-left: none;
    padding-left: 0;
    line-height: 2;
    font-style: 20px;
    background-color: initial;
}

#post_detail .postTitle a {
    color: #000;
}
 
#post_detail .postTitle a:hover {
    color: rgba(82, 168, 236, 1);
    text-decoration: underline;
}   


@media (max-width: 768px) {
    #post_detail .postTitle { font-size: 18px; }
}


@media (min-width: 768px) {
    #home { border: none; }
    #topics { overflow: initial; }
    /*#cnblogs_post_body.blogpost-body.cnblogs-markdown.pure-highlightjs h2 { border-left: 6px solid #4F9CEE; margin-left: -25px; padding-left: 19px; }*/
    #cnblogs_post_body.blogpost-body.cnblogs-markdown.pure-highlightjs h2 { border-left: 8px solid #4F9CEE; margin-left: -25px; padding-left: 17px; }
}



#cnblogs_post_body h4 {
    font-size: 1.2em;
}

#cnblogs_post_body h3 {
    font-size: 1.35em;
}