@charset "utf-8";
@import url("//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css");

html, body{
  font-family: Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
  font-size: 14px;
  background: #f1f1f1;
  padding: 0;
  margin: 0;
}
h1,h2,h3,h4,h5,h6 {
  font-weight: 300;
  margin: 20px 0;
  color: #35495e;
  line-height: normal;
  word-spacing: 2px;
  font-weight: normal !important;
}

h4,h5,h6 {
  font-weight: 400;
  margin: 20px 0
}

h1 {
  margin-bottom: 30px !important;
  font-size: 46px !important;
}

h2 {
  margin-bottom: 30px;
  font-size: 34px !important;
}

h3 {
  font-size: 28px !important;
}

h4 {
  font-size: 24px !important;
}

h5 {
  font-size: 20px !important;
}

h6 {
  font-size: 16px !important;
}
a, input[type="button"],input[type="submit"]{
  transition:0.5s all;
  -webkit-transition:0.5s all;
  -moz-transition:0.5s all;
  -o-transition:0.5s all;
  -ms-transition:0.5s all;
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
}
body a:hover{
  text-decoration:none;
}

p{
  margin: 0;
}
ul{
  margin: 0;
  padding: 0;
}
ul,ul>*{
  list-style: none;
}
a,a:link,a:visited,a:hover,a:active{
  text-decoration: none;
}
button,input,img{
  outline: 0 none;
  box-shadow: 0;
}
.btn.active.focus, .btn.active:focus,
.btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus{
  outline: 0 none;
  border:0;
}
td{
  vertical-align: middle;
}
::selection{color:#fff;background:#6c9;}
::-moz-selection{color:#fff;background:#6c9;}
::-webkit-selection{color:#fff;background:#6c9;}
.container{
  margin:0 auto;
}

/*
滚动条
*/
::-webkit-scrollbar
{
  width: 9px;
  height: 9px;
  -webkit-border-radius: 9px;
}
::-webkit-scrollbar-track-piece
{
  background-color: #CCCCCC;
  -webkit-border-radius: 18px;
}
::-webkit-scrollbar-thumb:vertical
{
  height: 5px;
  background-color: #6c9;/*main-color*/
  -webkit-border-radius: 18px;
}
::-webkit-scrollbar-thumb:horizontal
{
  width: 5px;
  background-color: #CCCCCC;
  -webkit-border-radius: 18px;
}

/*
header
*/
.banner{
  position: relative;
  width: 100%;
  height: 420px;
  background-size:cover!important;
  background-position: center center!important;
  background-image: url("https://images.cnblogs.com/cnblogs_com/gkl2013/880707/o_banner.jpg");
}
.bannerImg{
  width: 100%;
  height:420px;
}
.header{
  padding-top:50px;
  text-align: center;
}
.logo{
  margin:0 auto;
  width: 130px;
  height: 130px;
  border: 0;
  border-radius: 50%;
}
.logo img{
  width: 130px;
  height: 130px;
  border: 0;
  border-radius: 50%;
  transition:all 1.6s cubic-bezier(.17,.67,.62,1.22);
  -webkit-transition:all 1.6s cubic-bezier(.17,.67,.62,1.22);
  -moz-transition:all 1.6s cubic-bezier(.17,.67,.62,1.22);
  -o-transition:all 1.6s cubic-bezier(.17,.67,.62,1.22);
  -ms-transition:all 1.6s cubic-bezier(.17,.67,.62,1.22);
}
.logo img:hover{
  transform: rotate(360deg);
  -ms-transform: rotate(360deg); /* IE 9 */
  -webkit-transform: rotate(360deg); /* Safari and Chrome */
}
.logoTheme{
  cursor:pointer;
}
.logoTheme h1,.logoTheme h3{
  font-weight:100;
  transition:all 0.5s;
}
.logoTheme h1{
  margin:60px 0;
  color:#fff;
  font-weight:100;
  letter-spacing: 2px;
}
.logoTheme h1:hover{
  letter-spacing: 5px;
}
.logoTheme h3{
  width:640px;
  margin:30px auto 0;
  padding:15px 0;
  background:#fff;
  color:#666;
  letter-spacing: 5px;
}

/*覆盖原始样式*/
#header,#ad_t2,.dayTitle,#homepage_top_pager,.c_ad_block,#comment_nav,.cnblogs_code_toolbar{
  display:none;
}
#home{
  padding-top: 30px;
  background: #f1f1f1;
  position: relative;
  overflow-x: hidden;
}

/**/
#home,.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (max-width: 768px){
  #sideBar{
    display: none !important;
  }
}
@media (min-width: 768px) {
  #home,.container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  #home,.container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  #home,.container {
    width: 1170px;
  }
}

