/* 全局样式 */
body {
    font-family: "Helvetica Neue", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #28262a;
    margin: 0;
    padding: 0;
}

/* 标题样式 */
h1 {
    font-size: 24px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.3em;
}

h2 {
    font-size: 20px;
    border-bottom: 1px solid #eee;
}

h3 {
    font-size: 16px;
    font-weight: bold;
}

/* 代码块 */
pre {
    background-color: #f6f8fa;
    border-radius: 4px;
    padding: 12px;
    overflow: auto;
}

code {
    font-family: "Consolas", "Monaco", monospace;
    background-color: rgba(27, 31, 35, 0.05);
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

/* Table styles ripped from Github */
table {
    display: block;
    overflow: auto;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

table tr {
    background-color: #fff;
    border-top: 1px solid #c6cbd1;
}

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

table th {
    font-weight: 600;
}

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

table tr {
    background-color: #fff;
    border-top: 1px solid #c6cbd1;
}

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

table>thead>tr>th {
    border-bottom: 0;
}

/* End of table styles */

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

li {
    margin: 0.15em 0;
}

/* 链接 */
a {
    color: #3f6bde;
    text-decoration: none;
}

/* 图片居中 */
p>img {
    display: block;
    margin: 0 auto;
}
blockquote {
    border-left: 2px solid #d0d7df; /* 左侧边框颜色 */
    background: white; /* 背景色 */
}

/* 页面设置 */
@page {
    size: A4;
    margin: 5mm;
}