@font-face {
  font-family: 'calligraffittiregular';
  src: url('/template/static/fonts/calligraffitti-regular-webfont.eot?app=blog/fexo');
  src: url('/template/static/fonts/calligraffitti-regular-webfont.eot?app=blog/fexo#iefix') format('embedded-opentype'),
    url('/template/static/fonts/calligraffitti-regular-webfont.woff2?app=blog/fexo') format('woff2'),
    url('/template/static/fonts/calligraffitti-regular-webfont.woff?app=blog/fexo') format('woff'),
    url('/template/static/fonts/calligraffitti-regular-webfont.ttf?app=blog/fexo') format('truetype'),
    url('/template/static/fonts/calligraffitti-regular-webfont.svg#calligraffittiregular') format('svg');
  font-weight: normal;
  font-style: normal; }

  a {
    text-decoration: none;
    color: #555; }

    html, body {
      font-family: PingFangSC-Regular, 'Roboto', Verdana, "Open Sans", "Helvetica Neue", "Helvetica",
            "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans CN", "WenQuanYi Micro Hei",
            Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      -webkit-tap-highlight-color: transparent;
      overflow-x: hidden;
      overflow-y: auto;
      width: 100%;
      min-height: 100%;
      scroll-behavior: smooth;
      font-size: 15px; }

      #nav_header {
        border-bottom: 1px solid #eee; }
        #nav_header .site_nav_wrap .site_nav a {
          font-size: 14px;
          color: #777; }
          #nav_header .site_nav_wrap .site_nav a:hover {
            color: #222; }

.category_box {
  position: relative;
  margin-bottom: -20px;
  margin-left: -20px; }
  .category_box .category_title {
    font-size: 13px;
    line-height: 40px;
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    text-align: center;
    color: #555;
    border-radius: 50%;
    background: #f0f0f0; }
    .category_box .category_list {
      margin-left: 50px; }
      .category_box .category_list .category_item {
        font-size: 12px;
        line-height: 30px;
        display: inline-block;
        height: 30px;
        margin: 5px 3px;
        padding: 0 12px;
        color: #999;
        border-radius: 15px;
        background: #f6f6f6; }
        .category_box .category_list .category_item:hover {
          color: #333;
          background: #f0f0f0; }
          .category_box .category_list .category_item .category_size {
            font-family: 'calligraffittiregular';
            font-weight: bold; }

@media screen and (max-width: 767px) {
  .category-box {
    margin-left: 0;   }
}

.toc_container {
  position: fixed;
  font-size: 13px; }
  .toc_container a {
    text-decoration: none;
    line-height: 1.1;
    color: #555555; }
    .toc_container a:visited {
      color: #999; }
      .toc_container a:hover {
        color: #333; }
  .toc_container a.selected {
    color: #000000;
    font-weight: bold; }
    .toc_container ul {
      line-height: 1.8em;
      padding-left: 0;
      list-style: none; }
      .toc_container ul li {
        list-style: none; }
  .toc_container li {
    margin: 0.5em auto; }
    .toc_container li ul {
      padding: 0 0 0 1em; }
  .toc_container .toc_title {
    font-size: 16px;
    color: #000;
    font-weight: bold; }

.post {
  color: #555;
  margin-bottom: 3em; }
  .post .header {
    margin: 4em 0 3.5em 0; }
    .post .header h1 {
      color: #000;
      font-weight: normal;
      font-size: 2.2em;
      padding-bottom: 0.5em;
      line-height: 1.1em;
      text-align: center;
      margin: 0; }
      .post .header .info {
        text-align: center;
        margin: 1em 0;
        font-size: 80%;
        color: #777; }
        .post .header .info a {
          color: #333;
          margin-left: 8px; }
          .post .header .info a:hover {
            color: #111;
            text-decoration: underline; }
  .post .post_with_toc {
    max-width: 860px;
    margin: 0 auto;
    overflow: hidden; }
    .post .post_with_toc .post_container {
      padding: 0 3em 0 3.5em; }
      .post .post_with_toc .toc_container {
        padding-left: 7em; }
  .post .post_without_toc {
    max-width: 760px;
    margin: 0 auto; }
    @media screen and (max-width: 767px) {
      .post .post_with_toc .post_container, .post .post_without_toc .post_container {
        padding: 0;
        width: 90%;
        margin: 0 auto;   }
}

.hide {
  display: none; }

  .show {
    display: block; }

    .content {
      width: 500px;
      margin: 40px auto 80px;
      border-left: 4px solid #f9f9f9; }

      .page-header {
        position: relative;
        margin-bottom: 30px;
        background: #fff; }
        .page-header .box-blog-info {
          display: block; }
          .page-header .box-blog-info .avatar, .page-header .box-blog-info .info {
            display: inline-block;
            vertical-align: middle; }
            .page-header .box-blog-info img {
              width: 60px;
              height: 60px;
              vertical-align: middle;
              border-radius: 50%;
              object-fit: cover;
              overflow: hidden; }
              .page-header .box-blog-info .info {
                margin-left: 10px; }
                .page-header .box-blog-info .info .name {
                  font-size: 24px;
                  font-weight: normal;
                  margin: 0;
                  color: #000; }
                  .page-header .box-blog-info .info .slogan {
                    display: inline-block;
                    color: #999; }

@media screen and (min-width: 768px) {
  .page-header {
    margin-bottom: 30px;   }
    .page-header .home-entry {
      display: inline-block;   }
      .page-header .box-blog-info {
        display: block;
        margin-left: -30px;   }
}

@media screen and (max-width: 767px) {
  .page-header {
    margin-bottom: 30px;
    text-align: center;   }
    .page-header .breadcrumb {
      display: none;   }
      .page-header .home-entry {
        display: none;   }
        .page-header .box-blog-info .avatar {
          display: block;   }
          .page-header .box-blog-info .avatar img {
            width: 60px;
            height: 60px;
            vertical-align: middle;
            border-radius: 50%;   }
        .page-header .box-blog-info .info {
          display: inline-block;   }
          .page-header .box-blog-info .info .name {
            display: inline-block;
            margin-top: 10px;
            margin-bottom: 8px;   }
            .page-header .box-blog-info .info .slogan {
              display: block;   }
}

.post_list {
  line-height: 2.8em;
  list-style: none;
  padding: 0; }
  .post_list li {
    list-style: none; }
    .post_list .category_title {
      font-family: 'calligraffittiregular';
      font-size: 20px;
      font-weight: bold;
      color: #222; }
      .post_list .item_title {
        position: relative;
        margin-top: 40px;
        padding-left: 20px; }
        .post_list .item_title .dot {
          position: absolute;
          top: 50%;
          left: -2px;
          width: 10px;
          height: 10px;
          margin-top: -9px;
          margin-left: -5px;
          content: ' ';
          border-radius: 50%; }
          .post_list .item_title .dot_1 {
            background: #3498db !important; }
            .post_list .item_title .dot_2 {
              background: #9b59b6 !important; }
              .post_list .item_title .dot_3 {
                background: #e67e22 !important; }
                .post_list .item_title .dot_4 {
                  background: #e74c3c !important; }
                  .post_list .item_title .dot_5 {
                    background: #1abc9c !important; }
  .post_list .item_post {
    position: relative;
    padding-left: 20px; }
    .post_list .item_post:before {
      position: absolute;
      top: 50%;
      left: -2px;
      width: 8px;
      height: 8px;
      margin-top: -4px;
      margin-left: -4px;
      content: ' ';
      border-radius: 50%;
      background: #ddd; }
      .post_list .item_post .post_date {
        font-size: 12px;
        display: inline-block;
        color: #888; }
        .post_list .item_post .post_title {
          font-size: 16px;
          font-weight: normal;
          position: relative;
          display: inline-block;
          transition-duration: 0.5s;
          color: #333;
          vertical-align: middle;
          text-overflow: ellipsis;
          max-width: 430px;
          white-space: nowrap;
          overflow: hidden;
          transition-propety: background-color; }
          .post_list .item_post .post_title:hover {
            color: #1abc9c; }

.markdown {
  color: #555; }
  .markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6 {
    font-weight: normal;
    margin: 2.5em 0 1.3em 0;
    color: #000; }
    .markdown h1 {
      font-size: 24px; }
      .markdown h2 {
        font-size: 20px; }
        .markdown h3 {
          font-size: 16px; }
          .markdown h4 {
            font-size: 14px; }
            .markdown h5, .markdown h6 {
              font-size: 12px; }
              .markdown pre {
                display: block;
                overflow-x: auto;
                margin: 0 0 15px;
                padding: 16px;
                color: #555;
                font-size: 14px;
                border-radius: 6px;
                background-color: #f7f7f7;
                overflow-y: hidden; }
                .markdown a {
                  color: #1abc9c;
                  font-weight: bold; }
                  .markdown blockquote {
                    color: #777;
                    border-left-color: #499eff; }

@media screen and (max-width: 520px) {
  .content {
    width: 90%;   }
}

.pager {
  border-top: 0px solid #ddd;
  margin: 85px auto 35px auto;
  font-size: 14px; }
  .pager a {
    display: inline-block;
    height: 25px;
    line-height: 25px;
    text-align: center;
    width: 50%; }
    .pager a.next {
      float: right; }
      .pager a:hover {
        background-color: #cc181e;
        color: #fff; }
