/*******日历*************/

.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: url('https://www.cnblogs.com/skins/coffee/images/bg_cal_today.gif') 52% 3px no-repeat;
color:#fff;
}

/* 今天 标记红色圆圈*/
/*
.CalTodayDay{
background-color: #b62525;
color:#fff;
border-radius:50%;
}
*/

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

/*播放器*/

/*代码高亮*/
.cnblogs-markdown pre, .cnblogs_code {
    padding-top: 10px;
    background:#282c34;
}
.cnblogs-markdown pre:before, .cnblogs_code:before {
    border-radius: 4px;
    content: " ";
    display: block;
    height: 24px;
    background: url(https://guangzan.gitee.io/imagehost/awescnb/images/bg/mac.png) no-repeat;
    background-size: 65px 23px;
    background-position-x: 10px;
}

#cnblogs_post_body th, #cnblogs_post_body td, .cnblogs-post-body th, .cnblogs-post-body td {
   border: none !important;
   padding: 0;
   min-width: 30px !important;
}

#cnblogs_post_body .cnblogs_code pre {
    overflow: auto;
    font-family: Consolas, Lucida Console, Monaco, Andale Mono, Ubuntu Mono, monospace !important;
    display: block !important;
    padding: .5em;
    color: #abb2bf !important;
    background:#282c34 !important;
    border: none !important;
    white-space: pre
}

#cnblogs_post_body .cnblogs_code pre {
    overflow: auto;
    font-family: Consolas, Lucida Console, Monaco, Andale Mono, Ubuntu Mono, monospace !important;
    display: block !important;
    padding: .5em;
    color: #abb2bf !important;
    background-color: #282c34 !important;
    border: none !important;
    white-space: pre
}

#cnblogs_post_body .cnblogs_code pre {
    overflow: auto;
    font-family: Consolas, Lucida Console, Monaco, Andale Mono, Ubuntu Mono, monospace !important;
    display: block !important;
    padding: .5em;
    color: #abb2bf !important;
    background-color: #282c34 !important;
    border: none !important;
    white-space: pre
}

#cnblogs_post_body .hljs-ln-n:before, .cnblogs-markdown .hljs-ln-n:before, .cnblogs-post-body .hljs-ln-n:before {
    font-weight: 400
}
#blog-comments-placeholder .hljs, #cnblogs_post_body .hljs {
    display: block !important;
    color: #abb2bf !important;
    background: #282c34 !important;
    border: none !important;
    padding-bottom: 10px !important
}

#blog-comments-placeholder .hljs-tag, #cnblogs_post_body .hljs-tag {
    color: #abb2bf
}

#blog-comments-placeholder .hljs-comment, #blog-comments-placeholder .hljs-quote, #cnblogs_post_body .hljs-comment, #cnblogs_post_body .hljs-quote {
    color: #008000;
    font-style: italic
}

#blog-comments-placeholder .hljs-doctag, #blog-comments-placeholder .hljs-formula, #blog-comments-placeholder .hljs-keyword, #cnblogs_post_body .hljs-doctag, #cnblogs_post_body .hljs-formula, #cnblogs_post_body .hljs-keyword {
    color: #c678dd
}

#blog-comments-placeholder .hljs-deletion, #blog-comments-placeholder .hljs-name, #blog-comments-placeholder .hljs-section, #blog-comments-placeholder .hljs-selector-tag, #blog-comments-placeholder .hljs-subst, #cnblogs_post_body .hljs-deletion, #cnblogs_post_body .hljs-name, #cnblogs_post_body .hljs-section, #cnblogs_post_body .hljs-selector-tag, #cnblogs_post_body .hljs-subst {
    color: #e06c75
}

#blog-comments-placeholder .hljs-literal, #cnblogs_post_body .hljs-literal {
    color: #56b6c2
}

#blog-comments-placeholder .hljs-addition, #blog-comments-placeholder .hljs-attribute, #blog-comments-placeholder .hljs-meta-string, #blog-comments-placeholder .hljs-regexp, #blog-comments-placeholder .hljs-string, #cnblogs_post_body .hljs-addition, #cnblogs_post_body .hljs-attribute, #cnblogs_post_body .hljs-meta-string, #cnblogs_post_body .hljs-regexp, #cnblogs_post_body .hljs-string {
    color: #98c379
}

#blog-comments-placeholder .hljs-built_in, #blog-comments-placeholder .hljs-class .hljs-title, #cnblogs_post_body .hljs-built_in, #cnblogs_post_body .hljs-class .hljs-title {
    color: #e6c07b
}

