/* ===== Author Bar (inside article card) ===== */ .article-author-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; } .article-author-bar__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; } .article-author-bar__info { flex: 1; min-width: 0; } .article-author-bar__name { font-weight: 600; font-size: 14px; color: var(--color-ink); } .article-author-bar__name:hover { color: var(--color-primary); } .article-author-bar__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--color-ink-4, var(--color-ink-4)); margin-top: 2px; } .article-author-bar__meta span { display: inline-flex; align-items: center; gap: 3px; } .article-author-bar__line { height: 1px; background: var(--color-line); margin-bottom: 20px; } /* ===== Content Footer ===== */ .article-footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--color-line); } .article-copyright { font-size: 13px; color: var(--color-ink-4, var(--color-ink-4)); margin-bottom: 16px; } .article-end-separator { text-align: center; margin: 16px 0; position: relative; } .article-end-separator::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--color-line); } .article-end-separator span { position: relative; display: inline-block; padding: 0 14px; background: var(--surface-page); font-size: 11px; font-weight: 600; color: var(--color-ink-4, var(--color-ink-4)); letter-spacing: 2px; } .article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; } /* ===== Action Buttons Card ===== */ .post-actions-card, .post-actions { position: relative; text-align: center; margin-bottom: 16px; } .post-actions-card__hint { font-size: 13px; color: var(--color-ink-4, var(--color-ink-4)); margin-bottom: 12px; } .post-actions-card__buttons, .post-actions { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; } .action-btn, .action { display: inline-flex; align-items: center; gap: 6px; padding: 0.38em 1.1em; border-radius: 50px; border: 1px solid transparent; background: var(--surface-4, rgba(136, 136, 136, 0.1)); color: var(--color-ink-3); cursor: pointer; font-size: 14px; transition: all 0.15s ease; } .action-btn:hover, .action:hover { border-color: rgba(240, 68, 148, 0.12); background: var(--color-primary-soft); color: var(--color-primary); } .action-btn.is-active, .action.is-active { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-soft, rgba(240, 68, 148, 0.08)); } .action-btn i, .action i { font-size: 1.2em; } .action-btn__count { font-weight: 600; } .action-btn__label { font-size: 13px; } /* ===== 分享下拉面板 ===== */ /* 确保父容器作为定位参考 */ .share-dropdown { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); z-index: 100; /* 默认隐藏 — 最高优先级确保不被覆盖 */ display: none !important; } .share-dropdown[aria-hidden="false"] { display: block !important; animation: shareDropdownIn 0.2s ease-out forwards; } @keyframes shareDropdownIn { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } } .share-dropdown__grid { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--surface-page); border: 1px solid var(--color-line); border-radius: var(--radius-lg, 8px); box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,0.1)); } .share-item { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 12px; border: none; border-radius: var(--radius-btn, 6px); background: transparent; color: var(--color-ink-2, var(--color-ink-3)); cursor: pointer; font-size: 11px; transition: background 0.15s, color 0.15s, transform 0.15s; white-space: nowrap; } .share-item:hover { transform: none; } .share-item i { font-size: 18px; } .share-item[data-platform="qq"]:hover { background: #e8f4fd; color: #12b7f5; } .share-item[data-platform="weibo"]:hover { background: #fceae9; color: #ff6a00; } .share-item[data-platform="twitter"]:hover { background: #f0f0f0; color: #000; } .share-item[data-platform="wechat"]:hover { background: #e6f7ec; color: #07c160; } .share-item[data-platform="copy"]:hover { background: #f0f2f5; color: #555; } /* 微信二维码浮层 */ #share-qrcode-box { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); padding: 14px; background: var(--surface-page); border: 1px solid var(--color-line); border-radius: var(--radius-lg, 8px); box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,0.12)); text-align: center; z-index: 101; pointer-events: none; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; } #share-qrcode-box.is-visible { pointer-events: auto; opacity: 1; } #share-qrcode-image { width: 140px; height: 140px; display: block; } /* 暗色模式 */ .theme-dark .share-dropdown__grid, html.dark .share-dropdown__grid { background: var(--surface-1); border-color: var(--color-line); box-shadow: 0 4px 16px rgba(0,0,0,0.35); } .theme-dark #share-qrcode-box, html.dark #share-qrcode-box { background: var(--surface-1); border-color: var(--color-line); } .theme-dark .share-item, html.dark .share-item { color: var(--color-ink-2, #aaa); } .theme-dark .share-item[data-platform="qq"]:hover { background: rgba(18,183,245,0.12); color: #12b7f5; } .theme-dark .share-item[data-platform="weibo"]:hover { background: rgba(255,106,0,0.12); color: #ff6a00; } .theme-dark .share-item[data-platform="twitter"]:hover { background: rgba(255,255,255,0.08); color: #fff; } .theme-dark .share-item[data-platform="wechat"]:hover { background: rgba(7,193,96,0.12); color: #07c160; } .theme-dark .share-item[data-platform="copy"]:hover { background: rgba(255,255,255,0.06); color: #ccc; } .theme-dark .post-drop-meta__menu, html.dark .post-drop-meta__menu { background: var(--surface-1, #323335); border-color: var(--color-line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); } .theme-dark .post-drop-meta__item, html.dark .post-drop-meta__item { color: var(--color-ink-2, #ccc); } .theme-dark .post-drop-meta__item:hover, html.dark .post-drop-meta__item:hover { background: rgba(255,255,255,0.06); color: #fff; } /* ===== Author Card — 对齐 zibll 卡片容器 ===== */ .author-box { margin-bottom: 16px; padding: 18px; background: var(--surface-1, #fff); border: 1px solid rgba(255, 255, 255, 0.55); border-radius: var(--radius-2xl, 16px); box-shadow: var(--shadow-sm); } .single-metabox { display: flex; align-items: center; justify-content: flex-end; gap: 8px; } .post-drop-meta { position: relative; } .post-drop-meta__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px; padding: 8px; border-radius: var(--radius, 8px); border: 1px solid var(--color-line); background: var(--surface-page, #fff); box-shadow: var(--shadow-md, 0 8px 24px rgba(0, 0, 0, 0.12)); display: none; z-index: 20; } .post-drop-meta.is-open .post-drop-meta__menu { display: grid; gap: 4px; } .post-drop-meta__item { width: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--color-ink-2, var(--color-ink)); text-decoration: none; font-size: 13px; text-align: left; cursor: pointer; } .post-drop-meta__item:hover { background: var(--color-line, rgba(50, 50, 50, 0.06)); color: var(--color-primary); } .post-drop-meta__item i { width: 16px; text-align: center; } .author-box__header { display: flex; align-items: flex-start; gap: 14px; } .author-box__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--color-primary-soft, rgba(240, 68, 148, 0.2)); } .author-box__info { flex: 1; min-width: 0; } .author-box__name { font-size: 1rem; font-weight: 700; color: var(--color-ink); display: block; margin-bottom: 4px; } .author-box__name:hover { color: var(--color-primary); } .author-box__bio { font-size: 13px; color: var(--color-ink-3, var(--color-ink-4)); line-height: 1.5; margin: 0 0 6px; } .author-box__stats { font-size: 12px; color: var(--color-ink-4, var(--color-ink-4)); } .author-box__stats strong { color: var(--color-ink); margin-right: 2px; } .author-box__posts { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--color-line); } .author-box__posts-title { font-size: 12px; font-weight: 600; color: var(--color-ink-3, var(--color-ink-4)); margin: 0 0 8px; } .author-box__posts ul { list-style: none; margin: 0; padding: 0; } .author-box__posts li { padding: 3px 0; } .author-box__posts a { font-size: 13px; color: var(--color-ink); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } .author-box__posts a:hover { color: var(--color-primary); } .author-box__posts a::before { content: '\2022'; color: var(--color-primary); }