.note-detail {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

.note-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.note-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    margin-top: 1rem;
}

.note-body {
    line-height: 1.8;
    color: #333;
}

.note-body h2 {
    margin: 2rem 0 1rem;
    color: #2c3e50;
}

.note-body p {
    margin-bottom: 1.5rem;
}

.note-body ol, .note-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.note-body li {
    margin-bottom: 0.5rem;
}

/* 代码块样式 */
.note-body pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .note-detail {
        margin: 80px auto;
    }
} 