/**
 * Reset some basic elements
 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
hr,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
ul,
ol,
dl,
figure {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block;
  /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul,
ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none;
}
a:visited {
  color: #1756a9;
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: none;
  border-radius: 6px;
  background-color: #EDF6FD;
  line-height: 1.5;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - (30px * 2));
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(800px - (30px));
    max-width: calc(800px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #828282;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: #3f3f3f;
  border-collapse: collapse;
  border: 1px solid #e8e8e8;
}
table tr:nth-child(even) {
  background-color: #f7f7f7;
}
table th,
table td {
  padding: 10px 15px;
}
table th {
  background-color: #f0f0f0;
  border: 1px solid #dedede;
  border-bottom-color: #c9c9c9;
}
table td {
  border: 1px solid #e8e8e8;
}

.toc-container {
  position: sticky;
  top: 40px;
}
.toc-container .toc-header {
  padding-left: 12px;
  font-size: 14px;
}
.toc-container .toc-container-inner {
  padding: 6px 0px;
  border: 1px solid #e1e4e8;
  border-radius: 4px;
  position: absolute;
  width: 200px;
  overflow: hidden;
  top: 0px;
  left: -220px;
}

#toc {
  font-size: 12px;
  margin: 0px;
  overflow: hidden;
  list-style: none;
}
#toc ul {
  margin-left: 8px;
  list-style: none;
}
#toc li {
  padding: 2px 4px;
}
#toc li a {
  position: realtive;
  color: #64748b;
  display: block;
  padding: 4px 8px;
  border-radius: 8px;
}
#toc li a:hover {
  background-color: #f3f4f6;
}

h1 {
  margin: 40px 0 20px 0;
}

h2 {
  margin: 30px 0 15px 0;
}

h3 {
  margin: 25px 0 10px 0;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid #4DA4EA;
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 61.2px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
  display: flex;
  align-items: center;
}
.site-title, .site-title:visited {
  color: #424242;
}
.site-title .header-avatar {
  height: 40px;
  border-radius: 20px;
  margin: 0 10px 0 0;
}

.site-nav {
  float: right;
  line-height: 61.2px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #111;
  line-height: 1.7;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: #424242;
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    padding: 5px 10px;
    margin-left: 20px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 15px;
  color: #828282;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - (30px / 2));
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - (30px / 2));
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - (30px / 2));
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - (30px / 2));
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2));
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2));
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  align-items: center;
  display: flex;
  margin-bottom: 30px;
}
@media screen and (max-width: 480px) {
  .post-list > li .post-banner {
    display: none;
  }
}
.post-list > li .post-banner {
  height: 120px;
  width: 200px;
  background-repeat: no-repeat;
  background-size: 200px;
  background-position: center;
  flex-shrink: 0;
}
.post-list > li .post-meta {
  margin: 0 30px 0 0;
  flex: 1 1 80%;
}

.post-meta {
  font-size: 14px;
  color: #828282;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-link {
  display: block;
  font-size: 16px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

article .post-banner {
  max-height: 300px;
  margin: 0 auto 30px auto;
  display: block;
}

.post-title {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 18.4px;
  }
}
.post-content h3 {
  font-size: 16px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 16px;
  }
}
.post-content h4 {
  font-size: 16px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 16px;
  }
}

.highlight pre {
  background-color: #272822;
}

.highlight .hll {
  background-color: #272822;
}

.highlight .c {
  color: #75715e;
} /* Comment */
.highlight .err {
  color: #960050;
  background-color: #1e0010;
} /* Error */
.highlight .k {
  color: #66d9ef;
} /* Keyword */
.highlight .l {
  color: #ae81ff;
} /* Literal */
.highlight .n {
  color: #f8f8f2;
} /* Name */
.highlight .o {
  color: #f92672;
} /* Operator */
.highlight .p {
  color: #f8f8f2;
} /* Punctuation */
.highlight .cm {
  color: #75715e;
} /* Comment.Multiline */
.highlight .cp {
  color: #75715e;
} /* Comment.Preproc */
.highlight .c1 {
  color: #75715e;
} /* Comment.Single */
.highlight .cs {
  color: #75715e;
} /* Comment.Special */
.highlight .ge {
  font-style: italic;
} /* Generic.Emph */
.highlight .gs {
  font-weight: bold;
} /* Generic.Strong */
.highlight .kc {
  color: #66d9ef;
} /* Keyword.Constant */
.highlight .kd {
  color: #66d9ef;
} /* Keyword.Declaration */
.highlight .kn {
  color: #f92672;
} /* Keyword.Namespace */
.highlight .kp {
  color: #66d9ef;
} /* Keyword.Pseudo */
.highlight .kr {
  color: #66d9ef;
} /* Keyword.Reserved */
.highlight .kt {
  color: #66d9ef;
} /* Keyword.Type */
.highlight .ld {
  color: #e6db74;
} /* Literal.Date */
.highlight .m {
  color: #ae81ff;
} /* Literal.Number */
.highlight .s {
  color: #e6db74;
} /* Literal.String */
.highlight .na {
  color: #a6e22e;
} /* Name.Attribute */
.highlight .nb {
  color: #f8f8f2;
} /* Name.Builtin */
.highlight .nc {
  color: #a6e22e;
} /* Name.Class */
.highlight .no {
  color: #66d9ef;
} /* Name.Constant */
.highlight .nd {
  color: #a6e22e;
} /* Name.Decorator */
.highlight .ni {
  color: #f8f8f2;
} /* Name.Entity */
.highlight .ne {
  color: #a6e22e;
} /* Name.Exception */
.highlight .nf {
  color: #a6e22e;
} /* Name.Function */
.highlight .nl {
  color: #f8f8f2;
} /* Name.Label */
.highlight .nn {
  color: #f8f8f2;
} /* Name.Namespace */
.highlight .nx {
  color: #a6e22e;
} /* Name.Other */
.highlight .py {
  color: #f8f8f2;
} /* Name.Property */
.highlight .nt {
  color: #f92672;
} /* Name.Tag */
.highlight .nv {
  color: #f8f8f2;
} /* Name.Variable */
.highlight .ow {
  color: #f92672;
} /* Operator.Word */
.highlight .w {
  color: #f8f8f2;
} /* Text.Whitespace */
.highlight .mf {
  color: #ae81ff;
} /* Literal.Number.Float */
.highlight .mh {
  color: #ae81ff;
} /* Literal.Number.Hex */
.highlight .mi {
  color: #ae81ff;
} /* Literal.Number.Integer */
.highlight .mo {
  color: #ae81ff;
} /* Literal.Number.Oct */
.highlight .sb {
  color: #e6db74;
} /* Literal.String.Backtick */
.highlight .sc {
  color: #e6db74;
} /* Literal.String.Char */
.highlight .sd {
  color: #e6db74;
} /* Literal.String.Doc */
.highlight .s2 {
  color: #e6db74;
} /* Literal.String.Double */
.highlight .se {
  color: #ae81ff;
} /* Literal.String.Escape */
.highlight .sh {
  color: #e6db74;
} /* Literal.String.Heredoc */
.highlight .si {
  color: #e6db74;
} /* Literal.String.Interpol */
.highlight .sx {
  color: #e6db74;
} /* Literal.String.Other */
.highlight .sr {
  color: #e6db74;
} /* Literal.String.Regex */
.highlight .s1 {
  color: #e6db74;
} /* Literal.String.Single */
.highlight .ss {
  color: #e6db74;
} /* Literal.String.Symbol */
.highlight .bp {
  color: #f8f8f2;
} /* Name.Builtin.Pseudo */
.highlight .vc {
  color: #f8f8f2;
} /* Name.Variable.Class */
.highlight .vg {
  color: #f8f8f2;
} /* Name.Variable.Global */
.highlight .vi {
  color: #f8f8f2;
} /* Name.Variable.Instance */
.highlight .il {
  color: #ae81ff;
} /* Literal.Number.Integer.Long */
/* Generic Heading & Diff Header */
.highlight .gu {
  color: #75715e;
} /* Generic.Subheading & Diff Unified/Comment? */
.highlight .gd {
  color: #f92672;
} /* Generic.Deleted & Diff Deleted */
.highlight .gi {
  color: #a6e22e;
} /* Generic.Inserted & Diff Inserted */
a.card-link {
  display: none;
}

