@font-face {
  font-family: "Roboto";
  src: local('Roboto Thin'), local('Roboto-Thin'), url("fonts/roboto/Roboto-Thin.woff2") format("woff2"), url("fonts/roboto/Roboto-Thin.woff") format("woff"), url("fonts/roboto/Roboto-Thin.ttf") format("truetype");
  font-weight: 200;
}
@font-face {
  font-family: "Roboto";
  src: local('Roboto Light'), local('Roboto-Light'), url("fonts/roboto/Roboto-Light.woff2") format("woff2"), url("fonts/roboto/Roboto-Light.woff") format("woff"), url("fonts/roboto/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
}
@font-face {
  font-family: "Roboto";
  src: local('Roboto Regular'), local('Roboto-Regular'), url("fonts/roboto/Roboto-Regular.woff2") format("woff2"), url("fonts/roboto/Roboto-Regular.woff") format("woff"), url("fonts/roboto/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Roboto";
  src: local('Roboto Medium'), local('Roboto-Medium'), url("fonts/roboto/Roboto-Medium.woff2") format("woff2"), url("fonts/roboto/Roboto-Medium.woff") format("woff"), url("fonts/roboto/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
}
@font-face {
  font-family: "Roboto";
  src: local('Roboto Bold'), local('Roboto-Bold'), url("fonts/roboto/Roboto-Bold.woff2") format("woff2"), url("fonts/roboto/Roboto-Bold.woff") format("woff"), url("fonts/roboto/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: 'FontAwesome';
  src: url('fonts/fontawesome/fontawesome-webfont.woff2?v=4.5.0') format('woff2'), url('fonts/fontawesome/fontawesome-webfont.woff?v=4.5.0') format('woff'), url('fonts/fontawesome/fontawesome-webfont.ttf?v=4.5.0') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.icon {
  display: inline-block;
  font-family: 'FontAwesome';
  font-size: 1em;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-lg {
  font-size: 1.33333333em;
  line-height: 0.75em;
  vertical-align: -15%;
}
.icon-2x {
  font-size: 2em;
}
.icon-3x {
  font-size: 3em;
}
.icon-4x {
  font-size: 4em;
}
.icon-5x {
  font-size: 5em;
}
.icon-navicon:before,
.icon-bars:before {
  content: "\f0c9";
}
.icon-share-alt:before {
  content: "\f1e0";
}
.icon-home:before {
  content: "\f015";
}
.icon-qq:before {
  content: "\f1d6";
}
.icon-weixin:before {
  content: "\f1d7";
}
.icon-twitter:before {
  content: "\f099";
}
.icon-twitter-square:before {
  content: "\f081";
}
.icon-facebook:before {
  content: "\f09a";
}
.icon-facebook-square:before {
  content: "\f082";
}
.icon-weibo:before {
  content: "\f18a";
}
.icon-github:before {
  content: "\f113";
}
.icon-rss-square:before {
  content: "\f143";
}
.icon-tag:before {
  content: "\f02b";
}
.icon-tags:before {
  content: "\f02c";
}
.icon-book:before {
  content: "\f02d";
}
.icon-archives:before {
  content: "\f187";
}
.icon-cc:before {
  content: "\f20a";
}
.icon-angle-left:before {
  content: "\f104";
}
.icon-angle-right:before {
  content: "\f105";
}
.icon-chevron-up:before {
  content: "\f077";
}
.icon-chevron-left:before {
  content: "\f053";
}
.icon-chevron-right:before {
  content: "\f054";
}
.icon-close:before {
  content: "\f00d";
}
.icon-link:before {
  content: "\f0c1";
}
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  background-color: #fff;
  color: #212121;
  font-size: 15px;
  line-height: 1.5;
}
body {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
html,
body {
  position: relative;
  min-height: 100%;
  height: 100%;
}
body,
input,
button,
textarea,
select,
option {
  font: normal 1em Roboto, 'Helvetica Neue', Helvetica, 'Microsoft Yahei', Arial;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
pre,
dl,
dd,
blockquote,
button,
input {
  margin: 0;
}
input,
legend,
input,
textarea,
button {
  padding: 0;
}
form,
fieldset,
th,
td {
  margin: 0;
  padding: 0;
}
ol,
ul {
  margin: 12px 0;
  padding: 0 0 0 32px;
}
ol.reset,
ul.reset {
  margin: 0;
  padding: 0;
  list-style: none;
}
ol ol,
ol ul,
ul ol,
ul ul {
  margin-top: 0;
  margin-bottom: 0;
}
p {
  margin: 12px 0;
}
small {
  font-size: 75%;
  line-height: 1;
}
img {
  max-width: 100%;
  border: none;
}
img,
input,
button,
label {
  vertical-align: middle;
}
em,
i {
  font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
h1,
.h1 {
  font-size: 44px;
  line-height: 48px;
}
h2,
.h2 {
  font-size: 34px;
  line-height: 40px;
}
h3,
.h3 {
  font-size: 24px;
  line-height: 32px;
}
h4,
.h4 {
  font-size: 20px;
  line-height: 28px;
}
h5,
.h5 {
  font-size: 16px;
  line-height: 24px;
}
h6,
.h6 {
  font-size: 12px;
  line-height: 20px;
}
input[type="button"],
input[type="submit"],
input[type="search"],
input[type="reset"] {
  cursor: pointer;
  -webkit-appearance: button;
}
input:focus,
select:focus,
button:focus,
textarea:focus {
  outline: none;
}
textarea {
  resize: none;
}
a {
  background-color: transparent;
  background-image: none;
  color: #3f51b5;
  text-decoration: none;
}
a:hover {
  color: #303f9f;
  outline: 0;
}
hr,
.hr {
  border: 0;
  border-top: 1px solid #dadada;
  box-sizing: content-box;
  display: block;
  height: 0;
  margin-top: 24px;
  margin-bottom: 24px;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.tr {
  text-align: right;
}
.tc {
  text-align: center;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
  overflow: hidden;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* flex布局  */
.flex-row,
.flex-row-vertical {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.flex-row-vertical {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
/* 多行布局 */
.flex-row-wrap {
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
/* 子元素反向排列 */
.flex-row-reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}
/* 子元素默认平均分布 */
.flex-row > * {
  display: block;
}
.flex-col {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
/* 垂直居中 */
.flex-middle {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
/* 底部对齐 */
.flex-bottom {
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
}
/* 沿主轴方向排列方式 */
.flex-justify-start {
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.flex-justify-end {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}
.flex-justify-between {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
/* 沿侧轴方向排列方式 */
.flex-align-start {
  -webkit-align-content: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
}
.flex-align-end {
  -webkit-align-content: flex-end;
  -ms-flex-line-pack: end;
  align-content: flex-end;
}
.flex-align-around {
  -webkit-align-content: space-around;
  -ms-flex-line-pack: distribute;
  align-content: space-around;
}
.flex-align-between {
  -webkit-align-content: space-between;
  -ms-flex-line-pack: justify;
  align-content: space-between;
}
.flex-col-auto {
  -webkit-box-flex: 0;
  -webkit-flex: 0 auto;
  -ms-flex: 0 auto;
  flex: 0 auto;
}
.flex-col-2 {
  -webkit-box-flex: 2;
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2;
  width: 0;
}
.flex-col-3 {
  -webkit-box-flex: 3;
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  width: 0;
}
.flex-col-4 {
  -webkit-box-flex: 4;
  -webkit-flex: 4;
  -ms-flex: 4;
  flex: 4;
  width: 0;
}
.flex-col-5 {
  -webkit-box-flex: 5;
  -webkit-flex: 5;
  -ms-flex: 5;
  flex: 5;
  width: 0;
}
.flex-col-6 {
  -webkit-box-flex: 6;
  -webkit-flex: 6;
  -ms-flex: 6;
  flex: 6;
  width: 0;
}
.flex-col-7 {
  -webkit-box-flex: 7;
  -webkit-flex: 7;
  -ms-flex: 7;
  flex: 7;
  width: 0;
}
.flex-col-8 {
  -webkit-box-flex: 8;
  -webkit-flex: 8;
  -ms-flex: 8;
  flex: 8;
  width: 0;
}
.flex-col-9 {
  -webkit-box-flex: 9;
  -webkit-flex: 9;
  -ms-flex: 9;
  flex: 9;
  width: 0;
}
.flex-col-10 {
  -webkit-box-flex: 10;
  -webkit-flex: 10;
  -ms-flex: 10;
  flex: 10;
  width: 0;
}
#loading {
  position: fixed;
  top: 0;
  left: -100%;
  z-index: 70;
  width: 100%;
  height: 3px;
  background: #ff4081;
}
#loading.active {
  -webkit-animation: loading-anim 1s ease-in-out infinite;
  animation: loading-anim 1s ease-in-out infinite;
}
@-webkit-keyframes loading-anim {
  to {
    -webkit-transform: translateX(200%);
    transform: translateX(200%);
  }
}
@keyframes loading-anim {
  to {
    -webkit-transform: translateX(200%);
    transform: translateX(200%);
  }
}
/*!
 * Waves v0.7.4
 * http://fian.my.id/Waves
 *
 * Copyright 2014 Alfiana E. Sibuea and other contributors
 * Released under the MIT license
 * https://github.com/fians/Waves/blob/master/LICENSE
 */
.waves-effect {
  position: relative;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.waves-effect .waves-ripple {
  position: absolute;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.2);
  background: -webkit-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
  background: -o-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
  background: -moz-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
  background: radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  -o-transition-property: -o-transform, opacity;
  transition-property: transform, opacity;
  -webkit-transform: scale(0) translate(0, 0);
  -moz-transform: scale(0) translate(0, 0);
  -ms-transform: scale(0) translate(0, 0);
  -o-transform: scale(0) translate(0, 0);
  transform: scale(0) translate(0, 0);
  pointer-events: none;
}
.waves-effect.waves-light .waves-ripple {
  background: rgba(255, 255, 255, 0.4);
  background: -webkit-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
  background: -o-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
  background: -moz-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
  background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
}
.waves-effect.waves-classic .waves-ripple {
  background: rgba(0, 0, 0, 0.2);
}
.waves-effect.waves-classic.waves-light .waves-ripple {
  background: rgba(255, 255, 255, 0.4);
}
.waves-notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}
.waves-button,
.waves-circle {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
.waves-button,
.waves-button:hover,
.waves-button:visited,
.waves-button-input {
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0);
  font-size: 1em;
  text-align: center;
  text-decoration: none;
  z-index: 1;
}
.waves-button {
  padding: 0.85em 1.1em;
  border-radius: 0.2em;
}
.waves-button-input {
  margin: 0;
  padding: 0.85em 1.1em;
}
.waves-input-wrapper {
  border-radius: 0.2em;
  vertical-align: bottom;
}
.waves-input-wrapper.waves-button {
  padding: 0;
}
.waves-input-wrapper .waves-button-input {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
}
.waves-circle {
  text-align: center;
  width: 2.5em;
  height: 2.5em;
  line-height: 2.5em;
  border-radius: 50%;
}
.waves-float {
  -webkit-mask-image: none;
  -webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.waves-float:active {
  -webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
}
.waves-block {
  display: block;
}
/* Firefox Bug: link not triggered */
a.waves-effect .waves-ripple {
  z-index: -1;
}
.container,
#main {
  position: relative;
}
#menu-off {
  position: absolute;
  top: 0;
  left: 100%;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
#menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 66;
  width: 240px;
  min-height: 100%;
  background: #fff;
  will-change: left;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
#menu.hide {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}
#menu.hide #menu-off {
  -webkit-transform: scale(0);
  transform: scale(0);
}
#menu.hide + #main {
  padding-left: 0;
}
#menu .inner {
  position: relative;
  height: 100%;
}
#menu .brand-wrap {
  background: url(../img/brand.jpg);
  background-size: 100% 100%;
}
#menu .brand {
  padding: 40px 20px 2em;
  background: rgba(63, 81, 181, 0.5);
}
#menu .avatar {
  display: block;
  width: 80px;
  height: 80px;
  border: 2px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
#menu .introduce {
  margin: 1em 0 0;
  color: #ffffff;
}
#menu .mail {
  display: inline-block;
  padding-top: 4px;
  color: #c5cae9;
  font-size: 13px;
}
#menu .social {
  margin: 2em 0 0;
}
#menu .social a {
  opacity: .8;
}
#menu .social a.weibo {
  color: #DC5442;
}
#menu .social a.github {
  color: #363F45;
}
#menu .social a.rss {
  color: #FF9800;
}
#menu .social a:hover {
  opacity: 1;
}
#menu .nav {
  padding: 0;
  list-style: none;
  line-height: 44px;
}
#menu .nav li {
  padding: 0 20px;
}
#menu .nav li .icon {
  padding-right: 30px;
}
#menu .nav li:hover,
#menu .nav li.active {
  background: rgba(0, 0, 0, 0.05);
}
#menu .nav li:hover a,
#menu .nav li.active a,
#menu .nav li:hover .icon,
#menu .nav li.active .icon {
  color: #3f51b5;
}
#menu .nav a {
  display: block;
  height: 44px;
  font-weight: 500;
  color: #727272;
}
#menu .footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  font-size: 12px;
  font-family: Consolas, Monaco, courier, monospace;
  padding: 10px 20px;
  border-top: 1px solid #dadada;
}
#menu .footer .rss {
  position: absolute;
  right: 20px;
  bottom: 70px;
  color: #E64A19;
}
#main {
  padding-left: 240px;
  min-height: 100%;
  background: #fbfdfe;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
