/*
Theme Name: Vue WordPress Theme
Description: 一个基于Vue3 + Vite的现代化WordPress主题模板
Author: Your Name
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: vue-wp-theme
*/

/* 主题基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/*

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

!* 头部样式 *!
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-branding {
    padding: 1rem 0;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.site-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

!* 导航样式 *!
.main-navigation {
    background: #34495e;
}

.main-navigation ul {
    list-style: none;
    display: flex;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 1rem 1.5rem;
    color: #ecf0f1;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.main-navigation a:hover {
    background-color: #2c3e50;
}

!* 主内容区域 *!
.site-main {
    padding: 2rem 0;
    min-height: 60vh;
}

!* 文章样式 *!
.post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.post-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
}

.post-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.post-content {
    padding: 1.5rem;
    line-height: 1.8;
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

!* 页脚样式 *!
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

!* Vue应用容器 *!
#vue-app {
    min-height: 100vh;
}

!* 响应式设计 *!
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .main-navigation ul {
        flex-direction: column;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .post-title {
        font-size: 1.5rem;
    }
}

!* 加载动画 *!
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
*/
