/*
Theme Name: 速哒哒CMS
Theme URI: https://sudda.cn
Author: 速哒哒
Author URI: https://sudda.cn
Description: 一个专注于讨论交流的WordPress主题
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sudda-cms
Tags: discussion, forum, community
*/

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

/* 导航菜单 */
.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 文章列表 */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* 文章卡片 */
.article-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

/* 评论区域 */
.comments-area {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-list {
        grid-template-columns: 1fr;
    }
} 