/* =================================================
   svn-retro theme
   Inspired by Signal vs Noise (circa 2005)
   ================================================= */

/* -------------------------------------------------
   RESET & BASE
   ------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  padding: 40px 0;
  margin: 0;
  color: #333;
  background: #fff;
  background-image: linear-gradient(to bottom, #dce8f0 0%, #fff 60px);
  background-repeat: no-repeat;
  text-align: center;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------
   LINKS
   ------------------------------------------------- */

a:link { color: #1a1a1a; }
a:visited { color: #555; }
a:hover { color: #fff; background-color: #1a1a1a; }

/* -------------------------------------------------
   CONTAINER
   ------------------------------------------------- */

#Container {
  margin: 0 auto;
  max-width: 680px;
  padding: 0 24px;
  text-align: left;
}

/* -------------------------------------------------
   MASTHEAD
   ------------------------------------------------- */

#Masthead {
  margin-bottom: 48px;
}

#Masthead h1 {
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

#Masthead h1 a:link,
#Masthead h1 a:visited {
  color: #393;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
}

#Masthead h1 a:hover {
  background: none;
  text-decoration: underline;
}

#Masthead h1 span.tagline {
  font-size: 13px;
  color: #999;
  display: block;
  margin-top: 4px;
}

#Masthead h1 span.rss-link {
  font-size: 13px;
  font-weight: normal;
  color: #999;
  margin-left: 8px;
}

#Masthead h1 span.rss-link a:link,
#Masthead h1 span.rss-link a:visited {
  color: #f60;
  text-decoration: none;
}

#Masthead h1 span.rss-link a:hover {
  color: #fff;
  background-color: #f60;
}

/* -------------------------------------------------
   CONTENT: ABOUT SECTION (homepage)
   ------------------------------------------------- */

#About {
  margin-bottom: 48px;
}

#About h2 {
  font-size: 22px;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: -0.5px;
  color: #393;
  margin: 0 0 12px 0;
  padding: 0;
}

#About p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 14px 0;
}

#About a:link { color: #393; }
#About a:visited { color: #666; }
#About a:hover { color: #fff; background-color: #393; }

/* -------------------------------------------------
   CONTENT: LATEST POSTS SECTION (homepage)
   ------------------------------------------------- */

#LatestPosts {
  margin-bottom: 48px;
  border-top: 1px dotted #ccc;
  padding-top: 24px;
}

#LatestPosts h2 {
  font-size: 22px;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: -0.5px;
  color: #393;
  margin: 0 0 18px 0;
  padding: 0;
}

#LatestPosts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#LatestPosts ul li {
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
}

#LatestPosts ul li a:link,
#LatestPosts ul li a:visited {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

#LatestPosts ul li a:hover {
  color: #fff;
  background-color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

#LatestPosts p.more {
  margin-top: 24px;
  font-size: 14px;
}

#LatestPosts p.more a:link,
#LatestPosts p.more a:visited {
  color: #393;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

#LatestPosts p.more a:hover {
  color: #fff;
  background-color: #393;
  border-bottom-color: #393;
}

/* -------------------------------------------------
   CONTENT: ARCHIVE / POST LIST
   ------------------------------------------------- */

#ArchiveList {
  margin-bottom: 48px;
}

#ArchiveList h2 {
  font-size: 28px;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.3;
  letter-spacing: -0.5px;
  padding: 0;
  margin: 0 0 24px 0;
  color: #393;
}

#ArchiveList ul {
  list-style: none;
  margin: 0 0 36px 0;
  padding: 0;
}

#ArchiveList ul li {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
}

#ArchiveList ul li a:link,
#ArchiveList ul li a:visited {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

#ArchiveList ul li a:hover {
  color: #fff;
  background-color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

/* -------------------------------------------------
   PAGINATION
   ------------------------------------------------- */

.pagination {
  font-size: 14px;
  color: #999;
  margin: 36px 0;
  padding-top: 18px;
  border-top: 1px dotted #ccc;
}

.pagination a:link,
.pagination a:visited {
  color: #393;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  margin: 0 5px;
}

.pagination a:hover {
  color: #fff;
  background-color: #393;
  border-bottom-color: #393;
}

.pagination .current {
  font-weight: bold;
  color: #333;
  margin: 0 5px;
}

/* -------------------------------------------------
   CONTENT: SINGLE POST
   ------------------------------------------------- */

.post {
  margin: 0 0 48px 0;
}

.post .post_header h2 {
  font-size: 30px;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.3;
  letter-spacing: -0.5px;
  padding: 0;
  margin: 0;
  color: #393;
}

.post .post_header h2 a:link,
.post .post_header h2 a:visited {
  color: #393;
  text-decoration: none;
}

.post .post_header h2 a:hover {
  text-decoration: underline;
  background: none;
}

.post .post_header .date {
  font-size: 14px;
  color: #999;
  margin: 6px 0 28px 0;
}

.post p {
  font-size: 16px;
  line-height: 1.85;
  color: #222;
  padding: 0;
  margin: 0 0 20px 0;
}

.post p strong {
  color: #333;
}

.post h2 {
  font-size: 22px;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: -0.5px;
  color: #393;
  margin: 36px 0 16px 0;
  padding: 0;
  line-height: 1.3;
}

.post h3 {
  font-size: 18px;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #444;
  margin: 30px 0 12px 0;
  padding: 0;
  line-height: 1.3;
}

.post h4 {
  font-size: 16px;
  margin: 24px 0 10px 0;
  padding: 0;
}

.post img {
  padding: 1px;
  border: 1px solid #996;
  margin: 4px 0;
  max-width: 100%;
  height: auto;
}

.post blockquote {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  padding-left: 20px;
  margin: 0 0 20px 0;
  border-left: 3px solid #ddd;
}

.post ul, .post ol {
  margin: 0 0 20px 0;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.8;
}

.post ul li {
  list-style-type: square;
  margin-bottom: 4px;
}

.post ol li {
  margin-bottom: 4px;
}

.post dl {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 0;
  padding-top: 0;
}

.post dd {
  margin: 0 0 20px 0;
}

/* -------------------------------------------------
   CODE
   ------------------------------------------------- */

code, pre {
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, "Courier New", monospace;
  font-size: 14px;
  color: #333;
}

code {
  background: #f5f5f0;
  padding: 2px 5px;
  border: 1px solid #e0e0d8;
  border-radius: 2px;
}

pre {
  background: #f5f5f0;
  border: 1px solid #e0e0d8;
  border-radius: 3px;
  padding: 14px 16px;
  overflow-x: auto;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
}

/* -------------------------------------------------
   FOOTER
   ------------------------------------------------- */

#Footer {
  clear: both;
  border-top: 1px dotted #ccc;
  padding-top: 14px;
  margin-top: 48px;
  margin-bottom: 48px;
}

#Footer p {
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: normal;
  color: #999;
  letter-spacing: 0;
  margin: 0;
}

#Footer p a:link,
#Footer p a:visited {
  color: #999;
}

#Footer p a:hover {
  color: #fff;
  background-color: #999;
}

/* -------------------------------------------------
   STRONG
   ------------------------------------------------- */

strong {
  color: #000;
}

/* -------------------------------------------------
   FORM (for future use)
   ------------------------------------------------- */

form {
  margin: 0;
  padding: 0;
}

/* -------------------------------------------------
   BACK LINK
   ------------------------------------------------- */

.back-link {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px dotted #ccc;
  font-size: 14px;
}

.back-link a:link,
.back-link a:visited {
  color: #393;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.back-link a:hover {
  color: #fff;
  background-color: #393;
  border-bottom-color: #393;
}
