@charset "utf-8";

/* ------------------------ post页面、主标题、日期样式 ------------------------ */
.post-main
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto 24px;
    max-width: 768px;
}
@media screen and (min-width: 1132px) and (max-width: 1319px)  {
    .post-main {
        margin: 0 0 24px;
    }
}
@media screen and (min-width: 1320px)  {
    .post-main {
        margin: 0px auto 24px;
    }
}
.post-main-title
{
    flex: 0 0 100%;
    margin-bottom: 12px;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--font-color-1);
}
.post-meta
{
    font-size: 0.875rem;
    color: var(--font-color-3);
    flex: 0 0 100%;
    margin-bottom: 32px;
}
.post-md
{
    width: 100%;
    padding-bottom: 48px;
    font-size: var(--font-size-regular);
    letter-spacing: 0;
}

/* ------------------------ MD标题 -------------------- */
.post-md h1,
.post-md h2,
.post-md h3,
.post-md h4,
.post-md h5,
.post-md h6
{
    color: var(--font-color-1);
    margin: 12px 0;
}

h1 {
    font-size:30px;
    font-weight: 600;
    line-height: 72px;
    margin-bottom: 15px;
    margin-top: 40px;
    border-bottom: 1px solid #eef1f3;
}
/* .post-md h1
{
    font-size: 2.5rem;
    line-height: 1.2;
    padding: 24px 0;
} */
.post-md h2
{
    font-size: 1.5rem;
    line-height: 1.2;
    padding: 20px 0;
}
.post-md h3
{
    font-size: 1.75rem;
    line-height: 1.2;
    padding: 18px 0;
}
.post-md h4
{
    font-size: 1.5rem;
    line-height: 1.2;
    padding: 16px 0;
}
.post-md h5
{
    font-size: 1.25rem;
    line-height: 1.2;
    padding: 14px 0;
}
.post-md h6
{
    font-size: 1.125rem;
    line-height: 1.2;
    padding: 12px 0;
}


/* ------------------------ 其它Markdown元素样式 ------------------------ */

.post-md a
{
    color: var(--text-tertiary);
    box-shadow: 0 2px 0 var(--line-1);
    transition: color ease-in-out .65s, box-shadow ease-in-out .65s;
}
.post-md a:hover
{
    color: var(--brand-color);
    box-shadow: 0 2px 0 var(--brand-color);
    transition: color ease-in-out .65s, box-shadow ease-in-out .65s;
}
.post-md strong
{
    font-weight: 700;
}
.post-md em
{
    font-style: italic;
}
.post-md kbd
{
    padding: 2px 4px;
    border-radius: 2px;
    background: #eee;
    border: 1px solid #ddd;
}
.post-md ol
{
    list-style: decimal;
    padding-left: 24px;
}
.post-md ul
{
    list-style: disc;
    padding-left: 24px;
}
.post-md ul, ol {
    margin: 15px 0 15px 15px;
    list-style: none;
}
.post-md ul>li, ol>li {
    padding-left: 20px;
    position: relative;
    list-style: none;
}
.post-md ul>li::before, ol>li::before {
    content: '';
    position: absolute;
    box-sizing: border-box;
    left: 0;
    top: 15px;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    background-color: #aaadb1;
}
.post-md li>li, li>li {
    padding-left: 20px;
    position: relative;
}
.post-md li>li::before, li>li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    border: 1px solid #aaadb1;
    background-color: rgba(250,250,250, 0);
}

.post-md img
{
    border-radius: 4px;
}
.post-md hr
{
    border: none;
    height: 1px;
    background: var(--line-1);
    margin: 24px 0;
}

.post-md p
{
    /* width: 100%; */
    margin: 12px 0;
}
.post-md blockquote
{
    padding: 12px 0 12px 0;
    color: var(--text-tertiary);
    border-left: 4px solid var(--ink-color);
    padding: 12px 12px;
    margin: 15px 0;
    background-color: #f9f9f9;
    word-wrap: break-word;
}
.post-md blockquote>p {
    font-size: 14px;
    margin: 0;
}
.post-md blockquote>p:last-child {
    margin-bottom: 0;
}

