/**
* style.css
*
* Author     : metheno
* Date       : 2017/02/24
* Version    :
* Description:
*/

/* Global */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
:after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 14px;
  line-height: 1.42857143;
  color: rgba(80, 80, 80, 1);
  background: rgba(244, 244, 244, 0.8);
}

a {
  color: rgba(51, 122, 183, 1);
  text-decoration: none;
}

a:focus, a:hover {
  color: rgba(35, 82, 124, 1);
  text-decoration: underline;
}

hr {
  margin-top:20px;
  margin-bottom:20px;
  border:0;
  border-top:1px solid #eee
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  cursor: default;
  font-family: inherit;
  padding-top: 8px;
  color: rgba(51, 51, 51, 1);
  font-weight: 400;
  line-height:1.1;
  -webkit-user-select: none;
}

.h1, .h2, .h3, h1, h2, h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.h4, .h5, .h6, h4, h5, h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.h1, h1 {
  font-size: 30px;
}

.h2, h2 {
  font-size: 23px;
}

.h3, h3 {
  font-size: 20px;
}

.h4, h4 {
  font-size: 16px;
  text-transform: uppercase;
}

.h5, h5 {
  font-size: 14px;
  text-transform: uppercase;
}

.h6, h6 {
  font-size: 12px;
  text-transform: uppercase;
}

p {
  margin: 0 0 10px;
  font-weight: 400;
  line-height: 1.8;
}

.small, small {
  font-size:85%
}

.mark, mark {
  padding: .2em;
  background-color: rgba(252, 248, 227, 0.5);
}

ol, ul {
  margin-top: 0;
  margin-bottom: 10px;
}

ol ol, ol ul, ul ol, ul ul {
  margin-bottom: 0;
}

dl {
  margin-top: 0;
  margin-bottom: 20px;
}
dd, dt {
  line-height: 1.42857143;
}
dt {
  font-weight: 700;
}
dd {
  margin-left: 0;
}

b, strong {
  font-weight: 700;
}

i, em {
  font-style: italic;
}

blockquote {
  padding: 10px 20px;
  padding-left: 15px;
  margin:0 0 20px;
  font-size: 16px;
  font-style: italic;
  border-left: 5px solid rgba(238, 238, 238, 0.5);
}

code, pre {
    font-family: 'SF Mono', Menlo, Courier New, sans-serif;
}

code {
  padding: 3px 5px 2px 5px;
  margin: 5px;
  color: rgba(180, 25, 72, 1);
  background-color: rgba(244, 244, 244, 0.8);
  border-radius: 3px;
  text-shadow: none;
  font-size: 12px;
}

pre {
  overflow: auto;
  font-size: 12px;
  font-family: Consolas, Menlo, Monaco, "Courier New", sans-serif;
  font-weight: 400;
  max-width: 100%;
  word-break: break-all;
  word-wrap: break-word;
  line-height:1.42857143;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 4px;
  word-wrap: normal;
  -webkit-overflow-scrolling: touch;
}