.site-header .modal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-header .modal.open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.site-header .modal-bg {
  position: absolute;
  background: black;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
.site-header .modal-container {
  border-radius: 10px;
  background: #fff;
  position: relative;
}
.site-header .modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  outline: none;
  appearance: none;
  color: red;
  background: none;
  border: 0px;
  font-weight: bold;
  cursor: pointer;
}

.post-content .highlighter-rouge:has(+ .command-output) .highlight pre.highlight {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.post-content figure.highlight:has(+ .command-output) pre {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.post-content .command-output {
  margin: -15px 0 15px 0;
  padding: 8px 12px;
  background: #EDF6FD;
  border: 1px solid #71B6EE;
  border-top: none;
  border-radius: 6px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  font-size: 14.4px;
}
.post-content .command-output .toggler {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0 0 0 -8px;
  user-select: none;
}
.post-content .command-output .toggler .show-output {
  display: inline-block;
}
.post-content .command-output .toggler .hide-output {
  display: none;
}
.post-content .command-output .content {
  margin: 15px 0 0 0;
  display: none;
}
.post-content .command-output .content > *:last-child {
  margin-bottom: 0;
}
.post-content .command-output.no-toggle .content {
  margin: 0;
}
.post-content .command-output.active .toggler .show-output {
  display: none;
}
.post-content .command-output.active .toggler .hide-output {
  display: inline-block;
}
.post-content .command-output.active .toggler svg {
  transform: rotate(90deg);
}
.post-content .command-output.active .content {
  display: block;
}
.post-content .card-link-wrapper {
  line-height: 1.6;
  margin: 15px auto;
  height: 134px;
  width: 500px;
  display: flex;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}
@media screen and (max-width: 480px) {
  .post-content .card-link-wrapper {
    width: 100%;
  }
}
.post-content .card-link-wrapper:hover {
  background: #EDF6FD;
  cursor: pointer;
}
.post-content .card-link__image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 134px;
  height: 134px;
  background-color: white;
  overflow: hidden;
}
.post-content .card-link__image img {
  max-width: none;
  height: 134px;
  box-shadow: none;
  border-radius: 0px;
}
.post-content .card-link__image svg.default-image {
  height: 64px;
  width: 64px;
  fill: #828282;
}
.post-content .card-link__meta {
  padding: 10px;
}
.post-content .card-link__meta__host {
  font-size: 14.4px;
  margin: 0 0 4px 0;
  color: #828282;
}
.post-content .card-link__meta__title {
  font-size: 14.4px;
  margin: 0 0 8px 0;
  color: #111;
  max-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-content .card-link__meta__description {
  font-size: 14.4px;
  color: #828282;
  max-height: 45px;
  overflow: hidden;
}
.post-content blockquote {
  font-size: 16px;
  letter-spacing: 0;
  font-style: italic;
}
.post-content h1 {
  margin: 30px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e8e8;
}
.post-content strong {
  color: #3E83BB;
}
.post-content img {
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin: 15px auto;
}
.post-content img.add-padding {
  padding: 10px;
  max-width: calc(100% - 20px);
}
.post-content img.no-shadow {
  box-shadow: none;
  background-color: transparent;
}
.post-content figure.highlight > pre > code, .post-content pre.highlight > code {
  background: none;
  color: white;
  border: none;
}
.post-content figure.highlight > pre > code span.hll, .post-content pre.highlight > code span.hll {
  width: 100%;
  display: block;
  background: #424435;
  margin: 0 -12px;
  padding: 0 12px;
}
.post-content .chenglu-alert {
  margin: 15px 0;
  padding: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  border-left-width: 5px;
  font-size: 14.4px;
}
.post-content .chenglu-alert > p:last-child {
  margin-bottom: 0;
}
.post-content .chenglu-alert.chenglu-alert-info {
  border-color: #CAE4F9;
  border-left-color: #4DA4EA;
}
.post-content .chenglu-alert.chenglu-alert-success {
  border-color: #a3cfbb;
  border-left-color: #5cb85c;
}
.post-content .chenglu-alert.chenglu-alert-warning {
  border-color: #ffe69c;
  border-left-color: #ffc107;
}
.post-content .chenglu-alert.chenglu-alert-error {
  border-color: #f1aeb5;
  border-left-color: #dc3545;
}

a:hover {
  text-decoration: none;
  color: #71B6EE;
}

em {
  background: #FEF2CC;
}

.post-title {
  line-height: 1.5;
}

/*# sourceMappingURL=main.css.map */