/* 全站页脚:白色毛玻璃,与导航/首页区块风格一致 */ .site-footer { margin-top: 2rem; padding: 2.25rem 1.5rem 2.75rem; background: rgba(255, 255, 255, 0.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, 0.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); color: #333; } .site-footer-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; align-items: start; } .footer-col { display: flex; flex-direction: column; align-items: center; text-align: center; } /* ---------- 左栏:站点信息(居中 + 字号层级) ---------- */ .footer-site-logo { border-radius: 50%; object-fit: cover; margin-bottom: 0.5rem; } .footer-site-name { margin: 0 0 0.35rem; font-size: 1.25rem; font-weight: 700; color: #111; letter-spacing: 0.02em; } .footer-site-tagline { margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 400; color: #555; line-height: 1.5; max-width: 22rem; } .footer-copy { margin: 0 0 0.5rem; font-size: 0.9375rem; font-weight: 500; color: #444; } .footer-meta-sm { margin: 0.2rem 0; font-size: 0.8125rem; color: #666; line-height: 1.45; } .footer-meta-label { display: inline; margin-right: 0.35rem; font-size: 0.75rem; color: #888; } .footer-meta-label::after { content: ":"; } .footer-col-site a { color: #2a5db0; text-decoration: none; } .footer-col-site a:hover { color: #0d47a1; text-decoration: underline; } .footer-api-guide { margin-top: 0.45rem; } .footer-guide-btn { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.28rem 0.65rem; font-size: 0.75rem; font-weight: 600; color: #555 !important; text-decoration: none !important; background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 999px; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; } .footer-guide-btn:hover { color: #2a5db0 !important; background: rgba(255, 255, 255, 0.75); border-color: rgba(42, 93, 176, 0.25); } .footer-guide-btn .anlian-icon { font-size: 0.7rem; opacity: 0.85; } .footer-beian { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.85rem; margin-top: 0.65rem; } .footer-beian-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: #777 !important; text-decoration: none; } .footer-beian-link:hover { color: #333 !important; text-decoration: underline; } .beian-icon { vertical-align: middle; } /* ---------- 右栏:作者(头像在上,信息居中,无卡片) ---------- */ .footer-col-author { gap: 0.65rem; } .footer-author-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); } .footer-author-info { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; width: 100%; max-width: 16rem; } .footer-author-name { margin: 0; font-size: 1.125rem; font-weight: 700; color: #111; } .footer-author-name a { color: #111; text-decoration: none; } .footer-author-name a:hover { color: #111; text-decoration: underline; } .footer-author-title { margin: 0; font-size: 0.875rem; color: #666; } .footer-author-meta { margin: 0.1rem 0; font-size: 0.8125rem; color: #555; } .footer-author-meta a { color: #555; text-decoration: none; word-break: break-all; } .footer-author-meta a:hover { color: #333; text-decoration: underline; } /* 个人主页:白色加粗,悬浮白色下划线(与全站毛玻璃主题一致) */ .footer-author-home a { color: #fff; font-weight: 700; text-decoration: none; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); } .footer-author-home a:hover, .footer-author-home a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 0.2em; } /* ---------- 首页与其它页面共用 ---------- */ .page-home .main-container { max-width: none; width: 100%; padding: 0; margin: 0; } .hero .social a { color: inherit; text-decoration: none; } .hero .social a:hover { opacity: 0.85; } @media (max-width: 767.98px) { .site-footer-inner { grid-template-columns: 1fr; gap: 2rem; } .footer-col-author { padding-top: 0.5rem; border-top: 1px solid rgba(0, 0, 0, 0.06); } }