pre > code {
  white-space: pre;
  background-color: transparent;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Images */

/*添加一个img-shadow类名，图片加阴影*/
.img-shadow {
    box-shadow: rgba(0,0,0,0.5) 0 0.625rem 1.125rem;
    -webkit-box-shadow: rgba(0,0,0,0.5) 0 0.625rem 1.125rem;
    max-width: 91%;
    margin-bottom: 3.125rem;
    border-radius: .125rem;
}

img, video {
  display: block;
  margin: 20px 2px;
  position: relative;
  max-width: 100%;
  height: auto !important;
  border-radius: 5px;
  -webkit-user-select: none;
}

video {
  display: block;
  margin: 20px 2px;
  position: relative;
  max-width: 100%;
  height: auto !important;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* page-change */

.page-change {
  padding-left: 0;
  border-radius: 3px;
  width: 210px;
  max-width: 210px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-change li {
  display: inline-block;
  position: relative;
}

.page-change > li > a, .page-change > li > span {
  display: inline-block;
  position: relative;
  padding: 7px 13px;
  font-size: 13px;
  background-color: transparent;
  transition: all .3s cubic-bezier(.3, 1, .5, 1);
}

.page-change > li.active,
.page-change > li > a:hover, .page-change > li > span:hover {
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.1);
}

.article-switch {
  cursor: default;
  padding-left: 0;
  margin-top: 30px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.article-switch li {
  display: inline-block;
  width: 49%;
  transition: all 0.2s;
}

.article-switch > li > a, .article-switch > li > span {
  display: block;
  position: relative;
  padding: 7px 13px;
  font-size: 13px;
  background-color: transparent;
  text-decoration: none;
}

.article-switch > li.prev {
  text-align: left;
}

.article-switch > li.prev > a:before {
  content: '\00ab\00a0';
  opacity: 0.5;
}

.article-switch > li.next {
  text-align: right;
}

.article-switch > li.next > a:after {
  content: '\00a0\00bb';
  opacity: 0.5;
}

.article-switch > li:hover {
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Buttons */

.center-padding {
  padding: 10px 0 20px 0;
}

.btn-theme {
  padding: 13px 50px;
  text-decoration: none;
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 0);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-theme:focus, .btn-theme.focus {
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 1);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-theme:hover {
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 0.5);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-theme:active, .btn-theme.active, .open > .dropdown-toggle.btn-theme {
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 1);
  box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-theme:active:hover, .btn-theme.active:hover, .open > .dropdown-toggle.btn-theme:hover,
.btn-theme:active:focus, .btn-theme.active:focus, .open > .dropdown-toggle.btn-theme:focus,
.btn-theme:active.focus, .btn-theme.active.focus, .open > .dropdown-toggle.btn-theme.focus {
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 0);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-theme:active, .btn-theme.active, .open > .dropdown-toggle.btn-theme {
  background-image: none;
}

.btn-transparent {
  text-decoration: none;
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 0);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-transparent:focus, .btn-transparent.focus {
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 1);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-transparent:hover {
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 0.5);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-transparent:active, .btn-transparent.active, .open > .dropdown-toggle.btn-transparent {
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 1);
  box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-transparent:active:hover, .btn-transparent.active:hover, .open > .dropdown-toggle.btn-transparent:hover,
.btn-transparent:active:focus, .btn-transparent.active:focus, .open > .dropdown-toggle.btn-transparent:focus,
.btn-transparent:active.focus, .btn-transparent.active.focus, .open > .dropdown-toggle.btn-transparent.focus {
  color: rgba(80, 80, 80, 1);
  background-color: rgba(244, 244, 244, 0);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-transparent:active, .btn-transparent.active, .open > .dropdown-toggle.btn-transparent {
  background-image: none;
}


.btn-rounded {
  border-radius: 50px;
}

/* Input */

form {
  text-align: center;
  font-size: 13px !important;
}

form .text, form .submit {
  -webkit-appearance: none;
  padding: 8px 10px;
  border: none;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  background-color: transparent;
  text-align: center;
}

form .text:focus, form .submit:focus {
  outline: none !important;
}

form#search .text {
  width: 50px;
  transition: all cubic-bezier(.15,1,.5,1) 0.8s;
}

form#search .text:hover {
  width: 150px;
}

form#search .text:active, form#search .text:focus {
  width: 210px;
}

/* Nav */

.blog-masthead {
  display: block;
  text-align: center;
  background-color: rgba(80, 80, 80, 1);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  margin-top: -1px;
  overflow-y: hidden;
}

nav {
  padding: 10px 0 0 0;
  text-align: center;
}

.navbar-fixed-top {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
}

.navbar-fixed-top {
  top: 0;
  border-width: 0 0 1px;
}

.blog-nav {
  padding-top: 0;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  white-space: nowrap;
}

.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 17px 20px 15px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  transition: all 0.3s;
  text-shadow: 0px 0px 2px rgba(255, 255, 255, 1);
}

.blog-nav-item:focus,.blog-nav-item:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);
}

.blog-nav .active {
  color: rgba(244, 244, 244, 1);
  text-shadow: 0px 0px 6px rgba(255, 255, 255, 1)
}

.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
  content: " ";
  vertical-align: middle;
}

.blog-container {
  padding-top: 50px;
}

.blog-container, .nav-container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.blog-row {
  margin-right: -15px;
  margin-left: -15px;
}

/* Header */

.blog-header {
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}

.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-weight: 100;
  font-size: 48px;
}

