User:弃权者/Template:追放信息/styles.css:修订间差异
来自OGAS数据中枢
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第24行: | 第24行: | ||
.xb-right { flex: 1; min-width: 0; padding: 16px 18px; display: flex; flex-direction: column; overflow-y: auto; } | .xb-right { flex: 1; min-width: 0; padding: 16px 18px; display: flex; flex-direction: column; overflow-y: auto; } | ||
.xb-header-block { margin-top: auto; margin-bottom: 2px; } | .xb-header-block { margin-top: auto; margin-bottom: 2px; } | ||
.xb-name-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; } | |||
.xb-name { font-size: 32px; font-weight: 500; color: #ffffff; line-height: 1.2; } | .xb-name { font-size: 32px; font-weight: 500; color: #ffffff; line-height: 1.2; } | ||
.xb- | .xb-job { font-size: 14px; color: #94a3b8; display: block; margin-top: 4px; } | ||
.xb-rarity { font-size: 12px; border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; padding: 1px 7px; color: #ffffff; margin-left: auto; } | |||
.xb-rarity { font-size: 12px; border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; padding: 1px 7px; color: #ffffff; } | |||
.xb-rarity.purple { border-color: rgba(167,139,250,0.6); color: #c084fc; } | .xb-rarity.purple { border-color: rgba(167,139,250,0.6); color: #c084fc; } | ||
.xb-rarity.gold { border-color: rgba(234,179,8,0.5); color: #facc15; } | .xb-rarity.gold { border-color: rgba(234,179,8,0.5); color: #facc15; } | ||
2026年5月27日 (三) 22:35的版本
.xb { background-image: url('/wiki/Special:FilePath/追放角色背景.png'); background-size: cover; background-position: center; padding: 20px; font-family: sans-serif; }
.xb-card { border: 1px solid rgba(180,200,255,0.1); border-radius: 14px; overflow: hidden; max-width: 1000px; margin: 0 auto; display: flex; height: 500px; }
.xb-illust { position: relative; width: 50%; max-width: 500px; height: 100%; flex-shrink: 1; overflow: hidden; }
.xb-img-area { width: 100%; height: 100%; }
.xb-img-item { display: none; width: 100%; height: 100%; }
.xb-img-item.on { display: block; }
.xb-img-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transform: scale(1.25); transform-origin: top center; }
.xb-skin-btn { position: absolute; top: 10px; left: 10px; z-index: 10; width: 30px; height: 30px; border-radius: 8px; background-color: rgba(8,12,24,0.72); border: 1px solid rgba(180,200,255,0.18); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s, color 0.15s, background-color 0.15s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238099b8' d='M20.38 3.46L16 2a4 4 0 0 0-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.57a1 1 0 0 0 .99.84H6v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.57a2 2 0 0 0-1.34-2.23z'/%3E%3C/svg%3E"); background-size: 16px; background-repeat: no-repeat; background-position: center; }
.xb-skin-btn:hover, .xb-skin-btn.open { border-color: #4a8fff; background-color: rgba(74,143,255,0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237eb8ff' d='M20.38 3.46L16 2a4 4 0 0 0-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.57a1 1 0 0 0 .99.84H6v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.57a2 2 0 0 0-1.34-2.23z'/%3E%3C/svg%3E"); }
.xb-overlay { position: absolute; top: 0; bottom: 0; left: 0; width: 35%; min-width: 160px; z-index: 9; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(4px); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.18s, visibility 0.18s; }
.xb-overlay.open { opacity: 1; visibility: visible; }
.xb-overlay-title { padding: 12px 14px 8px 44px; font-size: 11px; color: #8a9cae; letter-spacing: 0.05em; border-bottom: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.xb-skin-list { flex: 1; overflow-y: auto; padding: 6px 0; }
.xb-skin-item { display: flex; align-items: center; padding: 8px 14px; cursor: pointer; transition: background 0.12s; border-left: 2px solid transparent; }
.xb-skin-item:hover { background: rgba(74,143,255,0.15); }
.xb-skin-item.on { border-left-color: #4a8fff; background: rgba(74,143,255,0.25); }
.xb-skin-item-name { font-size: 13px; color: #cbd5e1; line-height: 1.3; }
.xb-skin-item.on .xb-skin-item-name { color: #ffffff; }
.xb-cur-box { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; background: rgba(0, 0, 0, 0.25); backdrop-filter: blur(4px); z-index: 5; }
.xb-cur-name { font-size: 16px; font-weight: 500; color: #ffffff; margin-bottom: 4px; }
.xb-cur-text { font-size: 14px; color: #e2e8f0; line-height: 1.5; }
.xb-intro-item { display: none; }
.xb-intro-item.on { display: block; }
.xb-right { flex: 1; min-width: 0; padding: 16px 18px; display: flex; flex-direction: column; overflow-y: auto; }
.xb-header-block { margin-top: auto; margin-bottom: 2px; }
.xb-name-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.xb-name { font-size: 32px; font-weight: 500; color: #ffffff; line-height: 1.2; }
.xb-job { font-size: 14px; color: #94a3b8; display: block; margin-top: 4px; }
.xb-rarity { font-size: 12px; border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; padding: 1px 7px; color: #ffffff; margin-left: auto; }
.xb-rarity.purple { border-color: rgba(167,139,250,0.6); color: #c084fc; }
.xb-rarity.gold { border-color: rgba(234,179,8,0.5); color: #facc15; }
.xb-desc { font-size: 13.5px; color: #e2e8f0; line-height: 1.7; margin: 6px 0 10px; border-left: 2px solid rgba(74,143,255,0.5); padding-left: 9px; flex-shrink: 0; }
.xb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; flex-shrink: 0; }
.xb-field { display: flex; flex-direction: column; gap: 1px; }
.xb-fl { font-size: 12px; color: #94a3b8; }
.xb-fv { font-size: 14.5px; color: #f1f5f9; font-weight: 500; }
.xb-hr { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 10px 0; flex-shrink: 0; }
.xb-right > *:last-child { margin-bottom: auto; }
@media (max-width: 850px) {
.xb { background-size: auto 100%; background-position: center; }
.xb-card { flex-direction: column; height: auto; }
.xb-illust { width: 100%; max-width: 100%; aspect-ratio: 1 / 1; height: auto; }
.xb-right { overflow-y: visible; }
.xb-header-block { margin-top: 0; }
.xb-right > *:last-child { margin-bottom: 0; }
.xb-overlay { width: 50%; }
}