.main{
  width: 100%;
}

#sideBar{
  float: left;
  width: 19%;
  padding-left: 15px;
  padding-bottom: 15px;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#sideBar h3{
  margin: 10px 0;
}
#sideBar ul li{
  display: block;
  padding: 5px 0;
  text-overflow: ellipsis;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  white-space: nowrap;
}
.postSeparator{
  /*border-top: 1px solid #6c9;*/
}
.entrylistTitle{
  padding: 15px 15px;
  font-size: 20px;
  font-weight: normal;
  color: #333;
  margin-bottom: 30px;
  background: #fff;
  border-radius: 0;
  border-left: 4px solid #6c9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.day,.entrylistItem{
  margin-bottom: 30px;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.postTitle,.entrylistPosttitle{
  position: relative;
  padding: 15px 0;
}
.postTitle a,.entrylistPosttitle a{
  display: block;
  padding: 7px 0 7px 15px;
  color: #444;
  font-size: 18px;
  border-left: 4px solid #6c9;
  line-height: 1.5em;
}
.postCon,.entrylistPostSummary{
  position: relative;
  background: #f9f9f9;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  color: #4d4d4d;
}

.postDesc,.entrylistItemPostDesc{
  padding: 15px;
  text-align: right;
}
.c_b_p_desc{
  padding: 15px;
  line-height: 2;
}
.desc_img{
  float: left;
  width: 250px;
  height: 150px;
  margin-right: 20px;
  cursor: pointer;
  -webkit-transition: ease .2s;
  transition: ease .2s;
  -webkit-transform-origin:50% 50%; /* transform-origin默认值就是居中，可以不加 */
  transform-origin:50% 50%; /* transform-origin默认值就是居中，可以不加 */
}
.desc_img:hover{
  -webkit-transform: scale(1.05); /*放大1.2倍*/
  transform: scale(1.05); /*放大1.2倍*/
}
.pager{
  line-height: 2;
  float: right
}
.topicListFooter{
  text-align: right;
  margin-top: 10px;
  margin-right: 0;
}
.topicListFooter a{
  color: #fff;
  padding: 15px;
  background: #6c9;
}

/*页脚*/
.main-footer {
  background: rgba(255,255,255,.7);
  margin-top:30px;
  padding-top:15px;
  color: #333;
}
.footrow{
  padding-bottom:15px;
}
.widget{
  position:relative;
}
.widget .title{
  position: relative;
  display: inline-block;
  margin:0 0 10px;
  padding:10px 0;
  font-size:15px;
  color:#424242;
  letter-spacing: 2px;
}
.widget .box li{
  float:left;
  margin:0 8px 10px 0;
  list-style:none;
}
.widget .box li a{
  display:block;
  font-size:12px;
  padding:2px 7px;
  border:1px solid #e8e8e8;
}
.widget .box{
}
.widget .box a,.contact-us li a{
  color:#a4a4a4;
}
.widget .box a:hover{
  border:1px solid #6c9;/*main-color*/
  color:#6c9;/*main-color*/
}
.widget .box a:hover,.copyright a:hover{
  text-decoration:none;
}
.contact-us{
  margin-top:-8px;
  padding-top:0;
}
.contact-us i{
  margin-right:8px;
}
.contact-us li{
  line-height:2.5em;
  list-style:none;
}
.contact-us li a:hover{
  color:#6c9;/*main-color*/
}
.copyright {
  font-size: 13px;
  text-align: left;
  color: #999;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid #f1f1f1;
}
.copyright span {
  margin: 0 .5em;
}
.copyright a {
  color: #999;
}
.copyright a:hover{
  color:#6c9;/*main-color*/
}
.copyright  a.kefu{
  display: inline-block;
  margin-top:-10px;
  background: #6c9;/*main-color*/
  color:#fff;
  padding:10px 20px;
  letter-spacing: 2px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06), 0 3px 10px rgba(0,0,0,0.13);
}
.copyright  a.kefu i{
  margin-right:8px;
}
.copyright a.kefu:hover{
  background: #6c9;/*main-color*/
  opacity:.8;
}

