/* 网页基础字体大小 */
html {
    font-size: 16px;
}

/* 文本 */
body {
    color: #c6c6c6!important;
    line-height: 1.4;
}

/* 页脚图标 */
footer .list-inline {
    display: none;
}
footer .copyright {
    display: none;
}

/* 主页 */
.post-content-preview {
    font-style: initial!important;
}
.post-preview>.post-meta {
    font-style: initial!important;
    color: #c6c6c6 !important;
}

/* 标题 */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin: 10px 0!important;
    word-wrap: break-word;
}
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { /* 标题中的代码块样式 */
    font-size: inherit !important;                      /* 继承标题的字体大小 */
}

/* 主页标题 */
.post-preview>a {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    margin: 10px 0;
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
}
a.post-content-preview {
    font-size: 14px;
}
a.post-preview-title {
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
    font-weight: 700!important;
    font-size: 26px!important;
}
a.post-content-preview1 {
    font-size: 14px!important;
    color: #a3a3a3!important;
    font-weight: 500!important;
}

/* 文章标题 */
.intro-header .post-heading .meta {
    font-style: initial!important;
}

/* 文章顶部 */
.post-container {
    margin: 40px 0!important;
}

/* 文章内容 */
@media (max-width: 768px) {
    /* 手机端：右侧安全内边距 */
    .post-content {
        padding-right: calc(15px + env(safe-area-inset-right));
    }
}

/* 文本 */
p {
    margin: 5px 0!important;
    word-break: break-word!important;
}

/* 表格 */
table {
    width: auto!important;
}
.post-container {
    padding-right: 0!important;
}
.table {
    margin: 5px 0!important;
    white-space: nowrap;
}
th {
    text-align: center!important;
}
.table-responsive {
    margin-bottom: 0px!important;
    border: 0px solid #ddd!important;
}
code {
    font-size: 100%!important;
}
.table-responsive .table thead th {
    /* 表头 */
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
}
.table-responsive .table tbody td {
    /* 表体 */
    font-family: Tangle; 
}
.table td code {
    /* 代码 */
    white-space: nowrap!important;
}

/* 列表 */
.post-container ul, .post-container ol {
    margin: 5px 0px 5px 0px!important;
    padding: 0 0 0 2em; /* 缩进 */
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 5px!important;
}
.table th, .table td {
    border: 0.5px solid #eee!important;
}
li {
    word-wrap: break-word;
}

/* 滚动条 */
.side-catalog.fixed {
    top: 0px!important;
}

/* 背景 */
body {
    background: #23241f!important;
}

/* 介绍背景 */
header.intro-header {
    background: #23241f!important;
}

/* 标签云 */
.tags a, .tags .tag a {
    color: #f90!important;
    background: #333!important;
    border: 0px!important;
    border-radius: 0px!important;
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
}

/* 标签 */
.one-tag-list .post-preview>a>.post-title {
    line-height: 1.5!important;
    margin: 0!important;
}
.sidebar-container .tags a:hover, .sidebar-container .tags a:active {
    background: #404040!important;
}
.tags a:hover, .tags .tag:hover, .tags a:active, .tags .tag:active {
    background: #404040!important;
}
.post-preview>a { /* 标签标题 */
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
}
.post-preview>a:hover, .post-preview>a:focus {
    text-decoration: none;
    color: #f90!important;
}
.listing-seperator {
    color: #f90!important;
}
#tag_cloud a, #tag_cloud .tag {
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
}

/* 分页 */
.pager li>a, .pager li>span {
    background-color: #23241f!important;
    border: 3px solid #f90!important;
    color: #f90!important;
}
.pager li>a:hover>span, .pager li>a:focus>span {
    color: #f90!important;
}
.post-container .pager li>a>span {
    color: #f90!important;
}

/* 手机端：强制分页右侧留出安全间距 */
@media (max-width: 768px) {
    .post-container .pager {
        margin-right: calc(15px + env(safe-area-inset-right))!important;
    }
}

/* 分割线 */
hr {
    border-top: 0px!important;
}

/* 链接 */
.post-content a + a {
    margin-left: 10px;
} /* 相邻链接 */
.post-content-preview:hover {
    color: #f90!important;
}
.sidebar-container a:hover, .sidebar-container a:active {
    color: #f90!important;
}
#tag_cloud a:hover, #tag_cloud .tag:hover, #tag_cloud a:active, #tag_cloud .tag:active {
    background-color: #404040 !important;
}
a {
    word-break: break-word!important;
}
.side-catalog .catalog-body .active {
    border-radius: 0px!important;
    background-color: rgb(128 128 128 / 0.5)!important;
    border: 0px solid #f90!important;
}
.post-container ul ul {
    /* display: none; */
}
.post-container a:hover, .post-container a:focus {
    color: #f90!important;
}
.post-container a {
    /* 颜色 */
    /* color: #bfbfbf!important; */
    color: #f90!important;
}
a:focus, a:hover {
    text-decoration: none!important;
}
.sidebar-container h5 a {
    color: #f90!important;
}
.active {
    display: block;
}

/* 目录 */
.catalog-container {
    padding-left: 30px!important;
}
.affix {
    position: absolute!important;
}
.sidebar-container h5 {
    color: #f90!important;
    padding-bottom: 0em!important;
}
nav[data-toggle=toc] .nav>.active:focus>a, nav[data-toggle=toc] .nav>.active:hover>a, nav[data-toggle=toc] .nav>.active>a {
    border-right: 0px solid #337ab7!important;
    color: #f90!important;
    font-size: 13px!important;
    font-weight: 700!important;
}
nav[data-toggle=toc] .nav .nav>li>a {
    font-size: 13px!important;
    font-weight: 700!important;
}
nav[data-toggle=toc] .nav>li>a {
    padding: 0px 1em!important;
    font-size: 13px!important;
    font-weight: 700!important;
}
nav[data-toggle=toc] .nav>.active>ul {
    margin: 0 2em!important;
    padding-bottom: 0!important;
}
nav[data-toggle=toc] .nav>li>a:focus, nav[data-toggle=toc] .nav>li>a:hover {
    border-right: 0px solid #337ab7!important;
    color: #f90!important;
}
.nav > li {
    white-space: nowrap;     /* 目录不换行 */
}
nav[data-toggle=toc] .nav .nav>li>a {
    overflow: hidden;        /* 溢出隐藏 */
    max-width: 200px;
    text-overflow: ellipsis; /* 省略号 */
}
nav[data-toggle=toc] .nav>li>a {
    text-overflow: ellipsis; /* 省略号 */
    overflow: hidden;        /* 目录不换行 */
    white-space: nowrap;     /* 溢出隐藏 */
    width: 220px;
}
.side-catalog {
    overflow-x: hidden!important;
}
nav[data-toggle=toc] .nav>li>a {
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
}

/* 图像 */
.post-container img {
    margin: auto;
    display: initial;
}
.container img {
    /* 让图片和文字底部对齐 */
    vertical-align: bottom!important;
}

/* 折叠 */
summary {
    display: list-item;
}