@charset "utf-8";

.post-md-t
{
    width: 100%;
    font-size: 16px;
    letter-spacing: 0;
}

.post-md-t h1,
.post-md-t h2,
.post-md-t h3,
.post-md-t h4,
.post-md-t h5,
.post-md-t h6
{
    color: var(--font-color-1);
    margin: 12px 0;
}
.post-md-t h1
{
    font-size: 2rem;
    line-height: 1.2;
    padding: 24px 0;
}
.post-md-t h2
{
    font-size: 1.6rem;
    line-height: 1.2;
    padding: 20px 0;
}
.post-md-t h3
{
    font-size: 1.4rem;
    line-height: 1.2;
    padding: 18px 0;
}
.post-md-t h4
{
    font-size: 1.2rem;
    line-height: 1.2;
    padding: 16px 0;
}
.post-md-t h5
{
    font-size: 1.15rem;
    line-height: 1.2;
    padding: 14px 0;
}
.post-md-t h6
{
    font-size: 1.1rem;
    line-height: 1.2;
    padding: 12px 0;
}
.post-md-t a
{
    color: var(--font-color-0);
    /* box-shadow: 0 1.5px 0 #de1267; */
    /* text-decoration: underline dotted; */
    transition: color ease-in-out .65s, box-shadow ease-in-out .65s;
}
.post-md-t a:hover
{
    color: var(--font-color-0);
    box-shadow: 0 2px 0 var(--font-color-0);
    transition: color ease-in-out .65s, box-shadow ease-in-out .65s;
}
.post-md-t strong
{
    font-weight: 700;
}
.post-md-t em
{
    font-style: italic;
}
.post-md-t kbd
{
    padding: 2px 4px;
    border-radius: 2px;
    background: #eee;
    border: 1px solid #ddd;
}
.post-md-t ol
{
    list-style: decimal;
    padding-left: 24px;
}
.post-md-t ul
{
    list-style: disc;
    padding-left: 24px;
}
.post-md-t img
{
    border-radius: 4px;
    box-sizing: border-box;
    padding: 5px 5px;
    border: 1px solid #ebebeb;
}
.post-md-t hr
{
    border: none;
    height: 1px;
    background: var(--line-1);
    margin: 24px 0;
}

.post-md-t p,
.post-md-t blockquote
{
    width: 100%;
    margin: 12px 0;
}
.post-md-t blockquote
{
    border-left: 0pt solid  #ff4d4d;
    padding-left: 12px;
    word-wrap: break-word;
}


.post-md-t blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 50px; /* 模拟边框的高度 */
    width: 5px; /* 边框的宽度 */
    background-color: #ff4d4d; /* 边框的颜色 */
}

.post-md-t .video-container
{
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}
.post-md-t iframe,
.post-md-t .video-container iframe
{
    width: 100%;
    height: 100vh;
    max-height: 360px;
    margin: 12px 0;
}

.post-md-t>table
{
    width: 100%;
    text-align: left;
    border-spacing: 0;
}
.post-md-t>table th
{
    padding: 12px 0;
    border-bottom: 2px solid var(--line-1);
}
.post-md-t>table tr:nth-child(odd) td
{
    padding: 12px 0;
    border-bottom: 1px solid var(--line-1);
    background: #fafafa;
}
.post-md-t>table tr:nth-child(even) td
{
    padding: 12px 0;
    border-bottom: 1px solid var(--line-1);
    background: #fff;
}

.post-md-t code
{
    border-radius: 4px;
    background: #2b2b2b;
    padding: 2px 4px;
    color: #f8f8f2;
    font-size: 1rem;
}

.post-md-t .hljs-ln-numbers
{
    opacity: .5;
    padding-right: 12px;
}
