body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.7;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
}
.terms { font-size: .9em; }
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
  border-style: dashed;
  color: #ddd;
}
/* #TableOfContents, #TOC {
  border: 1px solid #eee;
  border-radius: 5px;
} */

/* pagination */
.pagination { text-align: center; }
.pagination li { display: inline; }
.pagination a { padding: 0 .2em; }

/* code */
pre {
  /*border: 1px solid #ddd;*/
  /*box-shadow: 5px 5px 5px #eee;*/
  /*padding: 1em;*/
  overflow-x: auto;
  border-radius: 5px;
  line-height: 1.9;
}

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  /*border-top: 1px solid #666;*/
  /*border-bottom: 1px solid #666;*/
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }


/**
 * GitHub Light 风格的自定义样式
 * 基于 hugo-xmin 主题进行调整
 */

/* 基础字体设置 */
body,
button,
input,
select,
textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    /* line-height: 1.5; */
    color: #24292f;
}

/* 标题字体设置 */
.title,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-weight: 600;
    color: #24292f;
    margin-top: 24px;
    margin-bottom: 16px;
}

h1 {
    font-size: 2em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #eaecef;
}

h2 {
    font-size: 1.5em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #eaecef;
}

h3 {
    font-size: 1.25em;
}

h4 {
    font-size: 1em;
}

/* 主体内容样式 */
.single main {
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid #d0d7de;
    background-color: #ffffff;
}

/* 链接样式 */
a {
    color: #0969da;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 表格样式 */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
    display: block;
    overflow-x: auto;
}

table th,
table td {
    padding: 6px 13px;
    border: 1px solid #d0d7de;
}

table tr {
    background-color: #ffffff;
    border-top: 1px solid #d0d7de;
}

table tr:nth-child(2n) {
    background-color: #f6f8fa;
}

table thead tr {
    background-color: #f6f8fa;
}

/* 引用块样式 */
blockquote {
    padding: 0 1em;
    color: #57606a;
    border-left: 0.25em solid #d0d7de;
    margin: 16px 0;
}



/* 列表样式 */
ul, ol {
    padding-left: 2em;
}

li + li {
    margin-top: 0.25em;
}

/* 搜索框样式 */
.search input {
    padding: 5px 12px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    outline: none;
}

.search input:focus {
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.3);
}

/* 页脚样式 */
footer {
    margin-top: 32px;
    padding: 16px 0;
    color: #57606a;
    font-size: 12px;
}
