body,
input, textarea, keygen, select, button {
    font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: rgba(0, 0, 0, 0.65);
}

.sidebar {
    width: 300px;
    border: none !important;
    padding-top: 0;
}

.sidebar img {
    border: none !important;
    width: 100px;
    border-radius: 4px;
}

.search input {
    height: 36px;
    font-size: 1rem !important;
}

.content {
    left: 300px;
    width: calc(100% - 300px);
}

@media (max-width: 768px) {
    .content {
        left: 260px;
        width: 100%;
    }
}

body.close .content {
    width: 100%;
}

.markdown-section {
    max-width: calc(100% - 300px);
    padding: 0px 30px 40px;
    border-right: 2px solid rgba(0, 0, 0, .07);
    border-left: 2px solid rgba(0, 0, 0, .07);
    min-height: 100vh;
    font-size: 1.1rem;
}

.app-nav a.active {
    border-bottom: none;
}

.app-nav li ul {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    right: 0;
}

.sidebar-toggle {
    cursor: pointer;
}

.cover.show {
    background: #fff !important;
    background: linear-gradient(to left bottom, hsl(209, 100%, 85%) 0%, hsl(13, 100%, 85%) 100%) !important;
    min-height: 600px;
    border-bottom: 1px solid #f0f0f0 !important;
}

.cover img {
    border-radius: 8px;
}

section.cover p {
    margin: 1em 0 2.5em;
}

section.cover .cover-main > p:last-child a {
    transition: all .3s;
}

section.cover .cover-main > p:last-child a:hover,
section.cover .cover-main > p:last-child a:last-child:hover {
    border: 1px solid #1890ff;
    background-color: #1890ff;
}

.markdown-section img {
    box-shadow: 0 8px 20px rgba(143, 168, 191, .35);
}

.markdown-section a {
    font-weight: normal;
    text-decoration: none;
}

.markdown-section a:hover {
    color: #40a9ff
}

.markdown-section ol, .markdown-section ul {
    padding-left: 0;
}

.medium-zoom-overlay,
.medium-zoom-overlay + img {
    z-index: 99;
}

.sidebar-nav > ul > li p > ul.app-sub-sidebar {
    position: fixed;
    width: 260px;
    right: 20px; /* 将菜单项定位到右侧 */
    top: 40px; /* 根据需要调整垂直位置 */;
    /* 右侧菜单的样式 */
    /* 可能需要添加 z-index 以确保在内容之上 */
}

.app-sub-sidebar li:before {
    content: none;
}

.content {
    padding-top: 0;
}

.breadcrumbs {
    max-width:calc(100% - 300px);
    padding: 30px 30px 0 30px;
    height: 60px;
    font-size: 1.15rem;
    border-left: 2px solid rgba(0, 0, 0, .07);
    border-right: 2px solid rgba(0, 0, 0, .07);
}

body.close .breadcrumbs {
    max-width:calc(100% - 610px);
    margin: auto;
    border: none;
}

body.close .markdown-section {
    max-width:calc(100% - 610px);
    margin: auto;
    border: none;
}

.active > p, p.active {
    background-color: #3db1ea;
}

.active > p > a, p.active > a {
    color: #ffffff !important;
}

.sidebar-nav > ul > li.folder p.active {
    padding-left: 10px;
    padding-right: 30px;
}

.breadcrumbs .node {
    background-color: #3db1ea;
    border-radius: 1.5rem;
    padding: 1px 10px;
}

.breadcrumbs .node a {
    color: #fff;
}

.breadcrumbs a {
    color: #505d6b;
    font-weight: 400;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .sidebar {
        padding-top: 119px;
    }

    .sidebar-nav > ul > li p > ul.app-sub-sidebar {
        position: relative;
        top: 0 !important;
        width: auto;
    }

    .active > p, p.active {
        background-color: white;
    }

    .active > p > a, p.active > a {
        color: #40a9ff !important;
        font-weight: 600 !important;
    }
}