/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}

body {
  font-family: "quicksandregular", "Source Han Serif", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8em;
  color: #4a4a4a;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: #686868;
  border-bottom: 1px #686868 solid;
}
a:hover {
  color: #0e0e0e;
  border-bottom: 1px #0e0e0e solid;
}
figure.highlight {
  display: block;
  width: 92%;
  margin: auto;
  overflow-x: auto;
}
table {
  width: 100%;
}
table th {
  border-bottom: 1px solid #ddd;
}
table td {
  border-bottom: 1px solid #ddd;
}
.highlight > table {
  width: 100%;
}
blockquote {
  background-color: #f5f5dc;
}
figure.highlight,
.code,
code {
  font-family: Monaco, Menlo, Consolas, 'Microsoft Yahei', monospace;
  font-size: 13px;
  margin: auto 5px;
  background-color: #f5f5dc;
}
figure.highlight pre,
.code pre,
code pre {
  margin: auto;
  overflow-x: auto;
  font-family: inherit;
  font-size: 1em;
  line-height: 1.6em;
}
figure.highlight .line,
.code .line,
code .line {
  height: 1.6em;
}
img {
  max-width: 100%;
}
sup a {
  border-bottom: none;
}
blockquote {
  margin: 1em 0;
  padding: 0 40px;
  box-sizing: border-box;
  border-left: 2px solid #4a4a4a;
}
.container {
  box-sizing: border-box;
  position: absolute;
  left: 240px;
  right: 240px;
  margin: auto;
  max-width: 960px;
  width: 50%;
}
.container > div > footer {
  width: 100%;
  text-align: center;
  color: #ccc;
  font-size: 14px;
  line-height: 20px;
  padding: 5rem 0 2rem;
}
.Index,
.TagArticle {
  padding: 3em 0 0 0;
  margin: 0;
}
.Index > li,
.TagArticle > li {
  list-style: none;
}
.Archives {
  position: relative;
  padding: 7em 16px 0;
}
.Archives::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2px;
  height: auto;
  content: '';
  background-color: #ddd;
  width: 2px;
}
.Archives h1,
.Archives h2 {
  font-weight: 400;
}
.Archives h1::before,
.Archives h2::before {
  position: absolute;
  left: -6px;
  content: '';
  background-color: #ddd;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 7px;
}
.Archives h1:hover::before,
.Archives h2:hover::before {
  background-color: #777;
  transition: background-color 500ms ease;
}
.Archives h2 {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.Archives h2::before {
  left: -5px;
  margin-top: 8px;
  width: 8px;
  height: 8px;
}
.Tags {
  margin: 0;
  padding: 4em 0 0 0;
  text-align: center;
}
.Tags > li {
  list-style: none;
}
.Tags a {
  border-bottom: none;
}
.Categories {
  margin: 0;
  padding: 4em 0 0 0;
  text-align: center;
}
.Categories > li {
  list-style: none;
}
.Categories a {
  border-bottom: none;
}
@media screen and (max-width: 1024px) {
  .container {
    position: absolute;
    left: 0;
    right: 0;
    padding-top: 20em;
    overflow-x: hidden;
    max-width: none;
    width: auto;
  }
  .container::before {
    content: '';
    display: block;
    position: relative;
    height: 1px;
    width: 30%;
    background-color: #cdcdcd;
    top: 0.1em;
    margin: auto;
  }
  .Archives {
    padding: 0 16px;
    margin-top: 7em;
  }
  .container > * {
    margin-left: 4%;
    margin-right: 4%;
  }
}
@media screen and (max-width: 450px) {
  html,
  body {
    font-size: 90%;
  }
  blockquote {
    padding: 0 10px;
  }
  code pre {
    font-size: 80%;
  }
  .title h1,
  .PageTitle h1 {
    font-size: 2rem !important;
  }
}
.route-trans-enter {
  position: absolute;
  left: 0;
  right: 0;
  transform: translateX(-100px);
  opacity: 0;
}
.route-trans-enter.route-trans-enter-active {
  animation: route-trans-e 0.8s;
  animation-fill-mode: forwards;
}
.route-trans-leave {
  position: absolute;
  left: 0;
  right: 0;
  transform: translateX(0);
  opacity: 1;
}
.route-trans-leave.route-trans-leave-active {
  animation: route-trans-o 0.8s;
  animation-fill-mode: forwards;
}
.img-title {
  font-size: 0.8em;
}
.category-list {
  display: none;
}
@-moz-keyframes route-trans-e {
  0% {
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
  }
  50% {
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@-webkit-keyframes route-trans-e {
  0% {
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
  }
  50% {
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@-o-keyframes route-trans-e {
  0% {
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
  }
  50% {
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes route-trans-e {
  0% {
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
  }
  50% {
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@-moz-keyframes route-trans-o {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  50% {
    transform: translate3d(100px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(100px, 0, 0);
    opacity: 0;
  }
}
@-webkit-keyframes route-trans-o {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  50% {
    transform: translate3d(100px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(100px, 0, 0);
    opacity: 0;
  }
}
@-o-keyframes route-trans-o {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  50% {
    transform: translate3d(100px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(100px, 0, 0);
    opacity: 0;
  }
}
@keyframes route-trans-o {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  50% {
    transform: translate3d(100px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(100px, 0, 0);
    opacity: 0;
  }
}
.SideBar {
  position: fixed;
  width: 240px;
  overflow: hidden;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  background-color: #fff;
  z-index: 10000;
}
.SideBar > section {
  width: 100%;
}
.media {
  position: absolute;
  width: 100%;
  bottom: 0.5rem;
  text-align: right;
}
.media > a {
  margin-left: 1em;
  border: none;
}
.media img {
  width: 1.5em;
  height: auto;
  opacity: 0.6;
}
.media img:hover {
  opacity: 1;
}
.menu {
  box-sizing: border-box;
  position: absolute;
  top: 240px;
  width: 240px;
  margin: 0;
  text-align: right;
  line-height: 1.7em;
}
.menu > ul {
  padding-top: 2em;
}
.avatar {
  height: 180px;
  background-color: #333;
  position: absolute;
  width: 100%;
  top: 0;
}
.av-pic {
  display: block;
  width: 130px;
  height: 130px;
  margin-top: 115px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  background-color: #fff;
  background-size: 100%;
}
.Btn {
  border-bottom: none;
}
.Btn > li {
  list-style: none;
  line-height: 1em;
  margin: 2rem 0;
}
@media screen and (min-width: 1024px) {
  a.Btn {
    border-bottom: none;
  }
  a.Btn > li {
    padding-right: 1em;
    border-right: 3px #aaa solid;
  }
  a.Btn > li:hover {
    border-right-color: #333;
  }
  a.Btn.active > li {
    border-right-color: #333;
  }
}
@media screen and (max-width: 1024px) {
  .SideBar {
    position: absolute;
    left: 0;
    right: 0;
    height: 10em;
    width: auto;
    overflow: visible;
  }
  .menu {
    position: relative;
    top: 185px;
    text-align: center;
    width: 100%;
  }
  .menu > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    min-width: 280px;
    margin: 0 auto;
    padding: 0;
  }
  .Btn > li {
    margin: 1em 0;
    padding: 0;
    flex: 1;
    border-right: none;
    min-width: 60px;
  }
  .media {
    bottom: -2.5em;
    right: 1.5em;
  }
  .media > a {
    margin-left: 0.5em;
  }
  .avatar {
    height: 120px;
  }
  .avatar > .av-pic {
    margin-top: 55px;
  }
}
.SideBar2 {
  position: fixed;
  width: 240px;
  overflow: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: #fff;
  z-index: 10000;
}
.SideBar2 .outline {
  padding-top: 2em;
}
.SideBar2 .outline .title {
  color: #b2395b;
  padding-left: 1em;
  border-left: 3px #aaa solid;
}
.SideBar2 .outline > ol {
  padding-inline-start: 30px;
}
.SideBar2 .outline > ol > li {
  margin-bottom: 5px;
  font-size: 0.8em;
  line-height: 2;
}
@media screen and (max-width: 1024px) {
  .SideBar2 {
    visibility: hidden;
  }
}
.ListView {
  margin-bottom: 7em;
}
.ListView .title {
  font-family: "tekoregular", "quicksandregular", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
}
.ListView .title h1 {
  font-size: 2.9rem;
  font-weight: 400;
  margin-bottom: 0.3em;
  line-height: 125%;
}
.ListView .title a {
  border-bottom: none;
  color: #111;
}
.ListView .title a:hover {
  color: #0e0e0e;
  border-bottom: 1px #0e0e0e solid;
}
.ListView .content a {
  color: #b2395b;
}
.ListMeta {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 2.5em;
}
.ListMeta:hover {
  color: #333;
}
.ListMeta ul {
  display: inline;
  padding: 0;
}
li.meta-text {
  display: inline-block;
}
.more-link a {
  border-bottom-width: 2px;
}
.PageTitle {
  font-family: "tekoregular", "quicksandregular", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: left;
  margin-bottom: 2em;
}
.PageTitle h1 {
  font-size: 3.2rem;
  font-weight: 400;
  margin-bottom: 0.3em;
  margin-left: -2%;
  line-height: 1.2;
}
@media screen and (max-width: 1024px) {
  .PageTitle h1 {
    font-size: 2rem;
    margin-left: auto;
  }
}
.PageTitle a {
  border: none;
  color: #111;
}
time {
  font-family: inherit;
}
.Breadcrumb {
  margin-left: -2%;
}
@media screen and (max-width: 1024px) {
  .Breadcrumb {
    margin-left: auto;
  }
}
.ContentView {
  padding-top: 2em;
}
.ContentView .PostText a {
  color: #b2395b;
}
.ContentView .ArticleMeta {
  font-size: 0.8em;
  color: #bbb;
  margin: 2.5em auto;
}
.ContentView .ArticleMeta a {
  border-bottom: 1px #bbb solid;
}
.ContentView .ArticleMeta:hover {
  color: #333;
}
.ContentView .ArticleMeta:hover a {
  border-bottom: 1px #333 solid;
}
.ContentView .ArticleMeta > div:nth-child(1) {
  position: relative;
  width: 49%;
  text-align: right;
}
.ContentView .ArticleMeta > div:nth-child(1)::after {
  content: '/';
  font-size: 300%;
  font-weight: 100;
  position: absolute;
  top: 15px;
  right: -18px;
}
.ContentView .ArticleMeta > div:nth-child(2) {
  width: 49%;
  margin-left: auto;
  margin-right: 0;
}
.ContentView .ArticleMeta > div:only-child {
  width: 100%;
  text-align: center;
}
.ContentView .ArticleMeta > div:only-child::after {
  display: none;
}
.ContentView .OtherPost .NextPostA {
  float: right;
}
.ContentView .OtherPost .PrevPostA {
  float: left;
}
#nav-wrapper {
  text-align: center;
}
#page-nav {
  position: relative;
  display: inline-block;
  padding: 0 1em;
}
.page-number {
  margin: 0.3em;
}
.extend {
  border-bottom-color: transparent;
  line-height: inherit;
  position: absolute;
  white-space: nowrap;
}
.extend.prev {
  right: 100%;
}
.extend.next {
  left: 100%;
}
a.translate {
  font-size: 0.4em;
}
.TimeSection {
  overflow: hidden;
}
.TimeSection h1 {
  cursor: pointer;
}
.TimeSection ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.hljs {
    display: block;
    background: white;
    padding: 0.5em;
    color: #333333;
    overflow-x: auto
}

.comment,
.meta {
    color: #969896
}

.string,
.variable,
.template-variable,
.strong,
.emphasis,
.quote {
    color: #df5000
}

.keyword,
.selector-tag,
.type {
    color: #a71d5d
}

.literal,
.symbol,
.bullet,
.attribute {
    color: #0086b3
}

.section,
.name {
    color: #63a35c
}

.tag {
    color: #333333
}

.title,
.attr,
.selector-id,
.selector-class,
.selector-attr,
.selector-pseudo {
    color: #795da3
}

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

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

.link {
    text-decoration: underline
}
@font-face {
    font-family: 'quicksandregular';
    src: url('/font/quicksand-regular-webfont.woff2') format('woff2'),
    url('/font/quicksand-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'tekoregular';
    src: url('/font/teko-regular-webfont.woff2') format('woff2'),
    url('/font/teko-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'rasaregular';
    src: url('/font/rasa-regular-webfont.woff2') format('woff2'),
    url('/font/rasa-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'dosislight';
    src: url('/font/dosis-light-webfont.woff2') format('woff2'),
    url('/font/dosis-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
