/* 英才的博客 - 朴素主题 */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: #333;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: #1756a9; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* 页眉 */
.site-header { padding: 36px 0 0; border-bottom: 1px solid #ddd; }
.site-name { font-family: Georgia, "Songti SC", "STSong", "SimSun", serif; font-size: 30px; font-weight: 700; line-height: 1.2; }
.site-name a { color: #111; }
.site-name a:hover { text-decoration: none; }
.site-desc { margin: 6px 0 0; color: #888; font-size: 14px; }
.site-nav { margin: 18px 0 0; padding: 10px 0; border-top: 1px solid #eee; font-size: 15px; }
.site-nav a { margin-right: 22px; color: #444; }
.site-nav a:last-child { margin-right: 0; }

main { padding: 8px 0 10px; }

/* 首页文章条目 */
.post-entry { padding: 26px 0 22px; border-bottom: 1px solid #eee; }
.post-entry-title { margin: 0 0 6px; font-family: Georgia, "Songti SC", "STSong", "SimSun", serif; font-size: 23px; line-height: 1.35; font-weight: 700; }
.post-entry-title a { color: #111; }
.post-meta { margin: 0 0 10px; color: #999; font-size: 13px; }
.post-summary { color: #444; }
.post-summary p { margin: 0; }
.post-summary img { max-width: 100%; height: auto; display: block; margin: 0.6em auto; border-radius: 4px; }
img, video { max-width: 100%; height: auto; }
.read-more { margin: 10px 0 0; font-size: 14px; }

/* 分页 */
.pagination { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 6px; font-size: 14px; color: #888; }

/* 归档页 */
.page-title { font-family: Georgia, "Songti SC", "STSong", "SimSun", serif; font-size: 26px; margin: 26px 0 8px; color: #111; }
.archive-year { font-size: 18px; margin: 26px 0 8px; color: #111; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li { padding: 7px 0; border-bottom: 1px dotted #e3e3e3; }
.archive-date { display: inline-block; min-width: 92px; color: #999; font-size: 14px; font-variant-numeric: tabular-nums; }
.archive-list a { color: #333; }
.archive-list a:hover { color: #1756a9; }

/* 文章页 */
.post { padding-top: 26px; }
.post-title { font-family: Georgia, "Songti SC", "STSong", "SimSun", serif; font-size: 28px; line-height: 1.35; margin: 0 0 8px; color: #111; }
.post-body { margin-top: 18px; font-size: 17px; line-height: 1.9; color: #333; word-wrap: break-word; }
.post-body p { margin: 0 0 1.1em; }
.post-body h2 { font-size: 21px; margin: 1.6em 0 .6em; color: #111; }
.post-body h3 { font-size: 18px; margin: 1.4em 0 .5em; color: #111; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body img { max-width: 100%; height: auto; display: block; margin: 1em auto; }
.post-body blockquote { margin: 1.2em 0; padding: 2px 16px; border-left: 3px solid #ccc; color: #666; }
.post-body blockquote p { margin: .5em 0; }
.post-body ul, .post-body ol { padding-left: 1.6em; }
.post-body li { margin: .3em 0; }
.post-body code { font-family: Menlo, Consolas, "Courier New", monospace; font-size: .88em; background: #f5f5f5; padding: 2px 5px; border: 1px solid #e8e8e8; border-radius: 3px; }
.post-body pre { background: #f7f7f7; border: 1px solid #e5e5e5; padding: 14px 16px; overflow-x: auto; line-height: 1.55; }
.post-body pre code { background: none; border: 0; padding: 0; }
.post-body hr { border: 0; border-top: 1px solid #ddd; margin: 2em auto; width: 40%; }
.post-body table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid #ddd; padding: 7px 10px; text-align: left; }
.post-body th { background: #f7f7f7; }
.post-source { margin-top: 2em; font-size: 14px; color: #888; word-break: break-all; }

.post-nav { margin-top: 34px; padding-top: 16px; border-top: 1px solid #eee; font-size: 15px; }
.post-nav p { margin: 5px 0; }

/* 页脚 */
.site-footer { margin-top: 30px; padding: 18px 0 34px; border-top: 1px solid #ddd; color: #999; font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer a { color: #999; }

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .site-header { padding-top: 26px; }
  .site-name { font-size: 25px; }
  .site-nav a { margin-right: 16px; }
  .post-entry-title { font-size: 20px; }
  .post-title { font-size: 24px; }
  .post-body { font-size: 16px; }
  .archive-date { min-width: 78px; }
}
