/*
Theme Name: StickerFly
Theme URI: https://example.com/stickerfly
Author: Your Name
Author URI: https://example.com
Description: 一个现代化、优雅的 WordPress 主题，专为表情包/贴纸展示网站设计。支持 PJAX 无刷新体验，响应式布局，图片懒加载等特性。灵感来自 chpic.su 的清新设计风格。
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stickerfly
Tags: blog, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, two-columns, stickers, gallery, pjax

StickerFly WordPress Theme
Copyright 2025
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - CSS Variables
2.0 - Reset & Base Styles
3.0 - Typography
4.0 - Utilities
5.0 - Accessibility
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - CSS Variables
--------------------------------------------------------------*/
:root {
    /* Colors */
    --primary-color: #0088cc;
    --primary-color-dark: #006699;
    --primary-color-light: #33aadd;
    
    --secondary-color: #666;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    
    --bg-color: #fff;
    --bg-gray: #f5f5f5;
    --bg-dark: #333;
    
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #3498db;
    
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    
    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-family-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.6s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/*--------------------------------------------------------------
2.0 - Reset & Base Styles
--------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-base);
    font-size: 1rem;
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/*--------------------------------------------------------------
3.0 - Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-color-dark);
}

strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

code, pre {
    font-family: var(--font-family-mono);
    font-size: 0.9em;
}

code {
    padding: 2px 6px;
    background-color: var(--bg-gray);
    border-radius: var(--radius-sm);
}

pre {
    padding: 1rem;
    background-color: var(--bg-gray);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

blockquote {
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: var(--bg-gray);
    margin: 1.5rem 0;
    font-style: italic;
}

/*--------------------------------------------------------------
4.0 - Utilities
--------------------------------------------------------------*/
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/*--------------------------------------------------------------
5.0 - Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--bg-gray);
    border-radius: var(--radius-sm);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--text-color);
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip link */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
>>> END OF STYLE.CSS
The main theme styles are in assets/css/ directory:
- assets/css/main.css (主样式)
- assets/css/stickers.css (表情包样式)
- assets/css/comments.css (评论样式)
- assets/css/responsive.css (响应式样式)
--------------------------------------------------------------*/

