/* 共享样式文件 */
body {font-family: Arial, sans-serif; line-height: 1.6; max-width: 800px; margin: 20px auto; padding: 0 20px; font-size: 16px}
h1 {color: #333; border-bottom: 2px solid #eee; font-size: 2em}
h2 {color: #444; margin-top: 1.5em; font-size: 1.5em}
a {color: #007bff; text-decoration: none}

/* 响应式设计 */
@media (max-width: 768px) {
    body {max-width: 100%; padding: 0 15px; font-size: 15px}
    h1 {font-size: 1.8em}
    h2 {font-size: 1.3em}
}

@media (max-width: 480px) {
    body {padding: 0 10px; font-size: 14px}
    h1 {font-size: 1.6em; padding-bottom: 10px}
    h2 {font-size: 1.2em; margin-top: 1.2em}
    ul {padding-left: 20px}
}

/* 导航和页脚样式 */
nav {margin-bottom: 30px}
nav a {display: inline-block; padding: 8px 15px; background: #f5f5f5; border-radius: 4px}
nav a:hover {background: #e9e9e9}
footer {margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; font-size: 0.9em; color: #666}

/* 历史版本样式 */
.history-section {margin-top: 40px; border-top: 1px solid #eee; padding-top: 20px}
.history-toggle {cursor: pointer; color: #007bff; display: inline-block; margin-bottom: 10px}
.history-toggle:hover {text-decoration: underline}
.history-content {display: none; background: #f9f9f9; padding: 15px; border-radius: 5px; margin-bottom: 20px}
.history-version {margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed #ddd}
.history-version:last-child {border-bottom: none}
.version-date {font-weight: bold; color: #555; margin-bottom: 5px}

/* 响应式历史版本和导航样式 */
@media (max-width: 768px) {
    .history-section {margin-top: 30px; padding-top: 15px}
    .history-content {padding: 12px}
    nav a {padding: 6px 12px}
    footer {margin-top: 30px; padding-top: 15px}
}

@media (max-width: 480px) {
    .history-section {margin-top: 25px; padding-top: 12px}
    .history-content {padding: 10px}
    .history-version {margin-bottom: 12px; padding-bottom: 12px}
    .version-date {font-size: 0.95em}
    nav a {padding: 5px 10px; font-size: 0.95em}
    footer {margin-top: 25px; padding-top: 12px; font-size: 0.85em}
}