@media print {
  .VPNav,
  .VPNavBar,
  .VPLocalNav,
  .VPDocFooter,
  .VPDocAside,
  .VPLink,
  .cur,
  .next-link,
  .prev-link,
  .edit-link-button,
  .pager,
  .vp-doc-footer,
  .table-of-contents {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.6;
    color: #333;
    font-family: "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans CN", "WenQuanYi Micro Hei", "Heiti SC", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  h1 {
    font-size: 24pt;
    page-break-after: avoid;
    margin-bottom: 20pt;
    font-family: "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans CN", "WenQuanYi Micro Hei", "Heiti SC", sans-serif;
  }

  h2 {
    font-size: 18pt;
    page-break-after: avoid;
    margin-top: 20pt;
    margin-bottom: 10pt;
    font-family: "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans CN", "WenQuanYi Micro Hei", "Heiti SC", sans-serif;
  }

  h3 {
    font-size: 14pt;
    page-break-after: avoid;
    margin-top: 15pt;
    margin-bottom: 8pt;
    font-family: "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans CN", "WenQuanYi Micro Hei", "Heiti SC", sans-serif;
  }

  p, li, td, th {
    font-family: "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans CN", "WenQuanYi Micro Hei", "Heiti SC", sans-serif;
  }

  table {
    font-size: 10pt;
    page-break-inside: avoid;
    font-family: "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans CN", "WenQuanYi Micro Hei", "Heiti SC", sans-serif;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }

  pre {
    page-break-inside: avoid;
  }

  .vp-doc div[class*="language-"] {
    background: #f6f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 16px;
    overflow-x: auto;
    page-break-inside: avoid;
  }

  .vp-doc div[class*="language-"] code {
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 9pt;
    line-height: 1.45;
  }

  a {
    color: #0366d6;
    text-decoration: none;
  }

  .vp-doc h1,
  .vp-doc h2,
  .vp-doc h3 {
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
}