/*侧边栏*/

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*回到顶部*/
.to-top{
  position: fixed;
  right: 20px;
  bottom: 70px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 3px 10px rgba(0,0,0,0.16), 0 3px 10px rgba(0,0,0,0.23);
}
/*博客园主页*/
.blog-home{
  position: fixed;
  cursor: pointer;
  display: block;
  right: 20px;
  bottom: 130px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 3px 10px rgba(0,0,0,0.16), 0 3px 10px rgba(0,0,0,0.23);
}
/*添加新随笔*/
.new-posts{
  position: fixed;
  cursor: pointer;
  display: block;
  right: 20px;
  bottom: 190px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 3px 10px rgba(0,0,0,0.16), 0 3px 10px rgba(0,0,0,0.23);
}
.topicon,.homeicon,.newicon{
  display: block;
  background: #6c9;/*main-color*/
}
.to-top, .topicon,.toptext,.blog-home,.homeicon,.hometext,.new-posts,.newicon,.newtext{
  width: 48px;
  height: 48px;
  line-height: 48px;
  display: block;
  text-align: center;
  z-index: 999;
  cursor: pointer;
}
.topicon i, .homeicon i,.newicon i{
  margin-top: 9px;
  color: #fff;
  font-size: 28px;
}
.toptext,.hometext,.newtext{
  background: #6c9;/*main-color*/
  color:#fff;
  line-height: 48px;
  transition: all 0.3s;
}
.to-top:hover .toptext{
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);
}
.blog-home:hover .hometext{
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);
}
.new-posts:hover .newtext{
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);
}

/*文章页*/
#main{
  width: 90%;
  margin: auto;
}
.postBody{
  font-weight: 400;
  color: #35495e;
  font-size: 15px;
  line-height: 23px;
  word-spacing: 2px;
  overflow: hidden;
  font-size: 16px;
}
.post .postTitle a {
  font-weight: bold;
  line-height: 1.5;
  margin: 10px 0;
  font-size: 42px;
  font-weight: blod;
}

/*页脚*/
#footer{
  clear: both;
  height: 20px;
  width: 100%;
  font-size: 0;
  line-height: 0;
}
.my-footer{
  height: 60px;
  margin-top: 20px;
  line-height: 60px;
  background-color: white;
  font-size: 13px;
  text-align: left;
  color: #999;
  border-top: 1px solid #f1f1f1
}
.my-footer span{
  margin-right: 30px;
}

#post_detail,.commentform{
  width: 100%;
  border-radius: 0;
}
.comment_textarea{
  width: 100% !important;
  height: 100px !important;
}
#commentbox_opt{
  text-align: right;
}
#btn_comment_submit{
  width: 90px;
  height: 40px;
  color: white;
  border: none;
  background: #6c9;
  line-height: 30px;
  cursor: pointer;
}
#commentbox_opt a{
  background: #6c9;
  color: white;
  border: none;
  line-height: 30px;
  padding: 12px 30px;
}
.cnblogs_code{
  padding: 15px;
  border-radius: 4px;
  background-color: #444;
}
.cnblogs_code pre{
  color: #fff !important;
}
.cnblogs_code span{
  color: #fff !important;
  background-color: #444 !important;
}
#cnblogs_post_body{
  text-align: justify;
}
#cb_post_title_url{
  display: block;
  padding: 7px 0 7px 15px;
  color: #444;
  border-left: 4px solid #6c9;
  line-height: 1em;
  font-weight: normal;
}
#topics .post .postTitle{
  display: none;
}
#sideBar{
  display:none
}

.logoTheme a{
  color: white;
  font-size: 23px;
}