/*
Theme Name: 精简文字主题
Theme URI:
Description: 手机端文章
Version: 1.0
Author:
Text Domain: wechat-style
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.75;
  padding-bottom: 40px;
}
a {
  color: #576b95;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
}

/* 文章容器 */
.container {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  padding: 20px 16px;
}

/* 文章标题 */
.post-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.8em;
  color: #000000;
}

/* 作者时间信息 */
.post-meta {
  color: #888;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 22px;
  line-height: 20px;
  font-size: 15px;
}
.post-meta-time{margin: 0 10px;}
/* 文章正文*/
.post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}
.post-content p {
  margin-bottom: 1.2em;
  text-align: justify;
}
.post-content h2 {
  font-size: 1.25rem;
  margin: 1.6em 0 0.8em;
  font-weight: bold;
}
.post-content h3 {
  font-size: 1.15rem;
  margin: 1.4em 0 0.7em;
  font-weight: bold;
}
.post-content ul,
.post-content ol {
  padding-left: 1.6em;
  margin: 1em 0;
}
.post-content blockquote {
  border-left: 4px solid #d9d9d9;
  padding: 10px 14px;
  background: #f7f7f7;
  margin: 1.2em 0;
  color: #666;
}

/* 代码块容器 */
.post-content pre {
  background-color: #1e1e1e;
  color: #d4d4d4;
  padding: 1.25rem;
  border-radius: 6px;
  overflow: auto;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  margin: 1.2em 0;
  white-space: pre;
  word-wrap: normal;
  border: 1px solid #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 代码内部行内样式 */
.post-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-family: inherit;
}

/* 简单高亮配色（黑底通用） */
.post-content pre .comment { color: #6a9955; }
.post-content pre .string { color: #ce9178; }
.post-content pre .keyword { color: #569cd6; }
.post-content pre .function { color: #dcdcaa; }
.post-content pre .variable { color: #9cdcfe; }
.post-content pre .number { color: #b5cea8; }