@charset "UTF-8";
th, tbody { --background-color: #f5f5f5; }

@media (prefers-color-scheme: dark) { body, a, th, tbody { --main-text-color: white; --main-background-color: #222; --background-color: #444; } }
* { margin: 0; padding: 0; font-family: Courier New, Courier, monospace; }

html, body { height: 100%; background-color: var(--main-background-color); color: var(--main-text-color); }

a { text-decoration: none; color: var(--main-text-color); }

a:hover { color: #aaa; }

blockquote { margin: 15px; padding-left: 15px; border-left: 2px solid #888; }

h1, h2, h3, h4, h5, h6 { line-height: normal; margin: 5px 0; text-indent: 0; }

h2 { font-size: 1.3em; }

hr { margin: 10px; border: 1px solid #eee; }

img { max-width: 700px; }

ol, ul { margin-left: 35px; }

p { margin-bottom: 5px; }

table { width: 100%; }

tbody tr:hover { background-color: var(--background-color); }

td { padding: 8px; border-bottom: 1px solid #ddd; }

th { padding: 8px; border-bottom: 1px solid #ccc; background: var(--background-color); }

a.reversefootnote { display: none; }

.container-wrapper { width: 100%; margin: 0 auto; max-width: 800px; }

.container-header { width: 100%; padding: 10px 0; border-bottom: solid 1px #aaa; overflow: hidden; }

.container-main { width: 95%; margin: 10px auto; overflow: hidden; min-height: calc(100vh - 159px); }

.container-footer { padding: 10px 0; border-top: solid 1px #aaa; overflow: hidden; }

.float-left { float: left; }

.float-right { float: right; }

.float-center { text-align: center; }

.header-info { display: block; position: relative; margin: 10px; }

.header-info-name { font-size: 2em; font-weight: bold; }

.header-info-desc { font-size: 0.9em; }

.header-main-nav { margin: 0; list-style: none; }

.header-main-nav-item { display: block; position: relative; float: left; line-height: 24px; margin: 0 10px; }

.footer-copyright { overflow: hidden; }

.footer-copyright-text { display: block; position: relative; font-size: 14px; }

.page-title { text-align: center; }

.page-author { display: none; }

.page-content p { line-height: 20px; }

.page-content img { display: block; margin: 10px auto; }

.posts-list-item { display: block; position: relative; line-height: 24px; margin: 5px 0; overflow: hidden; }

.posts-list-item-name { width: calc(100% - 100px); font-weight: 300; }

.list-pagination { margin: 20px 0 10px 0; text-align: center; }

.post-title { text-align: center; }

.post-content { overflow-x: scroll; }

.post-content p { line-height: 20px; }

.post-content img { display: block; margin: 10px auto; }

.post-info { line-height: 24px; margin: 10px 0; }

.post-category, .post-tag { margin: 0 5px; }

.highlight { --border-color: #ccc; --box-background-color: #eee; --box-shadow: rgba(0, 0, 0, 0.1); }

.highlighter-rouge { --background-color-rouge: #eee; }

@media (prefers-color-scheme: dark) { .highlight { --border-color: darkgrey; --box-background-color: #111; --box-shadow: #888; }
  .highlighter-rouge { --background-color-rouge: #444; } }
.highlight > pre, pre.highlight { line-height: 18px; margin: 10px 0; padding-left: 3px; border: 1px solid var(--border-color); overflow-x: auto; font-size: 14px; text-indent: 0px; background-color: var(--box-background-color); box-shadow: 3px 3px var(--box-shadow); }

.highlighter-rouge { font-size: 14px; background-color: var(--background-color-rouge); }

@media screen and (max-width: 768px) { /* reset default styles */
  img { width: 100%; max-width: 300px; }
  /* Posts list */
  .list-pagination { margin: 10px 0 5px 0; }
  /* Footer */
  .footer-copyright .float-left, .footer-copyright .float-right { float: none; } }
.print-post-author { display: none; }

@media print { /* Header */
  .container-header { display: none; }
  /* Footer */
  .container-footer { display: none; }
  /* Post */
  .post-title { text-align: center; }
  .post-author { display: block; text-align: center; }
  .post-info { display: none; }
  /* Highlight */
  pre.highlight { overflow-x: hidden; word-wrap: break-word; white-space: pre-wrap; } }
.task-list-item { list-style: none; }

.task-list-item-checkbox { position: relative; right: 15px; }

code.language-mermaid { display: block; text-align: center; }

/* 添加全局样式 */
html { scrollbar-gutter: stable; }
