/* 
Theme Name: 女粉甜酷 
Theme URI: https://example.com  
Author: 自定义 
Description: 美女博主专属美妆穿搭生活分享博客主题 
Version: 1.0 
License: GPLv2 
Tags: 粉色, 美女博主, 穿搭, 美妆, 自适应 
*/ 
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: "PingFang SC", "Microsoft Yahei", sans-serif; 
} 
/* 柔粉配色变量 */ 
:root { 
    --primary: #F875AA; 
    --secondary: #A78BFA; 
    --gradient: linear-gradient(135deg, #F875AA 0%, #A78BFA 100%); 
    --bg: #FFF5F7; 
    --card: #FFFFFF; 
    --border: #FCE7F3; 
    --text1: #4A1D4A; 
    --text2: #9D6B8E; 
    --radius: 20px; 
    --shadow: 0 8px 30px rgba(248, 117, 170, 0.1); 
    --shadow-hover: 0 12px 40px rgba(248, 117, 170, 0.2); 
} 
body { 
    background: var(--bg); 
    color: var(--text1); 
    line-height: 1.7; 
} 
a { 
    color: var(--primary); 
    text-decoration: none; 
    transition: .3s; 
} 
a:hover { 
    opacity: .8; 
} 
.container { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 20px; 
} 
/* 顶部博主展示区 专属美女风 */ 
.blogger-banner { 
    background: var(--card); 
    border-radius: var(--radius); 
    padding: 30px; 
    margin: 30px 0; 
    box-shadow: var(--shadow); 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
} 
.blogger-banner::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 8px; 
    background: var(--gradient); 
} 
.blogger-avatar { 
    width: 120px; 
    height: 120px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 4px solid var(--card); 
    box-shadow: 0 0 0 3px var(--primary), 0 0 20px var(--shadow-hover); 
    margin-bottom: 15px; 
} 
.blogger-name { 
    font-size: 24px; 
    font-weight: 700; 
    background: var(--gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    margin-bottom: 8px; 
} 
.blogger-desc { 
    color: var(--text2); 
    font-size: 14px; 
    max-width: 600px; 
    margin: 0 auto 15px; 
} 
.blogger-social { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
} 
.social-btn { 
    width: 36px; 
    height: 36px; 
    background: var(--bg); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary); 
    transition: .3s; 
} 
.social-btn:hover { 
    background: var(--gradient); 
    color: #fff; 
} 
/* 顶部导航 毛玻璃圆角 */ 
.site-header { 
    background: rgba(255,255,255,0.8); 
    backdrop-filter: blur(10px); 
    border: 1px solid var(--border); 
    border-radius: 50px; 
    padding: 12px 30px; 
    position: sticky; 
    top: 20px; 
    z-index: 999; 
    margin-bottom: 20px; 
    box-shadow: var(--shadow); 
} 
.header-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
} 
.site-title { 
    font-size: 18px; 
    font-weight: 700; 
    color: var(--primary); 
} 
.nav-menu { 
    display: flex; 
    gap: 30px; 
    list-style: none; 
} 
.nav-menu a { 
    color: var(--text1); 
    font-weight: 500; 
} 
.nav-menu a:hover { 
    color: var(--primary); 
} 
/* 首页3列瀑布流 */ 
.post-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    margin-bottom: 30px; 
} 
.post-card { 
    background: var(--card); 
    border-radius: var(--radius); 
    overflow: hidden; 
    box-shadow: var(--shadow); 
    transition: .3s; 
} 
.post-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover); 
} 
.post-thumb img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
} 
.post-card-body { 
    padding: 20px; 
} 
.post-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 6px; 
    margin-bottom: 10px; 
} 
.tag-item { 
    padding: 2px 10px; 
    background: var(--gradient); 
    color: #fff; 
    font-size: 11px; 
    border-radius: 20px; 
} 
.post-title { 
    font-size: 17px; 
    line-height: 1.5; 
    margin-bottom: 10px; 
} 
.post-title a { 
    color: var(--text1); 
} 
.post-meta { 
    font-size: 12px; 
    color: var(--text2); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
} 
.like-btn { 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    cursor: pointer; 
    transition: .3s; 
} 
.like-btn:hover, .like-btn.liked { 
    color: var(--primary); 
    transform: scale(1.1); 
} 
/* 分页 */ 
.pagination { 
    display: flex; 
    gap: 10px; 
    justify-content: center; 
    margin: 30px 0; 
} 
.page-numbers { 
    padding: 8px 16px; 
    background: var(--card); 
    border: 1px solid var(--border); 
    border-radius: 20px; 
    color: var(--text1); 
    box-shadow: var(--shadow); 
} 
.page-numbers.current { 
    background: var(--gradient); 
    color: #fff; 
    border-color: transparent; 
} 
/* 猜你喜欢 10篇随机 横向滚动圆角卡片 */ 
.guess-like { 
    margin: 40px 0; 
} 
.guess-like h3 { 
    font-size: 20px; 
    margin-bottom: 20px; 
    color: var(--primary); 
} 
.guess-scroll { 
    display: flex; 
    gap: 15px; 
    overflow-x: auto; 
    padding-bottom: 10px; 
} 
.guess-item { 
    min-width: 200px; 
    background: var(--card); 
    border-radius: var(--radius); 
    padding: 15px; 
    box-shadow: var(--shadow); 
    transition: .3s; 
} 
.guess-item:hover { 
    box-shadow: var(--shadow-hover); 
} 
.guess-item img { 
    width: 100%; 
    height: 120px; 
    object-fit: cover; 
    border-radius: 12px; 
    margin-bottom: 10px; 
} 
/* 文章页 */ 
.single-header { 
    width: 100%; 
    height: 400px; 
    border-radius: var(--radius); 
    overflow: hidden; 
    margin-bottom: 30px; 
    box-shadow: var(--shadow); 
} 
.single-header img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
} 
.single-layout { 
    display: grid; 
    grid-template-columns: 1fr 300px; 
    gap: 30px; 
} 
.single-content { 
    background: var(--card); 
    border-radius: var(--radius); 
    padding: 40px; 
    box-shadow: var(--shadow); 
} 
.single-content h1 { 
    font-size: 26px; 
    margin-bottom: 15px; 
    line-height: 1.4; 
} 
.single-meta { 
    font-size: 14px; 
    color: var(--text2); 
    padding-bottom: 15px; 
    border-bottom: 1px solid var(--border); 
    margin-bottom: 25px; 
    display: flex; 
    gap: 20px; 
} 
.content-body p { 
    margin-bottom: 15px; 
} 
.content-body img { 
    max-width: 100%; 
    border-radius: var(--radius); 
    margin: 15px 0; 
} 
.content-body h2, .content-body h3 { 
    margin: 25px 0 10px; 
    color: var(--primary); 
} 
/* 右侧侧边栏 博主卡片+最新文章 */ 
.sidebar-widget { 
    background: var(--card); 
    border-radius: var(--radius); 
    padding: 20px; 
    margin-bottom: 20px; 
    box-shadow: var(--shadow); 
} 
.widget-title { 
    font-size: 16px; 
    margin-bottom: 15px; 
    padding-bottom: 8px; 
    border-bottom: 1px solid var(--border); 
    color: var(--primary); 
} 
.widget-list { 
    list-style: none; 
    font-size: 14px; 
} 
.widget-list li { 
    padding: 8px 0; 
    border-bottom: 1px dashed var(--border); 
} 
.sidebar-avatar { 
    text-align: center; 
} 
.sidebar-avatar img { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    border: 3px solid var(--primary); 
    margin-bottom: 10px; 
} 
/* 相关推荐4篇 网格卡片 和猜你喜欢完全不同 */ 
.related-posts { 
    margin: 30px 0; 
} 
.related-posts h3 { 
    font-size: 20px; 
    margin-bottom: 20px; 
    color: var(--primary); 
} 
.related-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
} 
.related-card { 
    background: var(--card); 
    border-radius: var(--radius); 
    padding: 15px; 
    box-shadow: var(--shadow); 
    text-align: center; 
} 
.related-card img { 
    width: 100%; 
    height: 120px; 
    object-fit: cover; 
    border-radius: 12px; 
    margin-bottom: 10px; 
} 
/* 上下篇导航 */ 
.post-nav { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin: 20px 0; 
} 
.nav-item { 
    background: var(--card); 
    border-radius: var(--radius); 
    padding: 20px; 
    box-shadow: var(--shadow); 
    font-size: 14px; 
} 
.nav-item:last-child { 
    text-align: right; 
} 
/* 底部 */ 
.site-footer { 
    background: var(--card); 
    border-top: 1px solid var(--border); 
    padding: 25px 0; 
    text-align: center; 
    font-size: 14px; 
    color: var(--text2); 
    margin-top: 50px; 
    border-radius: var(--radius) var(--radius) 0 0; 
} 
/* 移动端适配 */ 
@media (max-width: 768px) { 
    .post-grid { 
        grid-template-columns: 1fr; 
    } 
    .single-layout { 
        grid-template-columns: 1fr; 
    } 
    .related-grid { 
        grid-template-columns: repeat(2, 1fr); 
    } 
    .site-header { 
        border-radius: 12px; 
        padding: 12px 20px; 
        top: 10px; 
    } 
    .nav-menu { 
        gap: 15px; 
        font-size: 14px; 
    } 
    .single-header { 
        height: 220px; 
    } 
    .single-content { 
        padding: 20px; 
    } 
    .blogger-banner { 
        padding: 20px; 
    } 
    .blogger-avatar { 
        width: 100px; 
        height: 100px; 
    } 
} 