/* animate */
.slideLeft {
  animation-duration: 0.5s;
  animation-name: slideLeft;
}
/* archive */
.archive {
  width: 100%;
  min-height: calc(100vh - 221px);
  margin: 0 auto;
  padding: 0 210px;
}
@media all and (max-width: 810px) {
  .archive {
    padding: 0 10px;
  }
}
/* aside */
.toc-button {
  visibility: hidden;
  border: 1px solid #ddd;
  text-align: center;
  position: fixed;
  z-index: 99;
  background: rgba(255,255,255,0.93);
  box-shadow: 0 2px 7px 0 rgba(0,0,0,0.12);
  color: #000;
  font-size: 13px;
  width: 39px;
  height: 39px;
  line-height: 39px;
  border-radius: 50%;
  bottom: 103px;
  left: 17px;
  font-weight: 700;
}
.aside-toc {
  position: fixed;
  left: 0;
  top: 60px;
  width: 200px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-weight: 700;
  z-index: 101;
  -webkit-transition: left 0.5s ease-in;
  transition: left 0.5s ease-in;
}
.aside-toc.show {
  left: 0;
}
.model {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 100%;
  background: #000;
  opacity: 0.7;
}
.model.show {
  display: block;
}
.toc-title {
  border-bottom: 1px solid #f1f1f1;
}
.toc-link,
.toc-title {
  display: block;
  height: 50px;
  padding-left: 10px;
  line-height: 50px;
  color: #333;
  padding-left: 10px;
  white-space: nowrap;
}
.toc-link:hover {
  background-color: #fafafa;
}
@media all and (max-width: 810px) {
  .toc-button {
    visibility: visible;
  }
  .aside-toc {
    top: 0;
    left: -200px;
    background-color: #fff;
  }
}
/* article1 */
.content {
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 20px;
  margin-bottom: 10px;
  word-wrap: break-word;
}
.content h1 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.content h2 {
  border-bottom: 1px solid #dcdcdc;
  font-size: 24px;
  letter-spacing: 2px;
  padding-top: 20px;
  padding-bottom: 5px;
}
.content h3 {
  font-size: 22px;
  letter-spacing: 2px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.content h4 {
  font-size: 20px;
  letter-spacing: 2px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.content h5 {
  font-size: 18px;
  letter-spacing: 2px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.content h6 {
  font-size: 16px;
  letter-spacing: 2px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.content blockquote {
  border-left-width: 10px;
  background-color: rgba(102,128,153,0.05);
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 15px 20px;
  border-left: 10px solid rgba(102,128,153,0.075);
}
.content p {
  line-height: 1.8;
}
.content >p {
  margin: 10px 0;
}
.content a {
  color: #4062a7;
}
.content a:hover {
  color: #666;
}
.content em {
  padding: 2px 4px;
  font-size: 90%;
  color: #2584af;
  background-color: #edf6fb;
  border-radius: 4px;
  font-style: normal;
}
.content img {
  max-width: 100%;
  height: auto;
}
/* code highlight */
code,
pre {
  font-family: "Source Code Pro", Monaco, Menlo, Consolas, monospace;
  color: #4d4d4c;
  background: #eee;
  font-size: 0.95em;
}
code {
  padding: 0 5px;
}
pre {
  padding: 10px 15px;
  line-height: 22px;
}
pre code {
  border: none;
  display: block;
  padding: 0;
}
.highlight {
  background: #eee;
  padding: 10px 15px;
  color: #4d4d4c;
  overflow: auto;
  margin: 10px 0;
table
}
.highlight table td,
.highlight table th {
  padding: 0;
}
.highlight figcaption {
  margin: -5px 0 5px;
  font-size: 0.9em;
  color: #999;
}
.highlight figcaption:after,
.highlight figcaption:before {
  content: "";
  display: table;
}
.highlight figcaption:after {
  clear: both;
}
.highlight figcaption a {
  float: right;
}
.highlight pre {
  margin: 0;
  padding: 0;
  border: none;
  background: 0 0;
}
.highlight .line {
  height: 22px;
}
.highlight .gutter .line {
  color: #ccc;
}
pre .comment,
pre .title {
  color: #8e908c;
}
pre .attribute,
pre .css .class,
pre .css .id,
pre .css .pseudo,
pre .html .doctype,
pre .regexp,
pre .ruby .constant,
pre .tag,
pre .variable,
pre .xml .doctype,
pre .xml .pi,
pre .xml .tag .title {
  color: #c82829;
}
pre .built_in,
pre .constant,
pre .literal,
pre .number,
pre .params,
pre .preprocessor {
  color: #f5871f;
}
pre .class,
pre .css .rules .attribute,
pre .ruby .class .title {
  color: #718c00;
}
pre .header,
pre .inheritance,
pre .ruby .symbol,
pre .string,
pre .value,
pre .xml .cdata {
  color: #718c00;
}
pre .css .hexcolor {
  color: #3e999f;
}
pre .coffeescript .title,
pre .function,
pre .javascript .title,
pre .perl .sub,
pre .python .decorator,
pre .python .title,
pre .ruby .function .title,
pre .ruby .title .keyword {
  color: #4271ae;
}
pre .javascript .function,
pre .keyword {
  color: #8959a8;
}
/* article-footer */
.article-footer {
  margin: 20px 0;
  overflow-y: hidden;
}
.article-prev {
  float: left;
}
.article-next {
  float: right;
}
@-moz-keyframes slideLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@-webkit-keyframes slideLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@-o-keyframes slideLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