.post-md .video-container
{
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.post-md iframe,
.post-md .video-container iframe
{
    width: 100%;
    margin: 12px 0;
}

.post-md code
{
    border-radius: 4px;
}

.post-md p>code
{
    border-radius: 4px;
    padding: 2px 4px;
    background: #ebf3f1;
    color: #178483;
    font-size: var(--font-size-regular);
}



/* -------------------------- 表格样式 -------------------------------------- */
.table-container {
    width: 100%;
    overflow-x: scroll;
    margin-bottom: 18px;
}
.post-md table
{
    width: 100%;
    margin: 18px 0;
    font-size: 0.875rem;
    text-align: left;
    border-spacing: 0;
    word-wrap: break-word;
    -ms-word-wrap: break-word;
    word-break: break-all;
    -ms-word-break: break-all;
}
.post-md table th
{
    padding: 10px 14px;
    border:1px solid #E8E8E8;
    background-color: #f8f8f8;
    word-break: normal;
    -ms-word-break: normal;
}
.post-md table tr, td {
    border:1px solid #E8E8E8;
    padding: 10px 14px;
    /*竖直居中*/
    vertical-align: middle;
}
.post-md table tr:hover, td:hover {
    background-color: var(--table-hover);
}
.post-md table td>img {
    max-width: none;
}
/* .post-md>table tr:nth-child(odd) td
{
    background: #fafafa;
}
.post-md>table tr:nth-child(even) td
{
    background: #fff;
} */

/*首列不换行*/
/* table td:nth-child(1) {
    white-space: nowrap;
} */


/* ------------------------ 图片标题  ------------------------ */
.caption-image {
    font-size: 15px;
    color: #8c8c8c;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 22px;
}

/* ------------------------ 页面到底文案  ------------------------*/
.desc-page-bottom {
    font-size: 14px;
    color:#AFAFAF;
    text-align:center;
    margin: 0 auto;
    line-height: 22px;
}

/* ------------------------ 多文档展示块 ------------------------ */
.int {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
    border-left: 4px solid #e4e7eb;
}
.int .cont-int {
        background: #f9f9f9;
        border-radius: 2px;
        border-bottom: 1px solid var(--border-regular);
}
.int .int-cardstyle {
        position: relative;
        padding: 8px 0 0 12px;
        color: #333;
        text-align: left;
}
.int .int-cardstyle .int-desc {
    padding: 0 16px 0 0;
}
.int-desc a {
    color: var(--brand-color);
    box-shadow: none;
}
.int-desc a:hover {
    color: var(--brand-color);
    box-shadow: none;
}
.int-desc .document-attachment {
    display: inline-block;
    font-size: 14px;
}
.int .int-cardstyle .int-desc .multi-document {
    display: flex;
    flex-direction: row;
} 
.int .int-cardstyle .divide-line {
    color: var(--border-regular);
    margin-right: 8px;
}
.int .int-cardstyle .int-title {
    color: var(--text-primary);
    margin: 4px 0 0 0;
    font-size: 15px;
    font-weight: 500;
}
@media screen and (max-width: 600px) {
.int-cardstyle .int-title{
    font-size: 14px;
    }
}
.int .int-cardstyle p {
    margin: 0;
    font-size: 14px;
    color: var(--text-tertiary);
    letter-spacing: 0.03rem;
    line-height: 24px;
}

/* ------------------------ introduction文档展示简化 ------------------------ */
.int-sp {
    color: var(--text-tertiary);
    border-left: 4px solid #e4e7eb;
    padding: 12px 12px;
    margin: 15px 0;
    background-color: #f9f9f9;
}
.int-sp p {
    font-size: 14px;
    margin: 4px 0;
}
/* .int-sp p :last-child {
    margin: 0;
} */

/* ------------------------ 文章前后切换 ------------------------ */
.f-cf {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 0;
    border-top: solid 1px #eee;
}
.f-cf .arrow {
    color: #999999;
    padding: 4px;
    margin: 6px 0 0 0;
}
.f-cf .link {
    font-size: var(--font-size-regular);
    line-height: 22px;
    max-width: 50%;
    text-overflow: clip;
    margin-bottom: 8px;
}
@media screen and (max-width: 600px) {
    .post-main .f-cf {
        padding:10px 0;
    }
}

/* ----------------------- 代码高亮 --------------------- */
.post-md .hljs-ln-numbers
{
    opacity: .5;
    padding-right: 12px;
}
.hljs-ln td,
.hljs-ln tr {
    border: none !important;
}
.hljs-ln td:hover, 
.hljs-ln tr:hover {
    background: none !important;
}