.body-wrap {
  padding: 30px 0 40px;
}
.container {
  width: 960px;
  margin: 0 auto;
}
.mask {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 88;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .5;
  filter: alpha(opacity=50);
  display: none;
}
.mask.in {
  display: block;
}
@media screen and (max-width: 1240px) {
  .container {
    width: 720px;
  }
  #menu-off {
    display: none;
  }
  #menu {
    z-index: 99;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  #menu.show {
    -webkit-transform: none;
    transform: none;
  }
  #main {
    padding-left: 0;
  }
}
@media screen and (max-width: 760px) {
  .container {
    width: 100%;
    padding: 20px 16px;
  }
  #menu .brand {
    padding-top: 20px;
    padding-bottom: 1em;
  }
  #menu .nav {
    line-height: 36px;
  }
  #menu .nav a {
    height: 36px;
  }
}
.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  color: #ffffff;
  height: 56px;
  background: #3f51b5;
  -webkit-transition: padding-left 0.6s ease-in-out, background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s linear;
  transition: padding-left 0.6s ease-in-out, background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s linear;
  z-index: 30;
}
.header.fixed {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.header.fixed .header-title {
  visibility: visible;
}
.header-icon {
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  color: #ffffff;
}
.header-icon:hover {
  color: #ffffff;
}
.header-title {
  visibility: hidden;
  font-weight: 400;
  line-height: 56px;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
}
.content-header {
  padding: 104px 16px 48px;
  color: #ffffff;
  background: #3f51b5;
}
.content-header .subtitle {
  padding-top: 6px;
  color: #c5cae9;
}
@media screen and (max-width: 1240px) {
  .header-title {
    text-align: left;
  }
}
@media screen and (max-width: 760px) {
  .content-header {
    padding: 72px 16px 20px;
  }
  .content-header .author {
    font-size: 24px;
    line-height: 30px;
  }
  .content-header .subtitle {
    font-size: 14px;
    line-height: 20px;
  }
}
.post-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.post-list-item {
  padding: 1em 0 2em;
  border-bottom: 1px solid #dadada;
}
.post-title {
  margin: .65em 0;
}
.post-title-link {
  color: #3f51b5;
  position: relative;
  display: inline-block;
}
.post-title-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #3f51b5;
  visibility: hidden;
  transform: scaleX(0);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
.post-title-link:hover::after,
.post-title-link:active::after {
  visibility: visible;
  transform: scaleX(1);
}
.post-meat {
  margin: 1.2em 0;
  font-size: 13px;
  color: #727272;
}
.article-tag-list {
  padding: 0;
  list-style: none;
  overflow: hidden;
}
.article-tag-list-item {
  display: inline-block;
  margin: 0 1em 5px 0;
}
.article-tag-list-link {
  display: inline-block;
  padding: 0 12px;
  line-height: 1.6em;
  color: #ff4081;
  background: #ffd9e6;
  border-radius: 2px;
}
.article-tag-list-link:hover,
.article-tag-list-link:active {
  color: #fff;
  background: #ff4081;
}
.post-more {
  float: right;
  display: block;
  height: 32px;
  line-height: 32px;
  padding: 0 1.2em;
  color: #fff !important;
  background: #3f51b5;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
.post-more:hover,
.post-more:active {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.post-more:hover,
.post-more:active {
  background: #3f51b5;
}
#page-nav {
  margin: 30px 0 0;
  text-align: center;
}
#page-nav .inner {
  display: inline-block;
  white-space: nowrap;
}
#page-nav a,
#page-nav span {
  display: inline-block;
  line-height: 34px;
  padding: 0 1em;
  margin: 0 2px;
  font-size: 14px;
  color: #727272;
  border-radius: 3px;
  overflow: hidden;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
#page-nav a:hover,
#page-nav a:active {
  color: #3f51b5;
  background: #dadada;
}
#page-nav .current {
  color: #fff;
  background: #3f51b5;
}
@media screen and (max-width: 760px) {
  .post-title {
    font-size: 20px;
    line-height: 24px;
  }
  .post-more {
    height: 28px;
    line-height: 28px;
    font-size: 13px;
  }
}
#gotop {
  position: fixed;
  right: 16px;
  bottom: 30px;
  z-index: 30;
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  color: #fff;
  background: #ff4081;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
  -webkit-transform: translateX(200%);
  transform: translateX(200%);
}
#gotop:hover,
#gotop:active {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
#gotop.in {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}
@media screen and (max-width: 760px) {
  #gotop {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
}
.share-icons li {
  display: inline-block;
}
.share-icons .icon-square:before {
  display: inline-block;
  text-align: center;
  color: rgba(0, 0, 0, 0);
  border-radius: .2em;
}
.share-icons a {
  display: inline-block;
  border-radius: .2em;
  color: #fff;
  text-align: center;
}
.share-icons a.weibo {
  background: #e6162d;
}
.share-icons a.qq {
  background: #3d95d5;
}
.share-icons a.weixin {
  background: #2bad13;
}
.share-icons a.facebook {
  background: #4862a3;
}
.share-icons a.twitter {
  background: #55acee;
}
.share-icons a.douban {
  background: #228a31;
}
.global-share {
  position: fixed;
  top: 56px;
  right: 56px;
  z-index: 96;
  width: 260px;
  padding: 16px  6px;
  background: #fff;
  border-radius: 3px;
  visibility: hidden;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  -webkit-transform: scale(0);
  transform: scale(0);
  transform-origin: top right;
  -webkit-transform-origin: top right;
}
.global-share:hover,
.global-share:active {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.global-share.in {
  visibility: visible;
  -webkit-transform: none;
  transform: none;
}
.global-share .share-icons {
  margin: 0 auto;
}
.global-share .tit {
  display: none;
}
.global-share li {
  width: 80px;
  text-align: center;
}
.global-share a {
  position: relative;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-bottom: 20px;
  font-size: 1.33333333em;
}
.global-share a:after {
  position: absolute;
  bottom: -22px;
  left: 50%;
  content: attr(data-title);
  white-space: nowrap;
  line-height: 20px;
  font-size: 12px;
  color: #3f51b5;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.post-share {
  margin-bottom: 24px;
  padding: 8px 12px;
  background: #eee;
}
.post-share .tit {
  margin-bottom: .5em;
}
.post-share .share-icons a {
  width: 24px;
  height: 24px;
  line-height: 24px;
  position: relative;
}
.post-share .share-icons a:before,
.post-share .share-icons a:after {
  position: absolute;
  right: 50%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  -webkit-transform: translateX(50%);
  transform: translateX(50%);
}
.post-share .share-icons a:before {
  top: -32px;
  content: attr(data-title);
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  line-height: 24px;
  padding: 0 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.8);
}
.post-share .share-icons a:after {
  top: -8px;
  content: '';
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
}
.post-share .share-icons a:hover:before,
.post-share .share-icons a:hover:after {
  visibility: visible;
  opacity: 1;
}
.post-share .share-icons a:before {
  content: '分享到' attr(data-title);
}
.post-share li {
  margin-left: .5em;
}
.post-share li:first-child {
  margin-left: 0;
}
.post-widget {
  float: right;
  margin-left: 40px;
}
.post-toc-wrap.fixed {
  position: fixed;
  top: 76px;
}
.post-toc-wrap .post-toc {
  list-style: none;
  margin: 0 !important;
  padding-left: 20px;
  border-left: 5px solid #3f51b5;
}
.post-toc-wrap .post-toc a {
  display: inline-block;
  height: 26px;
  line-height: 26px;
  font-weight: 400;
}
.post-toc-wrap .post-toc a.active,
.post-toc-wrap .post-toc a:hover {
  font-weight: 500;
  text-decoration: underline;
}
.post-body {
  padding: 0 0 20px;
}
.post-main {
  overflow: hidden;
}
.post-nav {
  border-top: 1px solid #dadada;
}
.post-nav .prev,
.post-nav .next {
  padding: 10px 0;
}
.post-nav .next {
  text-align: right;
}
.post-nav .next .post-nav-link:hover .article-nav-title {
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
}
.post-nav .prev .post-nav-link:hover .article-nav-title {
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
}
.post-nav-link {
  display: inline-block;
  line-height: 2em;
  font-size: 14px;
  color: #727272;
  white-space: nowrap;
}
.post-nav-link .icon {
  font-size: 14px;
  padding: 0 12px;
}
.post-nav-link .article-nav-title {
  display: inline-block;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
.post-nav-link:hover {
  color: #ff4081;
}
.post-content {
  min-height: 100px;
  line-height: 1.8;
}
.post-content p a,
.post-content li a {
  color: #ff4081;
  border-bottom: 1px solid #ffcadc;
  word-break: break-all;
}
.post-content p a:hover,
.post-content li a:hover,
.post-content p a:active,
.post-content li a:active {
  border-color: #ff4081;
}
.post-content strong {
  font-weight: 500;
  border-bottom: 1px solid #ff4081;
}
.post-content h1 {
  font-size: 24px;
}
.post-content h2 {
  font-size: 22px;
}
.post-content h3 {
  font-size: 20px;
}
.post-content h4 {
  font-size: 18px;
}
.post-content h5 {
  font-size: 16px;
}
.post-content h6 {
  font-size: 14px;
}
.post-content h1,
.post-content h2,
.post-content h3 {
  padding-top: 24px;
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content blockquote,
.post-content ol,
.post-content p,
.post-content pre,
.post-content table,
.post-content ul {
  margin-bottom: 20px;
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #3f51b5;
}
.post-content blockquote p:first-child,
.post-content blockquote:first-child,
.post-content h2:first-child,
.post-content h3:first-child,
.post-content h4:first-child,
.post-content ol:first-child,
.post-content p:first-child,
.post-content pre:first-child,
.post-content table:first-child,
.post-content ul:first-child {
  margin-top: 0;
}
.post-content ol,
.post-content ul {
  font-size: 13px;
  line-height: 2em;
}
.post-content video,
.post-content audio {
  max-width: 100%;
}
.post-content img {
  display: block;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.post-content blockquote {
  position: relative;
  padding: 8px 20px;
  border-left: 4px solid #3f51b5;
  color: #6e6e6e;
  background: #f5f5f5;
  font-size: 14px;
  border-radius: 0 2px 2px 0;
}
.post-content blockquote p {
  margin-bottom: 0;
}
.post-content blockquote footer {
  margin-top: 20px;
  text-align: right;
  font-size: 80%;
}
.post-content table {
  width: 100%;
  border: 1px solid #dedede;
  margin: 15px 0;
  border-collapse: collapse;
}
.post-content table tr,
.post-content table td {
  height: 35px;
}
.post-content table thead tr {
  background: #f8f8f8;
}
.post-content table tbody tr:hover {
  background: #efefef;
}
.post-content table td,
.post-content table th {
  border: 1px solid #dedede;
  padding: 0 10px;
}
.post-content figure table {
  border: none;
  width: auto;
  margin: 0;
}
.post-content figure table tbody tr:hover {
  background: none;
}
.post-content figure table tbody td {
  border: none;
}
.post-content code,
.post-content kbd,
.post-content pre,
.post-content samp {
  font-family: Consolas, Monaco, courier, monospace;
}
.post-content code,
.post-content pre {
  background: #f5f5f5;
}
.post-content p code,
.post-content li code {
  color: #ff4081;
  line-height: 1;
  margin: 0 4px;
  font-size: 80%;
  padding: 3px 5px;
  border-radius: 2px;
  word-break: break-all;
}
.post-content pre {
  font-size: 12px;
  margin: 24px 0;
}
.post-content pre code {
  border-radius: 0;
  font-size: inherit;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 760px) {
  .post-all {
    padding-right: 0;
  }
  .post-widget {
    display: none;
  }
}
.duoshuo {
  padding-top: 40px;
}
.archive-year-wrap {
  width: 80px;
  font-size: 18px;
}
.archive-year {
  display: block;
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  border-radius: 50%;
  color: #fff !important;
  background: #3f51b5;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.archives {
  padding-left: 30px;
  border-left: 3px solid #dadada;
}
.archive-article {
  position: relative;
  margin: 20px 0;
  padding: 16px 20px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.archive-article:before {
  position: absolute;
  top: 0;
  left: -2.5em;
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid #dadada;
  background: #c5cae9;
  border-radius: 50%;
}
.archive-article .archive-article-header {
  margin: 0 0 16px;
}
.archive-article .post-tiem {
  color: #727272;
}
.archive-article .post-title,
.archive-article .article-tag-list {
  margin: 0;
}
.tags-title {
  text-align: center;
  margin-bottom: 24px;
}
.tag-list {
  width: 720px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.tag-list-item {
  margin: 0 20px 16px 0;
  white-space: nowrap;
  padding: 4px 0;
  background: #fbfdfe;
  position: relative;
  display: inline-block;
}
.tag-list-item:hover {
  /* .tag-list-count {
             visibility: visible;
             top: -70%;
         }*/
}
.tag-list-item:hover .tag-list-link {
  color: #ff4081;
}
.tag-list-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff4081;
  visibility: hidden;
  transform: scaleX(0);
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
.tag-list-item:hover::after,
.tag-list-item:active::after {
  visibility: visible;
  transform: scaleX(1);
}
.tag-list-link {
  display: block;
  line-height: 1.2em;
  color: #727272;
}
.tag-list-count {
  position: absolute;
  left: 50%;
  top: 0;
  padding: 2px 6px;
  color: #fff;
  font-size: 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.8);
  transform: translateX(-50%);
  visibility: hidden;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}
@media screen and (max-width: 760px) {
  .tag-list {
    width: 100%;
  }
}
.post-content pre {
  overflow-x: auto;
  position: relative;
  background: #f5f5f5;
  padding: 10px 15px;
  line-height: 19.2px;
  border-radius: 2px;
  color: #4d4d4c;
}
.post-content pre code {
  background: none;
  color: #4d4d4c;
}
.post-content .highlight {
  overflow-x: auto;
  position: relative;
  background: #f5f5f5;
  padding: 10px 15px;
  line-height: 19.2px;
  border-radius: 2px;
}
.post-content .highlight pre {
  margin: 0;
}
.post-content .highlight table {
  margin: 0;
  width: auto;
}
.post-content .highlight td {
  border: none;
}
.post-content .highlight tr,
.post-content .highlight td {
  border-collapse: collapse;
  padding: 0;
  margin: 0;
}
.post-content .highlight figcaption {
  font-size: 0.85em;
  color: #8e908c;
  line-height: 1em;
  margin-bottom: 1em;
}
.post-content .highlight figcaption a {
  float: right;
}
.post-content .highlight .gutter pre {
  color: #727272;
  font-size: 0.85em;
  text-align: right;
  padding-right: 20px;
}
.post-content .highlight .gutter pre .line {
  text-shadow: none;
}
.post-content .highlight .line {
  font-size: 12px;
  height: 19.2px;
}
.post-content .gist {
  background: #f5f5f5;
}
.post-content .gist tr,
.post-content .gist td {
  height: auto;
}
.post-content .gist .gist-file {
  border: none;
  font-family: Consolas, Monaco, courier, monospace;
}
.post-content .gist .gist-file .highlight {
  margin: 0;
  padding: 0;
  border: none;
}
.post-content .gist .gist-data {
  border: none;
}
.post-content .gist .gist-data .line-numbers {
  color: #727272;
  font-size: 0.85em;
  background: none;
  border: none;
  padding: 0 20px 0 0;
}
.post-content .gist .gist-data .line-data {
  padding: 0 !important;
}
.post-content .gist .gist-meta {
  background: #f5f5f5;
  color: #8e908c;
  font: 0.85em Consolas, Monaco, courier, monospace;
}
.post-content .gist .gist-meta a {
  color: #ff4081;
  font-weight: normal;
}
.post-content .gist .gist-meta a:hover {
  text-decoration: underline;
}
pre .comment {
  color: #8e908c;
}
pre .tag {
  color: #8e908c;
}
pre .variable,
pre .title,
pre .type,
pre .regexp,
pre .ruby .constant,
pre .xml .tag .title,
pre .xml .pi,
pre .xml .doctype,
pre .html .doctype,
pre .css .id,
pre .css .class,
pre .css .pseudo {
  color: #c82829;
}
pre .class,
pre .number,
pre .preprocessor,
pre .built_in,
pre .literal,
pre .params,
pre .constant {
  color: #f5871f;
}
pre .attribute,
pre .label,
pre .ruby .class .title,
pre .css .rules .attribute {
  color: #718c00;
}
pre .string,
pre .value,
pre .inheritance,
pre .header,
pre .ruby .symbol,
pre .xml .cdata {
  color: #4271ae;
}
pre .css .hexcolor,
pre .css .tag {
  color: #3e999f;
}
pre .function,
pre .python .decorator,
pre .python .title,
pre .ruby .function .title,
pre .ruby .title .keyword,
pre .perl .sub,
pre .javascript .title,
pre .coffeescript .title {
  color: #4271ae;
}
pre .keyword,
pre .javascript .function {
  color: #8959a8;
}