.blog-title a, .blog-title a:hover {
  color: rgba(80, 80, 80, 1);
  text-decoration: none;
}

.blog-description {
  color: #999;
  font-size: 18px;
}

.blog-main {
  padding: 40px;
  font-size: 15px;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

/* Posts */

article {
  border-bottom: 2px solid rgba(100, 100, 100, 0.2);
  padding: 30px 0 20px 0;
}

article:first-of-type {
  padding-top: 0;
}

article:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-post-title {
  padding-top: 0;
  margin-bottom: 5px;
  font-size: 30px;
  font-weight: 300;
  text-align: center;
}

h2.blog-post-title a {
  color: rgba(80, 80, 80, 1);
  text-decoration: none;
  transition: all 0.2;
}

h2.blog-post-title a:hover {
  color: rgba(60, 60, 60, 1);
  text-decoration: none;
  text-shadow: 0px 0px 10px rgba(80, 80, 80, 0.3);
}

.blog-post-meta {
  margin-bottom: 20px;
  color: rgba(80, 80, 80, 0.7);
  font-size: 15px;
  text-align: center;
}

/* Footer */

.blog-footer {
  display: block;
  overflow: hidden;
  padding: 30px 0;
  background-color: rgba(248, 248, 248, 1);
  color: rgba(80, 80, 80, 0.7);
  text-align: center;
  font-family: 'SF Mono', 'Menlo', 'Courier New', monospace;
  font-size: 11px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.blog-footer p {
  line-height: 1;
}

.blog-footer p:last-child {
  margin-bottom: 0;
}

/* Archives */

.archive-title {
  padding-bottom: 10px;
  font-weight: 400;
  text-align: center;
}

.archives-loop-ol {
  padding: 0;
  list-style: none;
}

.archives-loop-li {
  display: block;
  cursor: pointer;
  color: inherit;
  line-height: 2;
  margin: 10px 1px;
  padding: 7px 10px 5px 15px;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.02);
  transition: all 0.3s;
}

.archives-loop-li:hover {
  text-decoration: none;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.1);
}

.archives-tags {
  display: inline-block;
  cursor: pointer;
  color: inherit;
  padding: 6px 10px 4px 10px;
  margin-right: 10px;
  margin-bottom: 5px;
  border-radius: 3px;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.02);
  transition: all 0.3s;
}

.archives-tags:hover {
  text-decoration: none;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.1);
}

/* Comments
 *
 * Some styles come from my new theme Kami.
 * Link: https://github.com/metheno/typecho-theme-kami
 */

#comments {
  padding-top: 15px;
  font-size: 15px;
  margin-top: 0;
  word-wrap: break-word;
}

#comments p {
  font-size: 95%;
  line-height: 1.5;
  margin-bottom: 5px;
}

.comment-list, .comment-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list li {
  padding-left: 15px;
  margin-top: 15px;
}

.comment-list li .comment-reply {
  text-align: right;
  font-size: 95%;
}

.comment-list .respond {
  margin-top: 0;
}

.comment-author {
  display: inline-block;
  margin-bottom: 10px;
  width: 100%;
}

.comment-author .avatar {
  padding: 0;
  margin: 0 10px 0 0;
  float: left;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 100%;
}

.comment-meta {
  padding-top: 3px;
}

.comment-meta cite {
  font-weight: bold;
  font-style: normal;
  font-size: 15px;
}

.comment-meta a {
  text-decoration: none;
}

.comment-child {
  padding-left: 10px;
  border-left: solid 3px rgba(0, 0, 0, 0.05);
}

.comment-reply a {
  text-decoration: none;
}

.comment-by-author .comment-meta cite:after {
  content: '博主';
  margin-left: 9px;
  padding: 2px 5px;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 11px;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  text-shadow: none;
}

.kami-comment-form {
  position: relative;
  width: 100%;
  margin: 40px 10px 0 0;
  padding: 10px 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.kami-comment-form .kami-form-control {
  font-size: 14px;
  display: block;
  width: 100%;
  height: 34px;
  font-family: inherit;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0);
  text-shadow: inherit;
}

.kami-comment-form .kami-form-control:focus {
  outline: 0;
}

.kami-comment-form textarea.kami-form-control {
  overflow: hidden;
  height: 150px;
  width: 100%;
  padding: 10px 0;
  font-size: 15px;
  border: none;
  border-radius: 0;
  resize: none;
}

