body {
  overflow: visible;
  font-size: 15px;
  line-height: 1.8;  
}

.post-wrapper {       /*博客主题部分*/
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 80px 15px;
}

.post-title {   /*设置标题*/
  text-align: center;
}

.post-date {       /*设置日期*/
  text-align: center;
  color: #999;
  margin-bottom: 5px;
  font-size: 15px;
}

.main-template {     /*这里设置文章内容*/
  padding-top: 60px;
  padding-left: 5px;
  padding-right: 5px;
  text-align: left;
}

div.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: 0px;
  margin-right: 0px;
  width: auto;
}

/*专栏页面设置*/
/* --------------------------------------------------*/
.column-title {
  margin-bottom: 60px;
}

.home h1 { margin-bottom: 25px; }

.posts { list-style-type: none; }

.posts li { margin-bottom: 30px; }

.posts .post-date {
  text-align: left;
  display: block;
  font-size: 15px;
  color: #818181;
}

.posts .post-link {
  font-size: 20px;
  letter-spacing: -1px;
  line-height: 1;
}


/* CUSTOMIZE THE NAVBAR  配置导航栏
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
  margin-left: 0px;
  margin-right: 0px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}

@media (min-width: 768px) {   /*对于分辨率大于 768 的采用下面的配置  */
    
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 10px;
  }
  .navbar-wrapper .container {
    padding-right: 0px;
    padding-left: 0px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }
  .main-template {
    padding-top: 90px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: left;
  }
  div.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
  }
}



/*Fix Bootstrap and jumping to Anchors*/
h2, h3  {   /*设置标题的段前距离*/
  margin-top:28px;
}
h1, h4, h5, h6  {   /*设置标题的段前距离*/
  margin-top:18px;
}

/* center images */
img {
  display:block;
  margin-left:auto;
  margin-right:auto;
}

/* IPython notebook stuff */
div#notebook {
  overflow: visible;
  border-top: none;
}

@media print {
  div.cell {
    display: block;
    page-break-inside: avoid;
  } 
  div.output_wrapper { 
    display: block;
    page-break-inside: avoid; 
  }
  div.output { 
    display: block;
    page-break-inside: avoid; 
  }
}

/* Make code blocks scrollable */
div.highlight > pre {
  overflow: auto;
  word-wrap: normal;
  white-space: pre;
}
div.output_text > pre {
  overflow: auto;
  word-wrap: normal;
  white-space: pre;
}

/* Hide anchor links unless you hover over the title */
.anchor-link {
    display: none;
}
*:hover > .anchor-link {
    display: inline;
}

/* Social media buttons */
ul.share-buttons{
  list-style: none;
  padding: 0;
}

ul.share-buttons li{
  display: inline;
}
span.share-buttons {
  position: absolute;
  right: 0;
  margin-right: 10%;
}

/* MathJax stuff */
.MathJax_Display {
  padding: 8px 0px;
}

/* Collapsable input */
div.collapsed {
  height: 2em;
  overflow: hidden;
}

.collapse_expand_button {
    position: absolute;
    top: 2px;
    right: 2px;
    cursor: pointer;
}


/* index list */
/* Center align the text within the three columns below the carousel */
.post_preview .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.post_preview h2 {
  font-weight: normal;
}
.post_preview .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}



.h1,h1 {
	font-size:36px
}
.h2,h2 {
	font-size:30px
}
.h3,h3 {
	font-size:24px
}
.h4,h4 {
	font-size:18px
}
.h5,h5 {
	font-size:14px
}
.h6,h6 {
	font-size:12px
}
p {
	margin:20px 0 20px
}

/*设置代码块的样式*/
.highlighter-rouge .highlight  {
    background-color: #fff;   
}

.language-python  .highlight  {
    background-color: #eef;
    border: 1px solid #d5d5e9;    
}