#blog-comments-placeholder .hljs-attr, #blog-comments-placeholder .hljs-number, #blog-comments-placeholder .hljs-selector-attr, #blog-comments-placeholder .hljs-selector-class, #blog-comments-placeholder .hljs-selector-pseudo, #blog-comments-placeholder .hljs-template-variable, #blog-comments-placeholder .hljs-type, #blog-comments-placeholder .hljs-variable, #cnblogs_post_body .hljs-attr, #cnblogs_post_body .hljs-number, #cnblogs_post_body .hljs-selector-attr, #cnblogs_post_body .hljs-selector-class, #cnblogs_post_body .hljs-selector-pseudo, #cnblogs_post_body .hljs-template-variable, #cnblogs_post_body .hljs-type, #cnblogs_post_body .hljs-variable {
    color: #d19a66
}

#blog-comments-placeholder .hljs-bullet, #blog-comments-placeholder .hljs-link, #blog-comments-placeholder .hljs-meta, #blog-comments-placeholder .hljs-selector-id, #blog-comments-placeholder .hljs-symbol, #blog-comments-placeholder .hljs-title, #cnblogs_post_body .hljs-bullet, #cnblogs_post_body .hljs-link, #cnblogs_post_body .hljs-meta, #cnblogs_post_body .hljs-selector-id, #cnblogs_post_body .hljs-symbol, #cnblogs_post_body .hljs-title {
    color: #61aeee
}

#blog-comments-placeholder .hljs-emphasis, #cnblogs_post_body .hljs-emphasis {
    font-style: italic
}

#blog-comments-placeholder .hljs-strong, #cnblogs_post_body .hljs-strong {
    font-weight: 700
}

#blog-comments-placeholder .hljs-link, #cnblogs_post_body .hljs-link {
    text-decoration: underline
}

#cnblogs_post_body pre .hljs-ln-numbers, #cnblogs_post_body pre code, #cnblogs_post_body pre table, #cnblogs_post_body pre table tr, #cnblogs_post_body pre tbody {
    background: inherit !important
}

#cnblogs_post_body pre .hljs-ln-numbers {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    padding: 2px 0;
    border: none;
    text-align: center;
    color: #999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    word-break: normal;
    white-space: pre
}

#cnblogs_post_body pre table {
    overflow-x: unset;
    border: none !important
}

#cnblogs_post_body pre table .hljs-ln-numbers {
    padding: 0 !important;
    width: 30px !important
}

#cnblogs_post_body pre table .hljs-ln-code {
	font:13.92px;
    padding: 0 2px 4.8516px
}
#cnblogs_post_body .hljs {
    padding: 10px 0 10px 10px !important
}

#cnblogs_post_body pre {
    padding: 10px 0 0
}

.hljs-ln-n {
    padding: 0 10px
}
/*Atom one dark 主题*/
.hljs{display:block;overflow-x:auto;padding:.5em;color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-formula,.hljs-keyword{color:#c678dd}.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-addition,.hljs-attribute,.hljs-meta-string,.hljs-regexp,.hljs-string{color:#98c379}.hljs-built_in,.hljs-class .hljs-title{color:#e6c07b}.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable{color:#d19a66}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title{color:#61aeee}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}

/*copy*/

.copy-btn {
    -webkit-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
    background-color: rgba(0,0,0,0.6);
    margin: 8px;border-radius: 4px;cursor: pointer;
    padding: 2px 8px;
    position: absolute;
    right: 4px;
    top: 4px;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.05);color:white;font-size:12px;
}

/*去掉底部广告*/
#ad_t2,#cnblogs_c1,#under_post_news,#cnblogs_c2,#under_post_kb {
    display:none; !important
}

/*toc目录*/
.toc {
    width: 200px;
    height: auto;
    z-index: 98;
    background: #282c34;
    transform: translateX(0);
    right: 25%;
    position: fixed !important;
    top:480px;
    position: absolute;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*进度条*/
.scrollbar{
	position:fixed;
	top:0;
	height:3px;
	background:#bebebe;
	transiton-property:width,background;
	transition-duration:1s,1s;
	z-index:99999
	}

 a:hover {
    background: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%23ff3300' d='M0 3.5c5 0 5-3 10-3s5 3 10 3 5-3 10-3 5 3 10 3'/%3E%3C/svg%3E) repeat-x 0 100%;

    animation: waveMove 1s infinite linear;
}

/*去掉底部广告*/
#ad_t2,#cnblogs_c1,#under_post_news,#cnblogs_c2,#under_post_kb {
    display:none; !important
}

/*toc目录*/
.toc {
    width: 200px;
    height: auto;
    z-index: 98;
    background-color: rgba(255,255,255,0);
    transform: translateX(0);
    right: 25%;
    position: fixed !important;
    top:480px;
    position: absolute;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*进度条*/
.scrollbar{
	position:fixed;
	top:0;
	height:3px;
	background:#bebebe;
	transiton-property:width,background;
	transition-duration:1s,1s;
	z-index:99999
	}

 a:hover {
    background: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%23ff3300' d='M0 3.5c5 0 5-3 10-3s5 3 10 3 5-3 10-3 5 3 10 3'/%3E%3C/svg%3E) repeat-x 0 100%;

    animation: waveMove 1s infinite linear;
}