/*
 * Style tweaks
 * --------------------------------------------------
 */
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
  padding-top: 70px;
  font: 16px "Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Hiragino Sans GB W3","Microsoft YaHei UI","Microsoft YaHei","WenQuanYi Micro Hei","sans-serif";
}

.article{
  line-height: 1.62857143;
}

.article p {
  text-indent: 2em;
}

.article>p>img {
  display: block; 
}

i {
  padding-right: 8px;
}
footer {
  padding: 30px 0;
}

img {
  border-style: none;
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

.entry-meta {
  padding: 10px 0 20px 0;
}

.entry-meta > a {
  padding-right: 20px;
}

.gly-book {
  padding: 20px 0 10px 0;
}

.gly-tags {
  padding-bottom: 10px;
}

.pagination-center {
  text-align: center;
}

#sidebar p {
  text-indent: 0.8em;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  body {
    padding: 70px 5px 0 5px;
  }

  #sidebar p {
    text-indent: 0em;
  }

  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}
