{% extends "_base.html" %} {% from "_macros.html" import star, avatar %} {#- 卡片排版,配色和稀有度沿用 bf-manager 网页的 EquipmentTable。 -#} {% block style %} .who { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; } .who h1 { margin: 2px 0 0; font-family: "Oswald", "SC", "WenQuanYi Zen Hei", sans-serif; font-size: 34px; line-height: 1.2; word-break: break-all; } .who h1 .tag { color: var(--w45); margin-right: 10px; } .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .card { position: relative; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); clip-path: polygon(0 16px, 16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); } .pic { position: relative; height: 128px; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, rgba(255,255,255,.1), rgba(255,255,255,.02) 70%); border-bottom: 2px solid var(--accent); } .pic img { max-width: 300px; max-height: 100px; object-fit: contain; } .rank { position: absolute; left: 18px; top: 10px; font-family: "Oswald", sans-serif; font-size: 22px; font-weight: 700; color: var(--w40); } .rank.top { color: var(--amber); } .stars { position: absolute; right: 16px; top: 10px; display: inline-flex; align-items: center; gap: 4px; font-family: "Oswald", sans-serif; font-size: 20px; font-weight: 700; } .stars .star { width: 18px; height: 18px; } .body { padding: 14px 20px 18px; } .name { font-size: 19px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sub { margin-top: 3px; font-size: 13px; color: var(--w45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .stats { display: grid; grid-template-columns: repeat({{ columns|length }}, 1fr); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); } .stat .label { font-size: 12px; } .stat .v { font-family: "Oswald", sans-serif; font-size: 21px; font-weight: 500; line-height: 1.3; margin-top: 2px; } .stat:first-child .v { color: var(--amber); font-weight: 700; } .empty { padding: 30px 0; text-align: center; color: var(--w40); } {% endblock %} {% block body %}