/* reset.css start */
/*! minireset.css v0.0.3 | MIT License | github.com/jgthms/minireset.css */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
button,
input,
select,
textarea {
  margin: 0;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img,
embed,
iframe,
object,
audio,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

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

td,
th {
  padding: 0;
  text-align: left;
}

/* reset.css end */

/* layout.css start */
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  float: left;
}
.col-xs-12 {
  width: 100%;
}
.col-xs-11 {
  width: 91.66666667%;
}
.col-xs-10 {
  width: 83.33333333%;
}
.col-xs-9 {
  width: 75%;
}
.col-xs-8 {
  width: 66.66666667%;
}
.col-xs-7 {
  width: 58.33333333%;
}
.col-xs-6 {
  width: 50%;
}
.col-xs-5 {
  width: 41.66666667%;
}
.col-xs-4 {
  width: 33.33333333%;
}
.col-xs-3 {
  width: 25%;
}
.col-xs-2 {
  width: 16.66666667%;
}
.col-xs-1 {
  width: 8.33333333%;
}
.col-xs-pull-12 {
  right: 100%;
}
.col-xs-pull-11 {
  right: 91.66666667%;
}
.col-xs-pull-10 {
  right: 83.33333333%;
}
.col-xs-pull-9 {
  right: 75%;
}
.col-xs-pull-8 {
  right: 66.66666667%;
}
.col-xs-pull-7 {
  right: 58.33333333%;
}
.col-xs-pull-6 {
  right: 50%;
}
.col-xs-pull-5 {
  right: 41.66666667%;
}
.col-xs-pull-4 {
  right: 33.33333333%;
}
.col-xs-pull-3 {
  right: 25%;
}
.col-xs-pull-2 {
  right: 16.66666667%;
}
.col-xs-pull-1 {
  right: 8.33333333%;
}
.col-xs-pull-0 {
  right: auto;
}
.col-xs-push-12 {
  left: 100%;
}
.col-xs-push-11 {
  left: 91.66666667%;
}
.col-xs-push-10 {
  left: 83.33333333%;
}
.col-xs-push-9 {
  left: 75%;
}
.col-xs-push-8 {
  left: 66.66666667%;
}
.col-xs-push-7 {
  left: 58.33333333%;
}
.col-xs-push-6 {
  left: 50%;
}
.col-xs-push-5 {
  left: 41.66666667%;
}
.col-xs-push-4 {
  left: 33.33333333%;
}
.col-xs-push-3 {
  left: 25%;
}
.col-xs-push-2 {
  left: 16.66666667%;
}
.col-xs-push-1 {
  left: 8.33333333%;
}
.col-xs-push-0 {
  left: auto;
}
.col-xs-offset-12 {
  margin-left: 100%;
}
.col-xs-offset-11 {
  margin-left: 91.66666667%;
}
.col-xs-offset-10 {
  margin-left: 83.33333333%;
}
.col-xs-offset-9 {
  margin-left: 75%;
}
.col-xs-offset-8 {
  margin-left: 66.66666667%;
}
.col-xs-offset-7 {
  margin-left: 58.33333333%;
}
.col-xs-offset-6 {
  margin-left: 50%;
}
.col-xs-offset-5 {
  margin-left: 41.66666667%;
}
.col-xs-offset-4 {
  margin-left: 33.33333333%;
}
.col-xs-offset-3 {
  margin-left: 25%;
}
.col-xs-offset-2 {
  margin-left: 16.66666667%;
}
.col-xs-offset-1 {
  margin-left: 8.33333333%;
}
.col-xs-offset-0 {
  margin-left: 0;
}
@media (min-width: 768px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-1 {
    width: 8.33333333%;
  }
  .col-sm-pull-12 {
    right: 100%;
  }
  .col-sm-pull-11 {
    right: 91.66666667%;
  }
  .col-sm-pull-10 {
    right: 83.33333333%;
  }
  .col-sm-pull-9 {
    right: 75%;
  }
  .col-sm-pull-8 {
    right: 66.66666667%;
  }
  .col-sm-pull-7 {
    right: 58.33333333%;
  }
  .col-sm-pull-6 {
    right: 50%;
  }
  .col-sm-pull-5 {
    right: 41.66666667%;
  }
  .col-sm-pull-4 {
    right: 33.33333333%;
  }
  .col-sm-pull-3 {
    right: 25%;
  }
  .col-sm-pull-2 {
    right: 16.66666667%;
  }
  .col-sm-pull-1 {
    right: 8.33333333%;
  }
  .col-sm-pull-0 {
    right: auto;
  }
  .col-sm-push-12 {
    left: 100%;
  }
  .col-sm-push-11 {
    left: 91.66666667%;
  }
  .col-sm-push-10 {
    left: 83.33333333%;
  }
  .col-sm-push-9 {
    left: 75%;
  }
  .col-sm-push-8 {
    left: 66.66666667%;
  }
  .col-sm-push-7 {
    left: 58.33333333%;
  }
  .col-sm-push-6 {
    left: 50%;
  }
  .col-sm-push-5 {
    left: 41.66666667%;
  }
  .col-sm-push-4 {
    left: 33.33333333%;
  }
  .col-sm-push-3 {
    left: 25%;
  }
  .col-sm-push-2 {
    left: 16.66666667%;
  }
  .col-sm-push-1 {
    left: 8.33333333%;
  }
  .col-sm-push-0 {
    left: auto;
  }
  .col-sm-offset-12 {
    margin-left: 100%;
  }
  .col-sm-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-sm-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-sm-offset-9 {
    margin-left: 75%;
  }
  .col-sm-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-sm-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-sm-offset-6 {
    margin-left: 50%;
  }
  .col-sm-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-sm-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-sm-offset-3 {
    margin-left: 25%;
  }
  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-sm-offset-0 {
    margin-left: 0;
  }
}
@media (min-width: 992px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-11 {
    width: 91.66666667%;
  }
  .col-md-10 {
    width: 83.33333333%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .col-md-7 {
    width: 58.33333333%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-5 {
    width: 41.66666667%;
  }
  .col-md-4 {
    width: 33.33333333%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-1 {
    width: 8.33333333%;
  }
  .col-md-pull-12 {
    right: 100%;
  }
  .col-md-pull-11 {
    right: 91.66666667%;
  }
  .col-md-pull-10 {
    right: 83.33333333%;
  }
  .col-md-pull-9 {
    right: 75%;
  }
  .col-md-pull-8 {
    right: 66.66666667%;
  }
  .col-md-pull-7 {
    right: 58.33333333%;
  }
  .col-md-pull-6 {
    right: 50%;
  }
  .col-md-pull-5 {
    right: 41.66666667%;
  }
  .col-md-pull-4 {
    right: 33.33333333%;
  }
  .col-md-pull-3 {
    right: 25%;
  }
  .col-md-pull-2 {
    right: 16.66666667%;
  }
  .col-md-pull-1 {
    right: 8.33333333%;
  }
  .col-md-pull-0 {
    right: auto;
  }
  .col-md-push-12 {
    left: 100%;
  }
  .col-md-push-11 {
    left: 91.66666667%;
  }
  .col-md-push-10 {
    left: 83.33333333%;
  }
  .col-md-push-9 {
    left: 75%;
  }
  .col-md-push-8 {
    left: 66.66666667%;
  }
  .col-md-push-7 {
    left: 58.33333333%;
  }
  .col-md-push-6 {
    left: 50%;
  }
  .col-md-push-5 {
    left: 41.66666667%;
  }
  .col-md-push-4 {
    left: 33.33333333%;
  }
  .col-md-push-3 {
    left: 25%;
  }
  .col-md-push-2 {
    left: 16.66666667%;
  }
  .col-md-push-1 {
    left: 8.33333333%;
  }
  .col-md-push-0 {
    left: auto;
  }
  .col-md-offset-12 {
    margin-left: 100%;
  }
  .col-md-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-md-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-md-offset-9 {
    margin-left: 75%;
  }
  .col-md-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-md-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-md-offset-6 {
    margin-left: 50%;
  }
  .col-md-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-md-offset-3 {
    margin-left: 25%;
  }
  .col-md-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-md-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-md-offset-0 {
    margin-left: 0;
  }
}
@media (min-width: 1200px) {
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    float: left;
  }
  .col-lg-12 {
    width: 100%;
  }
  .col-lg-11 {
    width: 91.66666667%;
  }
  .col-lg-10 {
    width: 83.33333333%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .col-lg-8 {
    width: 66.66666667%;
  }
  .col-lg-7 {
    width: 58.33333333%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-5 {
    width: 41.66666667%;
  }
  .col-lg-4 {
    width: 33.33333333%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-2 {
    width: 16.66666667%;
  }
  .col-lg-1 {
    width: 8.33333333%;
  }
  .col-lg-pull-12 {
    right: 100%;
  }
  .col-lg-pull-11 {
    right: 91.66666667%;
  }
  .col-lg-pull-10 {
    right: 83.33333333%;
  }
  .col-lg-pull-9 {
    right: 75%;
  }
  .col-lg-pull-8 {
    right: 66.66666667%;
  }
  .col-lg-pull-7 {
    right: 58.33333333%;
  }
  .col-lg-pull-6 {
    right: 50%;
  }
  .col-lg-pull-5 {
    right: 41.66666667%;
  }
  .col-lg-pull-4 {
    right: 33.33333333%;
  }
  .col-lg-pull-3 {
    right: 25%;
  }
  .col-lg-pull-2 {
    right: 16.66666667%;
  }
  .col-lg-pull-1 {
    right: 8.33333333%;
  }
  .col-lg-pull-0 {
    right: auto;
  }
  .col-lg-push-12 {
    left: 100%;
  }
  .col-lg-push-11 {
    left: 91.66666667%;
  }
  .col-lg-push-10 {
    left: 83.33333333%;
  }
  .col-lg-push-9 {
    left: 75%;
  }
  .col-lg-push-8 {
    left: 66.66666667%;
  }
  .col-lg-push-7 {
    left: 58.33333333%;
  }
  .col-lg-push-6 {
    left: 50%;
  }
  .col-lg-push-5 {
    left: 41.66666667%;
  }
  .col-lg-push-4 {
    left: 33.33333333%;
  }
  .col-lg-push-3 {
    left: 25%;
  }
  .col-lg-push-2 {
    left: 16.66666667%;
  }
  .col-lg-push-1 {
    left: 8.33333333%;
  }
  .col-lg-push-0 {
    left: auto;
  }
  .col-lg-offset-12 {
    margin-left: 100%;
  }
  .col-lg-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-lg-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-lg-offset-9 {
    margin-left: 75%;
  }
  .col-lg-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-lg-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-lg-offset-6 {
    margin-left: 50%;
  }
  .col-lg-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-lg-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-lg-offset-3 {
    margin-left: 25%;
  }
  .col-lg-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-lg-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-lg-offset-0 {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .hidden-xs {
      display: none !important
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
      display: none !important
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}
/* layout.css end */

/* markdown.css start */
.markdown-it {
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1.8;
  color: rgba(0,0,0,0.9);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  word-wrap: break-word;
}

.markdown-it code, .markdown-it pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

@media (max-width: 767px) {
  .markdown-it {
    font-size: 14px;
  }
}

.markdown-it * {
  box-sizing: border-box;
}

.markdown-it::before {
  display: table;
  content: "";
}

.markdown-it::after {
  display: table;
  clear: both;
  content: "";
}

.markdown-it>*:first-child {
  margin-top: 0 !important;
}

.markdown-it>*:last-child {
  margin-bottom: 0 !important;
}

.markdown-it [type="checkbox"],
.markdown-it dl {
  padding: 0;
}

.markdown-it p,
.markdown-it blockquote,
.markdown-it ul,
.markdown-it ol,
.markdown-it dl,
.markdown-it table,
.markdown-it pre,
.markdown-it details {
  margin-top: 0;
  margin-bottom: 5px;
}

.markdown-it article p,
.markdown-it article blockquote,
.markdown-it article ul,
.markdown-it article ol,
.markdown-it article dl,
.markdown-it article table,
.markdown-it article pre,
.markdown-it article details {
  margin-top: 10px;
  margin-bottom: 10px;
}

.markdown-it a {
  color: #337ab7;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

.markdown-it summary {
  cursor: pointer;
  font-weight: bold;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.markdown-it a:active,
.markdown-it a:hover,
.markdown-it a:focus,
.markdown-it summary:active,
.markdown-it summary:hover,
.markdown-it summary:focus {
  outline-width: 0;
}

.markdown-it details {
  padding: 5px 10px;
  border: 1px solid #e3e3e3;
  border-bottom-color: #e0e0e0;
  border-right-color: #ececec;
  background-color: #f0f8ff;
  box-shadow: 1px 2px 1px rgba(0,0,0,.072);
  -webkit-box-shadow: 1px 2px 1px rgba(0,0,0,.072);
}

.markdown-it details p {
  margin-bottom: 0;
}

.markdown-it a:hover {
  text-decoration: none;
  color: #337ab7;
}

.markdown-it a:not([href]) {
  color: inherit;
  text-decoration: none;
}
.markdown-it blockquote {
  margin: 1em 0;
  padding: 0.5em 1em;
  color: #666666;
  border-left: .25em solid #337ab7;
  background-color: #f0f8ff;
  overflow: auto;
}

.markdown-it blockquote>:first-child {
  margin-top: 0;
}

.markdown-it blockquote>:last-child {
  margin-bottom: 0;
}

.markdown-it code {
  padding: 0.2em 0;
  margin: 0;
  background-color: rgba(27,31,35,0.05);
  border-radius: 3px;
  color: #24292e;
  font-size: 0.9em;
}

.markdown-it code::before,
.markdown-it code::after {
  letter-spacing: -0.2em;
  content: "\00a0";
}

.markdown-it dd {
  margin-left: 0;
}

.markdown-it dl dt {
  padding: 0;
  margin-top: 16px;
  font-size: 1em;
  font-style: italic;
  font-weight: 600;
}

.markdown-it dl dd {
  padding: 0 16px;
  margin-bottom: 16px;
}

.markdown-it h1,
.markdown-it h2,
.markdown-it h3,
.markdown-it h4,
.markdown-it h5,
.markdown-it h6 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: 500;
}

.markdown-it article h1,
.markdown-it article h2,
.markdown-it article h3 {
  margin-top: -55px;
  padding-top: 60px;
}

.markdown-it h1 {
  margin-bottom: 20px;
  font-size: 2em;
  border-bottom: 1px solid #eaecef;
}

.markdown-it h2 {
  font-size: 1.5em;
}

.markdown-it h3 {
  font-size: 1.25em;
}

.markdown-it h4 {
  font-size: 1em;
}

.markdown-it h5 {
  font-size: 0.875em;
}

.markdown-it h6 {
  font-size: 0.85em;
  color: #6a737d;
}

.markdown-it hr {
  padding: 0;
  height: 0;
  margin: 10px 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dfe2e5;
  width: 100%;
}

.markdown-it hr::before {
  display: table;
  content: "";
}

.markdown-it hr::after {
  display: table;
  clear: both;
  content: "";
}

.markdown-it img {
  border-style: none;
  max-width: 100%;
  box-sizing: content-box;
  background-color: #fff;
  margin-left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
}
.markdown-it input {
  line-height: inherit;
  font: inherit;
  margin: 0;
  overflow: visible;
}

.markdown-it kbd {
  line-height: 10px;
  display: inline-block;
  padding: 3px 5px;
  line-height: 10px;
  color: #444d56;
  vertical-align: middle;
  background-color: #fcfcfc;
  border: solid 1px #c6cbd1;
  border-bottom-color: #959da5;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #959da5;
}

.markdown-it pre {
  word-wrap: normal;
  padding: 16px;
  overflow: auto;
  line-height: 1.2;
  background-color: #f6f8fa;
  border-radius: 3px;
  margin-top: 10px;
}

.markdown-it pre code {
  padding: 0;
  margin: 0;
  font-size: 0.85em;
  word-break: normal;
  white-space: pre;
  background: transparent;
  border: 0;
  display: inline;
  overflow: visible;
  line-height: inherit;
  word-wrap: normal;
}

.markdown-it pre code::before,
.markdown-it pre code::after {
  content: normal;
}

.markdown-it strong {
  font-weight: 600;
}
.markdown-it svg:not(:root) {
  overflow: hidden;
}

.markdown-it table {
  border-spacing: 0;
  border-collapse: collapse;
  display: block;
  width: 100%;
  overflow: auto;
}

.markdown-it table thead th {
  background-color: #f6f8fa;
}

.markdown-it table th {
  font-weight: 600;
}

.markdown-it table th,
.markdown-it table td {
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}

.markdown-it table tr {
  background-color: #fff;
  border-top: 1px solid #c6cbd1;
}

.markdown-it table tr:nth-child(2n) {
  background-color: #f6f8fa;
}

.markdown-it ul,
.markdown-it ol {
  padding-left: 1.5em;
}

.markdown-it ul {
  list-style-type: square;
}

.markdown-it ol.toc-nav {
    list-style-type: circle;
}
/* markdown.css end */

/* highlight.css start */
/*https://github.com/chriskempson/tomorrow-theme*/

$highlight_theme = hexo-config("highlight_theme") || "normal"
$line-height-code-block = 1.8

if $highlight_theme == "geektutu"
  $highlight-background   = #f6f8fa
  $highlight-current-line = #efefef
  $highlight-selection    = #d6d6d6
  $highlight-foreground   = #24292e
  $highlight-comment      = #6a737d
  $highlight-red          = #c82829
  $highlight-orange       = #e36209
  $highlight-yellow       = #eab700
  $highlight-green        = #718c00
  $highlight-aqua         = #6f42c1
  $highlight-blue         = #4271ae
  $highlight-purple       = #d73a49

if $highlight_theme == "normal"
  $highlight-background   = #f7f7f7
  $highlight-current-line = #efefef
  $highlight-selection    = #d6d6d6
  $highlight-foreground   = #4d4d4c
  $highlight-comment      = #8e908c
  $highlight-red          = #c82829
  $highlight-orange       = #f5871f
  $highlight-yellow       = #eab700
  $highlight-green        = #718c00
  $highlight-aqua         = #3e999f
  $highlight-blue         = #4271ae
  $highlight-purple       = #8959a8

if $highlight_theme == "night"
  $highlight-background   = #1d1f21
  $highlight-current-line = #282a2e
  $highlight-selection    = #373b41
  $highlight-foreground   = #c5c8c6
  $highlight-comment      = #969896
  $highlight-red          = #cc6666
  $highlight-orange       = #de935f
  $highlight-yellow       = #f0c674
  $highlight-green        = #b5bd68
  $highlight-aqua         = #8abeb7
  $highlight-blue         = #81a2be
  $highlight-purple       = #b294bb

if $highlight_theme == "night yilia"
  $highlight-background   = #4d4d4d
  $highlight-current-line = #393939
  $highlight-selection    = #515151
  $highlight-foreground   = #FFFFFF
  $highlight-comment      = #75715E
  $highlight-red          = #FD971F
  $highlight-orange       = #f99157
  $highlight-yellow       = #ffcc66
  $highlight-green        = #E6DB74
  $highlight-aqua         = #66cccc
  $highlight-blue         = #A6E22E
  $highlight-purple       = #F92672

if $highlight_theme == "night eighties"
  $highlight-background   = #2d2d2d
  $highlight-current-line = #393939
  $highlight-selection    = #515151
  $highlight-foreground   = #cccccc
  $highlight-comment      = #999999
  $highlight-red          = #f2777a
  $highlight-orange       = #f99157
  $highlight-yellow       = #ffcc66
  $highlight-green        = #99cc99
  $highlight-aqua         = #66cccc
  $highlight-blue         = #6699cc
  $highlight-purple       = #cc99cc

if $highlight_theme == "night blue"
  $highlight-background   = #002451
  $highlight-current-line = #00346e
  $highlight-selection    = #003f8e
  $highlight-foreground   = #ffffff
  $highlight-comment      = #7285b7
  $highlight-red          = #ff9da4
  $highlight-orange       = #ffc58f
  $highlight-yellow       = #ffeead
  $highlight-green        = #d1f1a9
  $highlight-aqua         = #99ffff
  $highlight-blue         = #bbdaff
  $highlight-purple       = #ebbbff

if $highlight_theme == "night bright"
  $highlight-background   = #000000
  $highlight-current-line = #2a2a2a
  $highlight-selection    = #424242
  $highlight-foreground   = #eaeaea
  $highlight-comment      = #969896
  $highlight-red          = #d54e53
  $highlight-orange       = #e78c45
  $highlight-yellow       = #e7c547
  $highlight-green        = #b9ca4a
  $highlight-aqua         = #70c0b1
  $highlight-blue         = #7aa6da
  $highlight-purple       = #c397d8


clearfix()
  &:before
  &:after
    content: ""
    display: table
  &:after
    clear: both
  zoom: 1 if support-for-ie

line-height = 1.6em
font-size = 14px
article-padding = 20px
color-border = #ddd


$code-font-size                 = 13px
$code-background                = #eee
$code-foreground                = #555
$code-border-radius             = 4px


// Placeholder: $code-block
$code-block {
  overflow: auto;
  margin: 10px 0 20px 0;
  padding: 15px;
  font-size $code-font-size;
  color: $highlight-foreground;
  background: $highlight-background;
  line-height: $line-height-code-block;
}

/*pre, code { 
  font-family: $code-font-family;
}*/

/*
.post-container code {
  padding: 2px 4px;
  word-break: break-all;
  color: $code-foreground;
  background: $code-background;
  border-radius: $code-border-radius;
  font-size $code-font-size;
}*/

.post-container pre {
  @extend $code-block;
  border-radius: 3px;

  code {
    padding: 0;
    color: $highlight-foreground;
    background: none;
    text-shadow: none;
  }
}

.post-container .highlight {
  @extend $code-block;

  pre {
    border: none;
    margin: 0;
    padding: 1px;
  }

  table {
    margin: 0;
    width: auto;
    border: none;
  }

  td {
    border: none !important;
    padding: 0;
  }

  figcaption {
    clearfix();
    font-size: 1em;
    color: $highlight-foreground;
    line-height: 1em;
    margin-bottom: 1em;

    a {
      float: right;
      color: $highlight-foreground;

      &:hover { border-bottom-color: $highlight-foreground; }
    }
  }

  .gutter pre {
    color: #666;
    text-align: right;
    padding-right: 20px;
  }

  .line { height: 20px; }
}


.post-container .gist table {
  width: auto;

  td { border: none; }
}

.post-container pre {

  .comment { color: $highlight-comment; }

  .variable
  .attribute
  .tag
  .regexp
  .ruby .constant
  .xml .tag .title
  .xml .pi
  .xml .doctype
  .html .doctype
  .css .id
  .css .class
  .css .pseudo {
    color: $highlight-red;
  }

  .number
  .preprocessor
  .built_in
  .literal
  .params
  .constant
  .command {
    color: $highlight-orange;
  }

  .ruby .class .title
  .css .rules .attribute
  .string
  .value
  .inheritance
  .header
  .ruby .symbol
  .xml .cdata
  .special
  .number
  .formula {
    color: $highlight-green;
  }

  .title
  .css .hexcolor {
    color: $highlight-aqua;
  }

  .function
  .python .decorator
  .python .title
  .ruby .function .title
  .ruby .title .keyword
  .perl .sub
  .javascript .title
  .coffeescript .title {
    color: $highlight-blue;
  }

  .keyword
  .javascript .function {
    color: $highlight-purple;
  }

}
/* highlight.css end */

/* geektutu.css start */
body {
  font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif;
  tab-size: 4;
}
a {
  text-decoration: none;
  color: #333;
}
.text-center {
  text-align: center !important;
}
.text-left {
  text-align: left !important;
}
.text-right {
  text-align: right !important;
}

.float-left {
  float: left !important;
}
.float-right {
  float: right !important;
}

.no-text-decoration {
  text-decoration: none !important;
}

.padding-0 {
    padding: 0 !important;
}
.hide {
  display: none !important;
}
.box-shadow {
  -webkit-box-shadow: 0 1px 3px rgba(26, 26, 26, .1);
  box-shadow: 0 1px 3px rgba(26, 26, 26, .1);
  border-radius: 2px;
}

.bg-white {
  background: white;
}

/* global */
body {
  background-color: #f6f6f6;
}
main {
  display: flex;
}

.gkt-header-container,
.main-container {
  margin-right: auto;
  margin-left: auto;
  padding-top: 20px;
  padding-bottom: 30px;
  overflow: hidden;
}

.post-list {
  line-height: 2.8em;
  border-left: 4px solid #f9f9f9;
}

.post-container {
  background: white;
  width: 100%;
  max-width: 830px;
  padding: 0 15px;
}

.post-container > .col-xs-12 {
    padding: 0;
}

@media (max-width: 767px) {
  .main-container {
      padding-top: 0px;
  }
}

@media (min-width: 768px) {
  .gkt-header-container,
  .main-container {
      width: 750px;
  }
  .post-container {
    padding: 10px 30px !important;
  }
  .post-container article {
    padding: 0 !important;
  }

  .post-list {
      margin-left: 30px;
  }
}

@media (min-width: 992px) {
  .gkt-header-container,
  .main-container {
      width: 990px;
  }
  .post-container {
    width: calc(100% - 320px);
  }
}
@media (min-width: 1200px) {
  .gkt-header-container,
  .main-container {
      width: 100%;
      max-width: 1150px;
  }
}

.post-list ul {
  padding-left: 0 !important;
}

.post-list li {
  list-style-type: none;
  position: relative;
  padding-left: 20px;
}

.post-list a {
  text-decoration: none;
}

.post-list li:before {
  position: absolute;
  top: 50%;
  left: -2px;
  width: 10px;
  height: 10px;
  margin-top: -9px;
  margin-left: -5px;
  content: ' ';
  border-radius: 50%;
  background-color: #ddd;
}

.post-list .post-item-parent {
  margin-top: 20px;
}

.post-list .post-item-parent a {
  margin-top: -60px;
  padding-top: 80px
}

.post-list a {
  color: #000000;
}

.post-item-color-0:before {
  background: #1abc9c !important;
}

.post-item-color-1:before {
  background: #3498db !important;
}

.post-item-color-2:before {
  background: #9b59b6 !important;
}

.post-item-color-3:before {
  background: #e67e22 !important;
}

.post-item-color-4:before {
  background: #e74c3c !important;
}

.post-list .post-text-parent {
  font-size: 20px;
  font-weight: bold;
  font-weight: bold;
  color: #222;
}

.post-list .post-item-title {
  font-size: 16px;
  transition-duration: .5s;
  color: #333;
  vertical-align: middle;
  overflow: hidden;
}

.post-list .post-item-title:hover {
  color: #337ab7;
}

.post-list .post-item-date {
  margin-left: 2px;
  color: hsla(0, 0%, 71%, .9);
  font-size: .85em;
}

.post-preview {
  width: 100%;
  margin-top: 15px;
  margin-bottom: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  height: max-content;
}

.post-preview .text-gray {
  color: #999999 !important;
}

.post-preview .post-info {
  flex: 1;
  padding-left: 20px;
}

.post-preview .post-img {
  width: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.post-preview .post-info-center {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.post-preview .post-info a {
  cursor: pointer;
  text-decoration: none;
}

.post-preview .post-info .title {
  color: #101010;
  font-size: 1.2em;
}

@media (min-width: 768px) {
  .post-preview .post-img {
      width: 120px;
  }
}

/* *************
 *   Header    *
 ***************/
.gkt-header {
    background-color: #3e474f;
    position: fixed;
    top: 0;
    z-index: 9999;
}

.gkt-header>div {
    height: 44px;
    padding: 0;
    line-height: 44px;
}

.gkt-header img {
    padding: 8px;
    width: 44px;
    margin-right: 6px;
}

.gkt-header-title {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.gkt-header-nav li {
    margin-bottom: 0;
}

.gkt-header-nav>ul>li {
    display: inline-block;
}

.gkt-header-nav ul {
    list-style: none;
}

.gkt-header-nav a {
    padding: 0 5px;
    font-size: 18px;
    color: #b2bbbd;
    fill: #b2bbbd;
}

.gkt-cate-name>a {
    padding: 0 10px;
}

.gkt-header a:hover,
.gkt-cate-name.active>a {
    color: #ffffff;
}

.gkt-sub-cate {
    display: none;
    position: absolute;
    margin-top: 44px;
    background: #fafafa;
    min-width: 200px;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .175);
    box-shadow: 0 4px 6px rgba(0, 0, 0, .15);
}

.gkt-sub-cate-name>a {
    color: #333;
    padding: 5px 10px;
    width: 100%;
    font-size: 16px;
}

.gkt-sub-cate-name a:hover,
.gkt-sub-cate-name.active>a {
    display: block;
    color: #ffffff;
    background-color: rgba(62, 71, 79, .8)
}

.gkt-sub-cate-name.active>a {
    background-color: #3e474f;
}

.gkt-sub-cate-name {
    line-height: 30px;
}

/* start sidebar */
.gkt-sidebar {
  background-color: transparent;
}

.gkt-sidebar,
.gkt-sidebar>div {
  width: 320px;
}

.gkt-sidebar section {
  margin-left: 15px;
  background: white;
  overflow: auto;
  margin-bottom: 8px;
  padding: 8px 10px;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
}

.gkt-sidebar section::-webkit-scrollbar {
  width: 0 !important;
}

.gkt-sidebar ul {
  line-height: 1.35;
}

.gkt-sidebar a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
}

.gkt-sidebar-active {
  color: #337ab7 !important;
  font-weight: bold;
}

.gkt-sidebar-fixed {
  position: fixed;
  top: -70px;
  margin-top: 0;
  z-index: 1;
}
/* end sidebar */

/* post container */
.post-container .post-item-date {
  margin-left: 10px;
  color: hsla(0, 0%, 71%, .9);
  font-size: 0.85em;
}

.post-container .series_links {
  border: 1px solid #eaecef;
  padding: 15px;
  background-color: #fff8dc;
  margin-bottom: 20px;
  border-radius: 5px;
}

.u-arrow-wrapper {
  position: fixed;
  width: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.u-arrow-wrapper a:hover i {
  border-color: #333;
}

.u-arrow-wrapper i {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-top: 3px solid #eee;
  border-right: 3px solid #eee;
  cursor: pointer;
}

.u-arrow-wrapper a {
  height: 100vh;
  line-height: 100vh;
  width: 50px;
  padding-left: 15px;
}

.u-arrow-left {
  transform: rotate(-135deg);
}

.u-arrow-right {
  transform: rotate(45deg);
}
/* post container */

/* gitalk-related */
#gitalk-related.dis-wrapper {
  font-size: 14px;
  margin: 70px 0;
  overflow: hidden;
  padding-bottom: 10px;
}

#gitalk-related * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  transform: none;
  -webkit-transform: none;
}

#gitalk-related .dis-divide {
  border-top: 2px solid #e7e9ee;
  width: 100%;
  float: left;
  padding: 5px 10px;
  margin-top: 20px;
  text-align: center;
}

#gitalk-related .dis-item {
  width: 50%;
  float: left;
  padding: 0px 10px;
  margin-top: 20px;
  height: 108px;
  overflow: hidden;
}

#gitalk-related .dis-item-title {
  font-size: 16px;
  color: #6190e8;
  font-weight: 500;
  max-height: 3em;
  line-height: 1.5;
  overflow: hidden;
}

#gitalk-related .dis-item-des {
  font-size: 0.85em;
}

#gitalk-related .dis-divide a,
#gitalk-related .dis-item-des,
#gitalk-related .dis-item-user {
  color: rgba(30, 55, 70, .4);
}

#gitalk-related .dis-item-img {
  width: 30px;
  height: 30px;
  margin-top: 3px;
}

#gitalk-related .dis-item-content {
  display: flex;
}

#gitalk-related .dis-item-content>p {
  padding-left: 10px;
  color: #333;
  line-height: 1.4em;
  max-height: 4.2em;
  overflow: hidden;
}
/* gitalk-related*/

/* highlight issue  */
.markdown-it .highlight table tr {
  background-color: transparent;;
  border-top: none;
}
.gkt-article-start + p > img {
  width: 100%;
}
@media (min-width: 992px) {
  .gkt-article-start + p > img {
    min-height: 24rem;
    object-fit: contain;
  }
}
/* geektutu.css end */
