/*快速评论*/
#div_digg {
  position: fixed;
  bottom: 10px;
  right: 10px;
  border: 2px solid #f06000;
  padding: 10px;
  width: 140px;
  background-color: #fff;
  border-radius: 5px 5px 5px 5px !important;
  box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
}
/*主标题格式*/
#blogTitle h1 {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.8em;
    margin-top: 10px;
}
/*超链接颜色*/
#blogTitle h1 a:hover {
    color: #f06000;
    text-decoration:none;
}
/*固定导航条样式*/
.fixednav {
    position: fixed !important;
    width: 980px;
    top: -60px;
    z-index: 2;
}
/*自定义背景图片，最赞的是 bg01.jpeg, bg03.jpg, bg04.jpg */
body{
    background: url("https://files.cnblogs.com/files/Albertiy/bg03.bmp?t=1526528334") top center fixed;
    /*background: url("https://gitee.com/RedBeast/PicCache/raw/master/pic/bg/bg03.jpg") top center fixed;*/
    font-size: 14px;
}
/*修改canvas样式*/
/*body canvas{
    z-index: -1;
}*/
/*鼠标追随特效*/
#screen {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
}
#screen span {
    background: #fff;
    font-size: 0;
    overflow: hidden;
    width: 2px;
    height: 2px;
}
@media screen and (min-width: 1180px) {
.fixednav {
    width: 1180px;
}
#home {
    width:1180px;
}
#mainContent {
    width:900px;
}
}
/*
 代码高亮开始，使用了一个叫Monokai Sublime的黑色主题皮肤，直接拿过来还不行，有一些样式冲突，还要自己稍微改一些地方
Monokai Sublime style. Derived from Monokai by noformnocontent https://nn.mit-license.org/
*/
pre {
/*控制代码不换行*/
    white-space: pre;
    word-wrap: normal;
}
.cnblogs-markdown .hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em !important;
    background: #23241f !important;
    font-family: "Courier New",sans-serif!important;
    font-size: 14px!important;
    line-height: 1.5!important;
    color: #FFF;
    white-space: pre;
    word-break: normal;
}

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

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

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

.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: #e6db74;
}

.hljs-comment,
.hljs-deletion,
.hljs-meta {
  color: #75715e;
}
/*黑色主题皮肤结束*/
/*Custom滚动条*/
::-webkit-scrollbar {
    width: 10px;
} /* 这是针对缺省样式 (必须的) */
::-webkit-scrollbar-track {
    background-color: #fff;
} /* 滚动条的滑轨背景颜色 f06000橙色 */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); 
} /* 滑块颜色 */
::-webkit-scrollbar-button {
    background-color: #333;
} /* 滑轨两头的监听按钮颜色 */
::-webkit-scrollbar-corner {
    background-color: black;
} /* 横向滚动条和纵向滚动条相交处尖角的颜色 */

/*生成博客目录的CSS*/
#sideBarIndex{
    font-size:12px;
    font-family:Arial, Helvetica, sans-serif;
    text-align:left;
    position:fixed;/*将div的位置固定到距离top:50px，right:0px的位置，这样div就会处在最右边的位置，距离顶部50px*/
    top:150px;
    right:0px;
    width: auto;
    height: auto;
}
/* 按钮字体要大 */
#sideBarIndex h2{
    font-size:1.4em;
    font-weight:bold;
}
#sideBarIndexTab{
    float:left;
    width:30px; 
    border:1px solid #e5e5e5;
    border-right:none;
    text-align:center;
    background:#ffffff;
    border-top-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    box-shadow: -3px 3px 4px 1px #858581;
}

#sideBarIndexContents{
    float:left;
    overflow:auto; 
    overflow-x:hidden;!important;
    width:200px;
    min-height:108px;
    max-height:460px;
    border:1px solid #e5e5e5;
    border-right:none; 
    background:#ffffff;
    box-shadow: -3px 3px 4px 1px #858581;
}
#sideBarIndexContents dl{
    margin:0;
    padding:0;
}

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

#sideBarIndexContents dd, dt {
    cursor: pointer;
}

#sideBarIndexContents dd:hover, dt:hover {
    color:#A7995A;
}