.kami-comment-form .kami-input-control {
  float: left;
  width: calc(99%/3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.kami-comment-form .btn {
  position: absolute;
  right: 30px;
  bottom: 25px;
}

.kami-comment-form #cancel-comment-reply-link {
  position: absolute;
  right: 100px;
  bottom: 25px;
}

/* Blogroll */

.links {
  overflow: hidden;
  margin: 10px;
  padding: 0 0 0 0;
  text-align: center;
}

.links li {
  display: inline-block;
  position: relative;
  margin: 30px;
  font-size: 20px;
  width: 150px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 5px;
  transition: all .3s cubic-bezier(.3, 1, .5, 1);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.links li img {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0 auto;
  height: 150px !important;
  max-width: 100%;
  border-radius: 5px 5px 0 0;
}

.links li span {
  display: block;
  cursor: pointer;
  color: rgba(0, 0, 0, 1);
  font-weight: 300;
  text-align: center;
  line-height: 2.5;
  border-radius: 0 0 5px 5px;
  background-color: rgba(255, 255, 255, 0);
}

.links li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.links a:hover {
  text-decoration: none;
}

/* Browse Happy */

.browsehappy {
  padding: 8px 0;
  background: #FBE3E4;
  color: #8A1F11;
  text-align: center;
}

.browsehappy a {
  color: #8A1F11;
}

/* Misc */

.post-tag-holder a {
  display: inline-block;
  margin-right: 3px;
  padding: 0 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 100px;
  text-decoration: none;
}

.shaky {
  display: inline-block;
  padding: 1px;
  font-size: 12px;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  -webkit-animation-name: shaky-slow;
  -ms-animation-name: shaky-slow;
  animation-name: shaky-slow;
  -webkit-animation-duration: 4s;
  -ms-animation-duration: 4s;
  animation-duration: 4s;
  -webkit-animation-iteration-count: infinite;
  -ms-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in-out;
  -ms-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-delay: 0s;
  -ms-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation-play-state: running;
  -ms-animation-play-state: running;
  animation-play-state: running;
}

@-webkit-keyframes shaky-slow {
  0% {
    -webkit-transform: translate(0px, 0px) rotate(0deg)
  }
  2% {
    -webkit-transform: translate(-1px, 1.5px) rotate(1.5deg)
  }
  4% {
    -webkit-transform: translate(1.3px, 0px) rotate(-0.5deg)
  }
  6% {
    -webkit-transform: translate(1.4px, 1.4px) rotate(-2deg)
  }
  8% {
    -webkit-transform: translate(-1.3px, -1px) rotate(-1.5deg)
  }
  10% {
    -webkit-transform: translate(1.4px, 0px) rotate(-2deg)
  }
  12% {
    -webkit-transform: translate(-1.3px, -1px) rotate(-2deg)
  }
  14% {
    -webkit-transform: translate(1.5px, 1.3px) rotate(1.5deg)
  }
  16% {
    -webkit-transform: translate(1.5px, -1.5px) rotate(-1.5deg)
  }
  18% {
    -webkit-transform: translate(1.3px, -1.3px) rotate(-2deg)
  }
  20% {
    -webkit-transform: translate(1px, 1px) rotate(-0.5deg)
  }
  22% {
    -webkit-transform: translate(1.3px, 1.5px) rotate(-2deg)
  }
  24% {
    -webkit-transform: translate(-1.4px, -1px) rotate(2deg)
  }
  26% {
    -webkit-transform: translate(1.3px, -1.3px) rotate(0.5deg)
  }
  28% {
    -webkit-transform: translate(1.6px, -1.6px) rotate(-2deg)
  }
  30% {
    -webkit-transform: translate(-1.3px, -1.3px) rotate(-1.5deg)
  }
  32% {
    -webkit-transform: translate(-1px, 0px) rotate(2deg)
  }
  34% {
    -webkit-transform: translate(1.3px, 1.3px) rotate(-0.5deg)
  }
  36% {
    -webkit-transform: translate(1.3px, 1.6px) rotate(1.5deg)
  }
  38% {
    -webkit-transform: translate(1.3px, -1.6px) rotate(1.5deg)
  }
  40% {
    -webkit-transform: translate(-1.4px, -1px) rotate(-0.5deg)
  }
  42% {
    -webkit-transform: translate(-1.4px, 1.3px) rotate(-0.5deg)
  }
  44% {
    -webkit-transform: translate(-1.6px, 1.4px) rotate(0.5deg)
  }
  46% {
    -webkit-transform: translate(-2.1px, -1.3px) rotate(-0.5deg)
  }
  48% {
    -webkit-transform: translate(1px, 1.6px) rotate(1.5deg)
  }
  50% {
    -webkit-transform: translate(1.6px, 1.6px) rotate(1.5deg)
  }
  52% {
    -webkit-transform: translate(-1.4px, 1.6px) rotate(0.5deg)
  }
  54% {
    -webkit-transform: translate(1.6px, -1px) rotate(-2deg)
  }
  56% {
    -webkit-transform: translate(1.3px, -1.6px) rotate(-2deg)
  }
  58% {
    -webkit-transform: translate(-1.3px, -1.6px) rotate(0.5deg)
  }
  60% {
    -webkit-transform: translate(1.3px, 1.6px) rotate(-0.5deg)
  }
  62% {
    -webkit-transform: translate(0px, 0px) rotate(-1.5deg)
  }
  64% {
    -webkit-transform: translate(-1.6px, -1.6px) rotate(-2deg)
  }
  66% {
    -webkit-transform: translate(1.6px, -1.6px) rotate(0.5deg)
  }
  68% {
    -webkit-transform: translate(0px, -1.6px) rotate(-2deg)
  }
  70% {
    -webkit-transform: translate(-1.6px, 1px) rotate(1.5deg)
  }
  72% {
    -webkit-transform: translate(-1.6px, 1.6px) rotate(2deg)
  }
  74% {
    -webkit-transform: translate(1.3px, -1.6px) rotate(-0.5deg)
  }
  76% {
    -webkit-transform: translate(1.4px, 1px) rotate(-0.5deg)
  }
  78% {
    -webkit-transform: translate(-1px, 1.4px) rotate(2deg)
  }
  80% {
    -webkit-transform: translate(1.4px, 1.6px) rotate(2deg)
  }
  82% {
    -webkit-transform: translate(-1.6px, -1.6px) rotate(-0.5deg)
  }
  84% {
    -webkit-transform: translate(-1.4px, 1.4px) rotate(-2deg)
  }
  86% {
    -webkit-transform: translate(1px, 1.4px) rotate(-2deg)
  }
  88% {
    -webkit-transform: translate(-1.4px, 1.4px) rotate(-1.5deg)
  }
  90% {
    -webkit-transform: translate(-1.6px, -1.6px) rotate(-2deg)
  }
  92% {
    -webkit-transform: translate(-1.6px, 1.6px) rotate(2deg)
  }
  94% {
    -webkit-transform: translate(-1.6px, -1.6px) rotate(-2deg)
  }
  96% {
    -webkit-transform: translate(-1.4px, 1.3px) rotate(-2deg)
  }
  98% {
    -webkit-transform: translate(1.3px, 1px) rotate(-0.5deg)
  }
}
@keyframes shaky-slow {
  0% {
    transform: translate(0px, 0px) rotate(0deg)
  }
  2% {
    transform: translate(-1px, 1.5px) rotate(1.5deg)
  }
  4% {
    transform: translate(1.3px, 0px) rotate(-0.5deg)
  }
  6% {
    transform: translate(1.4px, 1.4px) rotate(-2deg)
  }
  8% {
    transform: translate(-1.3px, -1px) rotate(-1.5deg)
  }
  10% {
    transform: translate(1.4px, 0px) rotate(-2deg)
  }
  12% {
    transform: translate(-1.3px, -1px) rotate(-2deg)
  }
  14% {
    transform: translate(1.5px, 1.3px) rotate(1.5deg)
  }
  16% {
    transform: translate(1.5px, -1.5px) rotate(-1.5deg)
  }
  18% {
    transform: translate(1.3px, -1.3px) rotate(-2deg)
  }
  20% {
    transform: translate(1px, 1px) rotate(-0.5deg)
  }
  22% {
    transform: translate(1.3px, 1.5px) rotate(-2deg)
  }
  24% {
    transform: translate(-1.4px, -1px) rotate(2deg)
  }
  26% {
    transform: translate(1.3px, -1.3px) rotate(0.5deg)
  }
  28% {
    transform: translate(1.6px, -1.6px) rotate(-1.5deg)
  }
  30% {
    transform: translate(-1.3px, -1.3px) rotate(-1.5deg)
  }
  32% {
    transform: translate(-1px, 0px) rotate(2deg)
  }
  34% {
    transform: translate(1.3px, 1.3px) rotate(-0.5deg)
  }
  36% {
    transform: translate(1.3px, 1.6px) rotate(1.5deg)
  }
  38% {
    transform: translate(1.3px, -1.6px) rotate(1.5deg)
  }
  40% {
    transform: translate(-1.4px, -1px) rotate(-0.5deg)
  }
  42% {
    transform: translate(-1.4px, 1.3px) rotate(-0.5deg)
  }
  44% {
    transform: translate(-1.6px, 1.4px) rotate(0.5deg)
  }
  46% {
    transform: translate(-2.1px, -1.3px) rotate(-0.5deg)
  }
  48% {
    transform: translate(1px, 1.6px) rotate(1.5deg)
  }
  50% {
    transform: translate(1.6px, 1.6px) rotate(1.5deg)
  }
  52% {
    transform: translate(-1.4px, 1.6px) rotate(0.5deg)
  }
  54% {
    transform: translate(1.6px, -1px) rotate(-2deg)
  }
  56% {
    transform: translate(1.3px, -1.6px) rotate(-2deg)
  }
  58% {
    transform: translate(-1.3px, -1.6px) rotate(0.5deg)
  }
  60% {
    transform: translate(1.3px, 1.6px) rotate(-0.5deg)
  }
  62% {
    transform: translate(0px, 0px) rotate(-1.5deg)
  }
  64% {
    transform: translate(-1.6px, -1.6px) rotate(-2deg)
  }
  66% {
    transform: translate(1.6px, -1.6px) rotate(0.5deg)
  }
  68% {
    transform: translate(0px, -1.6px) rotate(-2deg)
  }
  70% {
    transform: translate(-1.6px, 1px) rotate(1.5deg)
  }
  72% {
    transform: translate(-1.6px, 1.6px) rotate(2deg)
  }
  74% {
    transform: translate(1.3px, -1.6px) rotate(-0.5deg)
  }
  76% {
    transform: translate(1.4px, 1px) rotate(-0.5deg)
  }
  78% {
    transform: translate(-1px, 1.4px) rotate(2deg)
  }
  80% {
    transform: translate(1.4px, 1.6px) rotate(2deg)
  }
  82% {
    transform: translate(-1.6px, -1.6px) rotate(-0.5deg)
  }
  84% {
    transform: translate(-1.4px, 1.4px) rotate(-2deg)
  }
  86% {
    transform: translate(1px, 1.4px) rotate(-2deg)
  }
  88% {
    transform: translate(-1.4px, 1.4px) rotate(-1.5deg)
  }
  90% {
    transform: translate(-1.6px, -1.6px) rotate(-2deg)
  }
  92% {
    transform: translate(-1.4px, 1.6px) rotate(2deg)
  }
  94% {
    transform: translate(-1.6px, -1.6px) rotate(-2deg)
  }
  96% {
    transform: translate(-1.4px, 1.3px) rotate(-2deg)
  }
  98% {
    transform: translate(1.3px, 1px) rotate(-0.5deg)
  }
}

.navbar-fixed-top {
  transition: all cubic-bezier(.15,1,.5,1) 0.8s;
}

.nav-up {
  top: -52px;
}

/* Responsive */

@media screen and (min-width: 768px) {

  .blog-container {
    width: 768px;
  }

  html {
    position: relative;
    min-height: 100%;
  }

  body {
    margin-bottom: 82px;
  }

  .blog-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 90px;
    text-align: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
  }

}

@media screen and (max-width: 768px) {

  .blog-container {
    width: 100%;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 15px;
    text-transform: uppercase;
  }

  h5 {
    font-size: 14px;
    text-transform: uppercase;
  }

  h6 {
    font-size: 13px;
    text-transform: uppercase;
  }

  p {
    font-size: 15px;
  }

  .blog-title {
    margin-top: 30px;
    margin-bottom: 0;
    font-weight: 100;
    font-size: 36px;
  }

  .blog-description {
    color: #999;
    font-size: 16px;
  }

  .blog-nav-item {
    padding: 15px 13px 13px 13px;
  }

  .blog-main {
    padding: 25px;
  }

  .blog-post-title {
    font-size: 28px;
  }

  .blog-post-meta {
    font-size: 13px;
  }

  .blog-footer {
    width: 100%;
    padding: 25px 0;
    border-radius: 0;
  }

  .blog-footer p {
    font-size: 10px;
    line-height: 1;
  }

  .blog-footer p span.shaky {
    font-size: 9px;
    line-height: 1;
  }

  .kami-comment-form .kami-input-control {
    width: 100%;
  }

  .MathJax_Display {
    text-align: center;
    font-size: 12px;
  }

  .nav-up {
    top: -48px;
  }

  .links li {
    margin: 11px;
    font-size: 17px;
    width: 100px;
  }

  .links li img {
    height: 100px !important;
  }

  form .text, form .submit {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

}

/*!
 * animate.css -http://daneden.me/animate
 * Version - 3.5.1
 * Licensed under the MIT license - http://opensource.org/licenses/MIT
 *
 * Copyright (c) 2016 Daniel Eden
 */

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@keyframes bounceInUp {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
}

@-webkit-keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

@keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

.bounceOutDown {
  -webkit-animation-name: bounceOutDown;
  animation-name: bounceOutDown;
}
//@xcz1997
table {
    width: 100%;
    max-width: 65em;
    border: 1px solid #dedede;
    margin: 15px auto;
    border-collapse: collapse;
    empty-cells: show;
}

table th,
table td {
  height: 35px;
  border: 1px solid #dedede;
  padding: 0 10px;
}

table th {
    font-weight: bold;
    text-align: center !important;
    background: rgba(158,188,226,0.2);
}

table tbody tr:nth-child(2n) {
    background: rgba(158,188,226,0.12);
}

table tr:hover {
    background: #efefef;
}
table th {
    white-space: nowrap; /*表头内容强制在一行显示*/
}
table td:nth-child(1) {
    white-space: nowrap;
}
.table-area {
    overflow: auto;
}

table {
  /*!
  // IE needs inline-block to position scrolling shadows otherwise use:
  // display: block;
  // max-width: min-content;
  */
  display: inline-block;
  vertical-align: top;
  max-width: 100%;

  overflow-x: auto;

  // optional - looks better for small cell values
  white-space: nowrap;

  border-collapse: collapse;
  border-spacing: 0;
}

table,
table--flip tbody {
  // optional - enable iOS momentum scrolling
  -webkit-overflow-scrolling: touch;

  // scrolling shadows
  background: radial-gradient(left, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 75%) 0 center,
              radial-gradient(right, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 75%) 100% center;
  background-size: 10px 100%, 10px 100%;
  background-attachment: scroll, scroll;
  background-repeat: no-repeat;
}

// change these gradients from white to your background colour if it differs
// gradient on the first cells to hide the left shadow
table td:first-child,
table--flip tbody tr:first-child {
  background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
  background-repeat: no-repeat;
  background-size: 20px 100%;
}

// gradient on the last cells to hide the right shadow
table td:last-child,
table--flip tbody tr:last-child {
  background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 20px 100%;
}

table th {
  font-size: 11px;
  text-align: left;
  text-transform: uppercase;
}

table th,
table td {
  padding: 6px 12px;
  border: 1px solid #d9d7ce;
}

table--flip {
  display: flex;
  overflow: hidden;
  background: none;
}

table--flip thead {
  display: flex;
  flex-shrink: 0;
  min-width: min-content;
}

table--flip tbody {
  display: flex;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
}

table--flip tr {
  display: flex;
  flex-direction: column;
  min-width: min-content;
  flex-shrink: 0;
}

table--flip td,
table--flip th {
  display: block;
}

table--flip td {
  background-image: none !important;
  // border-collapse is no longer active
  border-left: 0;
}

// border-collapse is no longer active
table--flip th:not(:last-child),
table--flip td:not(:last-child) {
  border-bottom: 0;
}
