/* Concatenates the stylesheet files */
/**
 * Base Hexo and Theme styles
 *
 * This stylesheet is meant to give a baseline style
 * for the built-in Hexo tags and theme markdown. They shouldn't need
 * to change as often as the styles in `custom.css` (in theory).
 */

/* Globals */

.left, .alignleft {
  float: left;
}
.right, .alignright {
  float: right;
}

/* Sidebar */

.sidebar-module-list-count {
  padding-left: 5px;
}
.sidebar-module-list-count:before { content: "("; }
.sidebar-module-list-count:after { content: ")"; }

/* Articles */

.article-entry {
  overflow: hidden; /* fixes problems on small width devices */
}

.article-meta {
  margin-bottom: 20px;
}
.article-meta > * {
  display: inline-block;
  margin-right: 15px;
}

.article-date:before,
.article-author:before,
.article-category-link:before {
  display: inline-block;
  font-family: FontAwesome;
  margin-right: 0.25em;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.article-date:before { content: "\f073"; }
.article-author:before { content: "\f007"; }
.article-category-link:before { content: "\f07b"; }

/* blockquote */
.article-entry blockquote footer cite {
  display: inline-block;
}
.article-entry blockquote footer cite::before {
  content: "~";
  padding: 0px 0.5em;
}

.article-entry .pullquote.right {
  margin-right: 0.5em;
  margin-left: 1em;
}
.article-entry .pullquote {
  text-align: left;
  width: 45%;
  margin: 0;
}

/* article tags */
.article-tag-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.article-tag-list-item {
  display: inline-block;
  margin-right: 15px;
}
.article-tag-list-link:before {
  display: inline-block;
  font-family: FontAwesome;
  content: "\f02b";
  margin-right: 0.25em;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.article-footer {
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.article-comment-link { display: inline-block; }
.article-share-link {
  cursor: pointer;
  float: right;
  margin-left: 20px;
}

/* prev/next navigation between articles */
#article-nav {
  margin-top: 30px;
}
#article-nav>li {
  padding: 2px;
  font-size: 0.8em;
}
#article-nav>li>a {
  border: 1px solid #337ab7;
}
#article-nav>li>a:hover {
  border: 1px solid #23527c;
}
.article-nav-link-wrap .fa {
  margin: 4px 0;
}

/* article media */

.article-entry img,
.article-entry video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
.article-entry .caption {
  color: #999;
  display: block;
  font-size: 0.9em;
  margin-top: 0.5em;
  position: relative;
  text-align: center;
}
.article-entry .video-container {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}
.article-entry .video-container iframe,
.article-entry .video-container object,
.article-entry .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
}

.article-gallery {
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/* Archives */

.archive-year-wrap {
  border-bottom: 1px solid #eee;
  font-size: 2em;
}
.archive-article {
  margin: 30px 0;
}
.archive-article h1 {
  margin: 0;
  font-size: 1.3em;
}

/** Highlight.js Styles (Syntax Highlighting) */

.highlight {
  display: block;
  background: white;
  color: #333333;
  overflow-x: auto;
  margin-bottom: 15px;
}

.highlight .gutter pre {
  border: 0;
  text-align: right;
  padding-right: 10px;
  background-color: transparent;
}
.highlight .code {
  width: 100%;
}

.highlight figcaption {
  font-size: .8em;
  color: #999;
}
.highlight figcaption a {
  float: right;
}

.highlight table {
  margin: 0;
  width: 100%;
}

.highlight pre {
  margin: 0;
  background-color: #eeeeee;
}

.highlight .comment,
.highlight .meta {
  color: #969896;
}

.highlight .string,
.highlight .value,
.highlight .variable,
.highlight .template-variable,
.highlight .strong,
.highlight .emphasis,
.highlight .quote,
.highlight .inheritance,
.highlight.ruby .symbol,
.highlight.xml .cdata {
  color: #df5000;
}

.highlight .keyword,
.highlight .selector-tag,
.highlight .type,
.highlight.javascript .function {
  color: #a71d5d;
}

.highlight .number,
.highlight .preprocessor,
.highlight .built_in,
.highlight .params,
.highlight .constant,
.highlight .literal,
.highlight .symbol,
.highlight .bullet,
.highlight .attribute,
.highlight.css .hexcolor {
  color: #0086b3;
}

.highlight .section,
.highlight .header,
.highlight .name,
.highlight .function,
.highlight.python .decorator,
.highlight.python .title,
.highlight.ruby .function .title,
.highlight.ruby .title .keyword,
.highlight.perl .sub,
.highlight.javascript .title,
.highlight.coffeescript .title {
  color: #63a35c;
}

.highlight .tag,
.highlight .regexp {
  color: #333333;
}

.highlight .title,
.highlight .attr,
.highlight .selector-id,
.highlight .selector-class,
.highlight .selector-attr,
.highlight .selector-pseudo,
.highlight.ruby .constant,
.highlight.xml .tag .title,
.highlight.xml .pi,
.highlight.xml .doctype,
.highlight.html .doctype,
.highlight.css .id,
.highlight.css .class,
.highlight.css .pseudo,
.highlight .class,
.highlight.ruby .class .title,
.highlight.css .rules .attribute {
  color: #795da3;
}

.highlight .addition {
  color: #55a532;
  background-color: #eaffea;
}

.highlight .deletion {
  color: #bd2c00;
  background-color: #ffecec;
}

.highlight .link {
  text-decoration: underline;
}

body {
  /* font-family: "SF Pro TC","SF Pro Text","SF Pro Icons","PingFang TC","Helvetica Neue","Helvetica","Arial",sans-serif; */
  color: #212121;
  /* background-color: #f2f2f2; */
  overflow-x: hidden;
}

li {
  list-style-type: none;
}


article.post {
  padding: 16px;
}

aside {
  background: #f7f7f7
}

pre {
  font: 14px/20px Roboto Mono, monospace;
  color: rgb(55, 71, 79);
  margin-top: 16px;
  background-color: rgb(247, 247, 247);
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
}


.article-meta {
  color: #666;
  font-size: 14px;
}

/* mobile mode */
@media screen and (min-width:992px) {
  #asidebtn {
    display:none;
  }
}

/* mobile mode */
@media screen and (max-width:991px) {

  @keyframes aside-fade-in {
    0% {
      right: -100%;
    }

    100% {
      right: 0%;
    }
  }

  @keyframes aside-fade-out {
    0% {
      right: 0%;
    }

    100% {
      right: -100%;
    }
  }

  #aside.active {
    right: 0%;
    position: absolute;

    animation-name: aside-fade-in;
    animation-duration: 0.2s;
    display: inline;
  }

  #aside {
    right: -100%;
    position: absolute;

    animation-name: aside-fade-out;
    animation-duration: 0.2s;

  }
  #aside.noactived {
    display: none;
  }

  #blog-title {
    font-size: 14px;
  }

  #asidebtn {

    width: 50px;
    right: 15px;
    bottom: 20px;
    z-index: 888;
    position: fixed;
  }

  #asidebtn:after {
    content: "<<";
  }

  #asidebtn.active:after {
    content: ">>";
  }
}
