/*设置整体博客的字体样式和大小*/
body {
    font-family: comic sans ms,sans-serif;
    font-size: 15px;
}
/*设置“引用”的样式*/
blockquote{    
  background: #d9e9ff;     
  margin: 1em 3em 1em 3em;    
  border-style:dotted dotted dotted solid;    
  border-width:1px 1px 1px 5px;    
  border-color:#5bbcdd;    
  line-height:200%;    
}
/*设置标题2的样式*/
h2 {
  box-shadow: 8px 8px 5px #888888;
  background-color: #5FBDCE;
  color: #015666;
  border-radius:8px;
}
/*以防图片溢出，img的宽度不会超过div宽度的80%。图片会根据情况调整大小*/
img {
 max-width: 80%;
}
/*设置插入的代码框框四周位圆角，cnblogs_code为插入代码框的class名*/
.cnblogs_code{
 border-radius:12px;
}

/*生成博客目录的CSS*/
#upRightsideBar{
    font-size:12px;
    font-family:"Comic Sans MS","微软雅黑";
    text-align:left;
    position:fixed;/*将div的位置固定到距离top:100px，right:0px的位置，这样div就会处在最右边的位置，距离顶部100px*/
    top:100px;
    right:0px;
    width: auto;
    height: auto; 
}
#sideBarTab{
    float:left;
    width:30px; 
    border:1px solid #e5e5e5;
    border-right:none;
    text-align:center;
    background:#ffffff;
}

#sideBarContents{
    font-size:15px;
    font-family:"Comic Sans MS","微软雅黑";
    border-radius:8px;
    float:left;
    overflow:auto; 
    overflow-x:hidden;!important;
    width:300px;
    min-height:108px;
    max-height:460px;
    border:1px solid #e5e5e5;
    border-right:none; 
    background:#ffffff;
}
#sideBarContents dl{
    margin:0;
    padding:0;
}

#sideBarContents dt{
    margin-top:5px;
    margin-left:5px;
}

#sideBarContents dd, dt {
    cursor: pointer;
}

#sideBarContents dd:hover, dt:hover {
    color:#5FBDCE;
}
/*设置code标签class="marker"样式*/
.marker{
  padding: 1px 5px;
  display: inline;
  border: 1px solid #ddd;
  background: #fff;
  margin: 0 4px;
  font-family: Georgia, "Times New Roman", Times, serif;
  border-radius: 2px;
  background: #FFB6C1;
}
/*设置pre标签class="code"样式*/
pre.code{
    white-space: pre-wrap;
  /* css-3 */
  white-space: -moz-pre-wrap;
  /* Mozilla, since 1999 */
  white-space: -pre-wrap;
  /* Opera 4-6 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  word-wrap: break-word;
  /* Internet Explorer 5.5+ */
  border: 1px solid #ddd;
  background:#E0EEE0;
  padding: 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.6em;
  border-radius: 2px;
}

.postCon a{
 color: #399ab2;
}

code {
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 3px;
    font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;
}