/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

a {
    text-decoration: none; /* 去掉下划线 */
}


/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    margin: 0;
    padding: 20px 0;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

/* Logo链接样式 */
.logo {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.logo:hover {
    color: #007bff;
}

/* 输入框容器 */
.input-container {
    margin: 20px 0;
    text-align: center;
}

.input-container input {
    padding: 8px;
    width: 60%;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.input-container button {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.input-container button:hover {
    background-color: #45a049;
}

/* 文章列表样式 */
.article-list {
    list-style: none;
    padding: 0;
}

.article-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 15px;
}

.article-item h3 {
    margin: 0 0 10px 0;
}

.article-item h3 a {
    text-decoration: none;
    color: inherit;
}

.article-item .summary-link {
    text-decoration: none;
    color: inherit;
}

.article-item .meta-info {
    font-size: 12px;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.author-link {
    text-decoration: none;
    color: inherit;
}


/* 文章详情页样式 */
.article-detail {
    padding: 20px 0;
}

.article-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}



.article-content {
    margin-top: 20px;
}

/* 摘要样式 */
.summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

/* 原文链接样式 */
.original-link {
    margin-top: 20px;
}

.original-link a {
    color: #007bff;
    text-decoration: none;
}

.original-link a:hover {
    text-decoration: underline;
}

/* Markdown 内容样式 */
.markdown-content {
    margin: 20px 0;
    line-height: 1.8;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.markdown-content h1 {
    font-size: 2em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #eaecef;
}

.markdown-content h2 {
    font-size: 1.5em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #eaecef;
}

.markdown-content h3 {
    font-size: 1.25em;
}

.markdown-content p {
    margin-bottom: 16px;
}

.markdown-content a {
    color: #0366d6;
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
}

.markdown-content pre,
.markdown-content code {
    background-color: #f6f8fa;
    border-radius: 3px;
    padding: 0.2em 0.4em;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

.markdown-content pre {
    padding: 16px;
    overflow: auto;
    line-height: 1.45;
}

.markdown-content pre code {
    padding: 0;
    background-color: transparent;
}

.markdown-content blockquote {
    margin: 0;
    padding: 0 1em;
    color: #6a737d;
    border-left: 0.25em solid #dfe2e5;
}

.markdown-content ul,
.markdown-content ol {
    padding-left: 2em;
    margin-bottom: 16px;
}

.markdown-content table {
    border-spacing: 0;
    border-collapse: collapse;
    margin-bottom: 16px;
    width: 100%;
}

.markdown-content table th,
.markdown-content table td {
    padding: 6px 13px;
    border: 1px solid #dfe2e5;
}

.markdown-content table tr:nth-child(2n) {
    background-color: #f6f8fa;
}

/* 消息提示样式 */
#message {
    display: inline-block;
    margin-left: 10px;
}

/* 页脚样式 */
footer {
    margin-top: 40px;
    text-align: center;
    color: #666;
}

.copyright {
    font-size: 14px;
    color: #666;
}

.qr-code {
    max-width: 100px;
    margin-top: 10px;
    border-radius: 4px;
}

.navigation-list {
    list-style-type: none; /* 去掉默认的列表样式 */
    padding: 0; /* 去掉内边距 */
    margin: 3px; /* 上下外边距 */
}

.navigation-list li {
    display: block; /* 使列表项独占一行 */
    float:  left; /* 左对齐 */
    margin: 1px; /* 外边距 */
    padding:0px 5px ;
     /* background-color: #f0f0f0;灰色底色 */
    border: 1px solid #ccc;
    border-radius: 3px; /* 圆角 */    
    transition: background-color 0.3s; /* 背景颜色过渡效果 */
}

.navigation-list li:hover {
    background-color: #e0e0e0; /* 悬停时的背景颜色 */
}

.navigation-list a {
    text-decoration: none; /* 去掉下划线 */
    color: #333; /* 链接颜色 */
    font-weight: lighter; 
}

