/**
 * _layout/post.html
 */
h1,h2,h3,h4,h5,h6,
p,blockquote,pre,
dl,dd,ol,ul,figure {
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}
figure>img {
    display: block;
}
.post-content ul {
    margin-left: 1.3em;
    list-style: square;
}
.post-content ol {
    margin-left: 1.3em;
    list-style: decimal;
}
.post-content li>ul {
    list-style: circle;
}
.post-content li>ol {
    list-style: lower-latin;
}
a {
    color: #2a7ae2;
    text-decoration: none;
    cursor: pointer;
    word-break: break-all;
}
a:visited {
    color: #1756a9;
    text-decoration: none;
}
a:hover {
    color: #111;
    text-decoration: none;
}
blockquote {
    color: #828282;
    line-height: 1.8em;
    border-left: 4px solid #e8e8e8;
    padding-left: 1em;
    font-size: 1em;
}
blockquote> :last-child {
    margin-bottom: 0;
}
.post-content h1 {
    font-size: 1.5em;
}
.post-content h2 {
    font-size: 1.4em;
}
.post-content h3 {
    font-size: 1.3em;
}
.post-content h4 {
    font-size: 1.2em;
}
.post-content h5 {
    font-size: 1.1em;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    /* border-radius: 5px; */
    /* color: white; */
    /* font-family: "微软雅黑" , "宋体" , "黑体" ,Arial; */
    padding: 0.3em 0.3em 0.3em 0.5em;
    border-left: 4px solid #3B95B8;
    border-bottom: 1px solid #3B95B8;
    width: 80%;
    font-weight: 700;
    line-height: 1.5;
}

.post-classify-list,
.post-classify-list a {
    color: #996e5d;
}

.post-classify-list a:hover {
    opacity: 0.7;
}

.post-tag-list {
    color: #4982dc;
}


.index-post-tag a {
    background-color: #77b1e1;
    display: inline-block;
    font-weight: normal;
    color: #fff;
    height: 1.34em;
    line-height: 1.2;
    font-size: 1em;
    padding: 0 0.67em;
    position: relative;
    -webkit-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
    margin: 0 0 0 1em;
}

.index-post-tag a:before {
    content: " ";
    position: absolute;
    top: 0;
    left: -1.34em;
    border: 0.67em solid transparent;
    border-right-color: #77b1e1;
}

.index-post-tag a:after {
    content: " ";
    width: 4px;
    height: 4px;
    background-color: #fff;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: calc(50% - 2px);
    left: 2px;
}

.post-content {
    line-height: 1.6;
    /* letter-spacing: 1px; */
}

.post-header {
    margin-top: 1em;
    margin-bottom: 1em;
    border-left: 6px solid;
    margin-left: -1em;
    padding-left: 2em;
}

@media (max-width: 576px) {
    .post-header {
        margin-left: -1em;
        padding-left: 1.5em;
    }
}

.post-title {
    font-size: 2em;
    padding-top: 0.6em;
    line-height: 1.5;
}

.index-post-tag a:visited {
    color: #fff;
}

.index-post-tag a:hover,
.index-post-tag a:focus {
    text-decoration: none;
    color: #fff;
}

.post-meta {
    margin-right: 1em;
    display: inline-block;
    font-size: 0.9em;
    color: #828282;
}

.prev-and-next {
    margin-bottom: 2em;
    margin-top: 2em;
    padding: 1em 3em;
    background: white;
    padding-left: 2em;
}

.prev-and-next div {
    margin-bottom: 0.5em;
}

.toc-container {
    position: sticky;
    position: -webkit-sticky; /* 兼容 Safari */
    top: 30px;
    padding-top: 10px;
}

#toc-list {
    height: 70vh;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-header h3 {
    font-weight: bold;
}

.toc-container li {
    margin: 0.5em 0;
    padding: 0;
}

.toc-container li a {
    text-decoration: none;
    color: #2f7ca2;
}

.toc-container li a:visted {
    color: #2f7ca2;
}

.toc-container li a:hover {
    text-decoration: underline;
    font-weight: bold;
}

.toc-container .root-toc {
    font-weight: 600;
}

.beaudar {
    margin: 0 0 0 20px;
    width: 90%;
}

.post-content th,
.post-content td {
    border: 1px solid #ccc;
    padding: 2px 5px;
}
