@import url("https://static.zeoseven.com/zsft/288/main/result.css");

body {
    font-family: "Source Han Sans SC VF";
    font-weight: normal;
    font-display: swap;
}

.markdown-body {
    font-family: "Source Han Sans SC VF", sans-serif;
}
.loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80%;
}

.error-message {
    text-align: center;
    white-space: pre-line;
    color: darkred;
}

.blog-content {
    width: 50%;
    margin: 0 auto;
    text-align: left;
}
@media (max-width: 784px) {
    .blog-content {
        width: 80%;
    }
}
.blog-metadata {
    margin-bottom: 1rem;
}
.blog-metadata h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 2rem 0 0 0; /* 增加顶部距离 */
}
.blog-metadata p {
    margin: 0.25rem 0;
    color: #666;
}
.blog-divider {
    border-top: 1px solid #ddd;
    margin: 1rem 0;
}
.blog-back-link {
    display: block;
    margin: 1rem 0 0.5rem 0;
    color: #007bff;
    text-decoration: none;
}
.blog-back-link:hover {
    text-decoration: underline;
}
.blog-scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}
.blog-year {
    font-size: 2rem;
    margin-top: 1rem;
    color: #007bff; /* 亮蓝色 */
}
.blog-month {
    font-size: 1.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #00359e; /* 深蓝色 */
}
.blog-ul {
    list-style: none;
    padding: 0;
}
.blog-li {
    margin-bottom: 1rem;
}
.blog-a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000; /* 黑色 */
    text-decoration: none;
    margin-left: 2px;
    display: block; /* 删除左边的点 */
}
.blog-a:hover {
    text-decoration: underline;
}
.blog-file-info {
    font-size: 1rem;
    color: #666;
    margin-top: 0.25rem;
    margin-left: 2px;
}
.blog-month-divider {
    border-top: 1px solid #ddd;
    margin: 1rem 0;
}
.blog-year-divider {
    border-top: 1px solid #666;
    margin: 1.5rem 0;
}

/* view.html specific styles */
.view-content {
    width: 50%;
    margin: 2rem auto 2rem auto; /* 增加顶部和底部距离 */
    text-align: left;
}
@media (max-width: 784px) {
    .view-content {
        width: 85%;
    }
}
.view-metadata {
    margin-bottom: 1rem;
}
.view-metadata h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0 0 0; /* 增加顶部距离 */
}
.view-metadata p {
    margin: 0.25rem 0;
    color: #666;
}
.view-divider {
    border-top: 1px solid #ddd;
    margin: 1rem 0;
}
.view-back-link {
    display: block;
    color: #007bff;
    text-decoration: none;
}
.view-back-link:hover {
    text-decoration: underline;
}
.view-scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}
