Files
HeXi/hexi/plugins/nonebot_plugin_helldivers_tools/templates/brief_card.css
T
sansenhoshiandClaude b61d09f09f Add HeXi bot codebase: custom plugins, web frontends, tests
- hexi core: message handling, rate limiting, cooldown, plugin manager
- Custom plugins: BF stats, daily check-in, quotes, persona cards, etc.
- Community plugins vendored under hexi/plugins with local fixes
- Web admin frontends (learning-chat, persona-admin), unified hexi/web
- Tests for rate_limit/cooldown/memes/persona; poetry.lock

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-01 13:13:40 +08:00

103 lines
10 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #070707; font-family: "HC Sinclair", "FS Sinclair", "HD2 Body", "HD2 Sans", "Microsoft YaHei", "Noto Sans SC", sans-serif; color: #fbfaf5; padding: 16px; }
.card { width: 750px; background: linear-gradient(165deg, #0f0f0f 0%, #0a0a0a 100%); border: 1px solid #262626; border-radius: 16px; padding: 24px 26px; }
.header { display: flex; align-items: center; margin-bottom: 20px; }
.brief-overview { margin-bottom: 20px; }
.brief-overview .order { margin-bottom: 12px; }
.brief-overview > .box:last-child { margin-bottom: 0; }
.header .logo { width: 56px; height: 56px; margin-right: 16px; }
.header .title { font-size: 34px; font-weight: 700; color: #FFE710; letter-spacing: 3px; text-transform: uppercase; }
.header .subtitle { font-size: 13px; color: #9a9a90; margin-top: 4px; letter-spacing: 1px; }
/* 标题用 HD2 军事硬朗中文字体(创客贴金刚体),正文回落系统黑体 */
.box-title, .order-title, .header .title { font-family: "HD2 Display", "HC Sinclair", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
/* 中文用途字体:星球名=爱点风雅黑,星系名=造字工房尚黑 */
.planet { font-family: "HD2 Planet", "HC Sinclair", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
.sector-name { font-family: "HD2 Sector", "HC Sinclair", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
/* 小标签用思源黑体;line-height:1 收紧行框,避免中文大行高导致文字视觉偏下 */
.efx, .stat .k, .chip, .order-meta { font-family: "HD2 Sans", "HC Sinclair", "Microsoft YaHei", "Noto Sans SC", sans-serif; line-height: 1; }
/* 星系战况(stat)用思源黑体,数字/统计更清晰平直 */
.stat .v, .stat .k { font-family: "HD2 Sans", "HC Sinclair", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
.box { background: #161616; border: 1px solid #2a2a2a; border-radius: 12px; padding: 18px 20px; margin-bottom: 20px; }
.box-title { display: flex; align-items: center; font-size: 17px; font-weight: 700; color: #fbfaf5; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.box-title .dot { width: 8px; height: 8px; border-radius: 50%; background: #FFE710; margin-right: 9px; box-shadow: 0 0 10px #FFE710; }
.ic { display: inline-block; flex: none; }
.empty { color: #9a9a90; font-size: 15px; }
.order { border-left: 3px solid #FFE710; background: linear-gradient(90deg, #1a1a17 0%, #161616 100%); }
.order-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.order-title2 { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; color: #fbfaf5; text-transform: uppercase; letter-spacing: 1px; }
.order-remain { font-size: 14px; font-weight: 700; color: #FFE710; }
.order-desc { font-size: 15px; color: #d9d6c8; line-height: 1.7; }
.order-ov { margin-top: 12px; }
.order-ov-title { font-size: 13px; color: #9a9a90; letter-spacing: 1px; margin-bottom: 6px; }
.order-target { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; }
.ot-dot { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.ot-main { flex: 1; min-width: 0; }
.ot-name { display: block; min-width: 0; color: #fbfaf5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 重要指令目标:格子型进度条(双色交战,解放=蓝领先/防守=敌色侵占蓝条) */
.otseg { height: 7px; margin: 5px 0 0; gap: 2px; }
.otseg i { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3); }
.ot-pct { flex: none; min-width: 50px; text-align: right; color: #fbfaf5; }
.order-meta { display: flex; gap: 26px; margin-top: 12px; font-size: 14px; color: #CBCBCD; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #101010; border: 1px solid #2a2a2a; border-radius: 10px; overflow: hidden; }
.stat { position: relative; min-width: 0; background: transparent; border: 0; border-radius: 0; padding: 13px 8px 11px; text-align: center; }
.stat:nth-child(4n + 2), .stat:nth-child(4n + 3), .stat:nth-child(4n + 4) { border-left: 1px solid #2d2d2a; }
.stat:nth-child(n + 5) { border-top: 1px solid #2d2d2a; }
.stat .v { font-family: "FS Sinclair", "HC Sinclair", sans-serif; font-size: 25px; line-height: 1; font-weight: 700; color: #fbfaf5; letter-spacing: 1px; }
.stat .k { font-family: "HD2 Sans", "Microsoft YaHei", "Noto Sans SC", sans-serif; font-size: 11px; color: #8d8d85; margin-top: 7px; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.camps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.campsec { margin-top: 16px; }
.campsec:first-child { margin-top: 0; }
.campsec-title { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.campsec-title .campsec-sub { margin-left: auto; font-size: 12px; color: #9a9a90; font-weight: 400; }
/* 单卡(参考图样式,缩放到两列网格的紧凑 tile) */
.camp { position: relative; display: flex; background: #0c0c0c; background-size: cover; background-position: center top; border: 1px solid #2a2a2a; border-radius: 14px; overflow: hidden; min-height: 300px; box-shadow: 0 8px 22px rgba(0,0,0,0.5); }
.camp-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,0.30) 0%, rgba(5,5,5,0.56) 46%, rgba(5,5,5,0.94) 100%); pointer-events: none; }
.camp-rail { position: relative; z-index: 3; width: 42px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 12px 0 14px; gap: 9px; background: linear-gradient(180deg, #151515 0%, #0a0a0a 100%); border-right: 1px solid rgba(255,255,255,0.08); box-shadow: inset 3px 0 12px rgba(0,0,0,0.6); }
.camp-rail::before { content: ""; position: absolute; left: 1px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--rc), rgba(0,0,0,0)); }
.rail-icon { display: flex; align-items: center; justify-content: center; width: 100%; height: 28px; margin-top: 4px; }
.rail-icon .ic { width: 24px; height: 24px; margin-right: 0; display: block; }
.rail-text { writing-mode: vertical-rl; text-align: center; letter-spacing: 3px; line-height: 1; font-size: 13px; font-weight: 700; color: #fbfaf5; opacity: 0.92; margin-top: 10px; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
.rail-dots { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: auto; }
.rail-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.camp-body { position: relative; z-index: 2; flex: 1; min-width: 0; padding: 12px 12px 12px 11px; }
.camp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.camp-title { min-width: 0; }
.camp .planet { font-family: "HD2 Planet", "HC Sinclair", "Microsoft YaHei", "Noto Sans SC", sans-serif; font-size: 19px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 2px 6px rgba(0,0,0,0.9); line-height: 1.1; }
.camp-faction { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; margin-top: 5px; text-shadow: 0 1px 4px rgba(0,0,0,0.9); }
.camp-prog { flex: none; text-align: right; }
.camp-pct { font-family: "FS Sinclair", "HC Sinclair", sans-serif; font-size: 22px; font-weight: 700; line-height: 1; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.9); }
.camp-prog-label { font-size: 11px; color: #c9c9c0; margin-top: 4px; letter-spacing: 1px; text-shadow: 0 1px 4px rgba(0,0,0,0.9); }
.segbar { display: flex; gap: 3px; height: 9px; margin: 12px 0 0; }
.segbar i { flex: 1; background: rgba(255,255,255,0.10); border-radius: 2px; }
/* 双色交战进度条:两股颜色争地盘,谁段多谁占优 */
.segbar-duo i { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35); border-radius: 2px; }
.camp-remain { font-size: 12px; color: #d9d6c8; margin-top: 7px; text-shadow: 0 1px 4px rgba(0,0,0,0.9); }
.camp-remain b { color: #fbfaf5; font-weight: 700; }
.info-rows { margin-top: 11px; border-top: 1px solid rgba(255,255,255,0.08); }
.irow { display: flex; align-items: center; gap: 7px; padding: 8px 2px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.irow-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; color: #b0b0a8; }
.irow-ic .ic { width: 15px !important; height: 15px !important; margin-right: 0; }
.irow-label { flex: none; min-width: 52px; font-size: 11px; color: #9a9a90; letter-spacing: 1px; }
.irow-val { flex: 1; text-align: right; font-size: 13px; font-weight: 700; color: #fbfaf5; }
.haz-val { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 3px 10px; }
.hzt { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.hzt .ic { display: inline-block; }
.feat-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; }
.feat-label { display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: 13px; font-weight: 700; color: #fbfaf5; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; min-width: 0; }
/* 星球效果 徽章(复用 efx,尺寸放大适配单卡) */
.efx { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; background: rgba(224,196,106,0.12); border: 1px solid; border-radius: 20px; padding: 1px 9px; }
.feat-tags .efx { padding: 4px 10px; font-size: 12px; font-weight: 700; }
/* 民主空间站(DSS)增益标识:会动的星球,驻扎给该星球带来 buff;字体用思源黑体(HD2 Sans) */
.dss { margin: 0 0 6px; padding: 6px 10px; background: linear-gradient(90deg, #6bb7ea28, #6bb7ea0c); border: 1px solid #6bb7ea55; border-radius: 8px; font-family: "HD2 Sans", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
.dss-head { display: flex; align-items: center; gap: 6px; }
.dss-ic { display: inline-flex; flex: none; }
.dss-tx { font-size: 13px; font-weight: 700; color: #6bb7ea; letter-spacing: 1px; }
.dss-actions { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 3px 0 0 22px; font-size: 13px; color: #6bb7ea; }
.dss-inherent { margin: 3px 0 0 22px; font-size: 13px; color: #6bb7ea; line-height: 1.4; word-break: break-word; }
.dss-b { display: inline-flex; align-items: center; gap: 3px; }
.dss-b .ic { width: 13px; height: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid; border-radius: 20px; padding: 6px 16px; font-size: 14px; font-weight: 700; background: #101010; letter-spacing: 1px; }
.foot { text-align: center; font-size: 12px; color: #5a5a52; margin-top: 4px; }