@charset "utf-8";

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

.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;
}
.post-md h1
{
    font-size: 2rem;
    line-height: 1.2;
    padding: 24px 0;
}
.post-md h2
{
    font-size: 1.6rem;
    line-height: 1.2;
    padding: 20px 0;
}
.post-md h3
{
    font-size: 1.4rem;
    line-height: 1.2;
    padding: 18px 0;
}
.post-md h4
{
    font-size: 1.2rem;
    line-height: 1.2;
    padding: 16px 0;
}
.post-md h5
{
    font-size: 1.15rem;
    line-height: 1.2;
    padding: 14px 0;
}
.post-md h6
{
    font-size: 1.1rem;
    line-height: 1.2;
    padding: 12px 0;
}
.post-md 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 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 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 img
{
    border-radius: 4px;
    box-sizing: border-box;
    padding: 5px 5px;
    border: 1px solid #ebebeb;
    max-width: 100%;
    height: auto;
    display: block;
}
.post-md hr
{
    border: none;
    height: 1px;
    background: var(--line-1);
    margin: 24px 0;
}

.post-md p,
.post-md blockquote
{
    width: 100%;
    margin: 12px 0;
}
.post-md blockquote
{
    border-left: 2px solid var(--line-2);
    padding-left: 12px;
    word-wrap: break-word;
}

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

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

.post-md p code,
.post-md li code,
.post-md blockquote code,
.post-md h1 code,
.post-md h2 code,
.post-md h3 code,
.post-md h4 code,
.post-md h5 code,
.post-md h6 code,
.post-md td code
{
    border-radius: 4px;
    background: #2b2b2b;
    padding: 2px 4px;
    color: #f8f8f2;
    font-size: 1rem;
}

/* Hexo server-side highlight: figure.highlight (not hljs DOM — theme a11y-dark does not apply) */
.post-md figure.highlight
{
    margin: 1.25em 0;
    border-radius: 8px;
    overflow-x: auto;
    background: #2b2b2b;
    color: #f8f8f2;
    box-sizing: border-box;
}
.post-md figure.highlight table
{
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.42;
}
.post-md figure.highlight .gutter
{
    width: 2.5em;
    padding: 10px 6px 10px 8px;
    text-align: right;
    vertical-align: top;
    user-select: none;
    opacity: 0.45;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.post-md figure.highlight .gutter pre
{
    margin: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    line-height: 1.42;
    tab-size: 2;
    -moz-tab-size: 2;
}
.post-md figure.highlight .code
{
    width: 100%;
    vertical-align: top;
    padding: 10px 10px 10px 10px;
}
.post-md figure.highlight .code pre
{
    margin: 0;
    padding: 0;
    background: transparent;
    color: #f8f8f2;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    white-space: pre;
    overflow-x: auto;
    line-height: 1.42;
    tab-size: 2;
    -moz-tab-size: 2;
}
/* Hexo inserts <br> between each .line; with display:block on .line that doubles vertical gap */
.post-md figure.highlight .gutter pre br,
.post-md figure.highlight .code pre br
{
    display: none;
}
.post-md figure.highlight .line
{
    display: block;
    line-height: 1.42;
    min-height: 0;
}
/* Token colours (hljs-style class names from Hexo highlight.js) */
.post-md figure.highlight .comment,
.post-md figure.highlight .quote
{
    color: #d4d0ab;
}
.post-md figure.highlight .keyword,
.post-md figure.highlight .selector-tag
{
    color: #dcc6e0;
}
.post-md figure.highlight .string,
.post-md figure.highlight .symbol,
.post-md figure.highlight .bullet,
.post-md figure.highlight .addition
{
    color: #abe338;
}
.post-md figure.highlight .number,
.post-md figure.highlight .built_in,
.post-md figure.highlight .literal,
.post-md figure.highlight .type,
.post-md figure.highlight .params
{
    color: #f5ab35;
}
.post-md figure.highlight .title,
.post-md figure.highlight .section,
.post-md figure.highlight .function_,
.post-md figure.highlight .class_
{
    color: #00e0e0;
}
.post-md figure.highlight .variable,
.post-md figure.highlight .template-variable,
.post-md figure.highlight .name,
.post-md figure.highlight .tag
{
    color: #ffa07a;
}
.post-md figure.highlight .attr,
.post-md figure.highlight .attribute
{
    color: #ffd866;
}
.post-md figure.highlight .property,
.post-md figure.highlight .meta,
.post-md figure.highlight .meta-keyword
{
    color: #dcc6e0;
}
.post-md figure.highlight .regexp,
.post-md figure.highlight .link
{
    color: #abe338;
}
.post-md figure.highlight .deletion,
.post-md figure.highlight .selector-id,
.post-md figure.highlight .selector-class
{
    color: #ffa07a;
}
.post-md figure.highlight .substitution,
.post-md figure.highlight .formula
{
    color: #f8f8f2;
}
.post-md figure.highlight .emphasis
{
    font-style: italic;
}
.post-md figure.highlight .strong
{
    font-weight: 700;
}

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