/* 相册详情页面特定样式 - 蓝白配色体系 */ :root { --primary-blue: #1e40af; --secondary-blue: #3b82f6; --light-blue: #dbeafe; --accent-blue: #60a5fa; --white: #ffffff; --light-gray: #f8fafc; --medium-gray: #e2e8f0; --dark-gray: #475569; --text-dark: #1e293b; --text-light: #64748b; --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1); --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1); --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1); --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1); --border-radius: 12px; --border-radius-lg: 20px; } body { font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif; background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%); min-height: 100vh; color: var(--text-dark); line-height: 1.6; } .container { max-width: 1400px; margin: 0 auto; padding: 30px 20px; } .header { margin-bottom: 40px; } .back-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; background: var(--white); color: var(--primary-blue); text-decoration: none; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); margin-bottom: 25px; transition: all 0.3s ease; border: 1px solid var(--medium-gray); font-weight: 500; } .back-link:hover { background: var(--light-blue); transform: translateX(-5px); box-shadow: var(--shadow-md); color: var(--primary-blue); } .album-title { color: var(--text-dark); font-size: 2.5rem; text-align: center; margin-bottom: 15px; font-weight: 700; background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .album-info { text-align: center; color: var(--text-light); font-size: 1.2rem; margin-bottom: 40px; background: var(--white); padding: 20px; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); border: 1px solid var(--medium-gray); max-width: 800px; margin-left: auto; margin-right: auto; } .images-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin-bottom: 50px; } .image-item { position: relative; overflow: hidden; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); background: var(--white); transition: all 0.3s ease; cursor: pointer; border: 1px solid var(--medium-gray); } .image-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--accent-blue); } .image-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.5s ease; } .image-item:hover img { transform: scale(1.05); } .image-caption { padding: 12px; text-align: center; color: var(--text-dark); font-size: 0.9rem; font-weight: 500; line-height: 1.4; } /* 图片查看器样式 */ .lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 41, 59, 0.95); z-index: 1000; justify-content: center; align-items: center; flex-direction: column; backdrop-filter: blur(10px); } .lightbox img { max-width: 85%; max-height: 75%; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); } .lightbox-close { position: absolute; top: 30px; right: 40px; color: var(--white); font-size: 36px; cursor: pointer; z-index: 1001; background: rgba(255, 255, 255, 0.1); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; backdrop-filter: blur(10px); } .lightbox-close:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1); } .lightbox-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 20px; transform: translateY(-50%); z-index: 1001; } .lightbox-nav button { background: rgba(255,255,255,0.2); color: var(--white); font-size: 30px; padding: 12px 24px; cursor: pointer; border-radius: var(--border-radius); backdrop-filter: blur(10px); transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); } .lightbox-nav button:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); border-color: rgba(255, 255, 255, 0.3); } .lightbox-info { color: var(--white); text-align: center; margin-top: 25px; font-size: 1.2rem; background: rgba(255, 255, 255, 0.1); padding: 15px 25px; border-radius: var(--border-radius); backdrop-filter: blur(10px); } @media (max-width: 768px) { .images-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } .album-title { font-size: 1.8rem; } .lightbox img { max-width: 95%; max-height: 60%; } .lightbox-nav button { font-size: 24px; padding: 10px 18px; } .container { padding: 20px 15px; } .album-info { font-size: 1.1rem; padding: 15px; } }