优化下星铁群排名样式

This commit is contained in:
Aluxes 2024-04-13 20:33:08 +08:00
parent c95efa90fe
commit 3835f84bd5
No known key found for this signature in database
GPG Key ID: 6696152F9C003087
6 changed files with 37 additions and 33 deletions

View File

@ -4,11 +4,7 @@
.font-NZBZ {
font-family: Number, "印品南征北战NZBZ体", NZBZ, "汉仪文黑-65W", YS, PingFangSC-Medium, "PingFang SC", sans-serif;
}
body {
width: 820px;
}
.container {
width: 820px;
padding: 0;
background-size: cover;
overflow: hidden;
@ -16,7 +12,7 @@ body {
.group-rank-icon {
width: 16px;
height: 16px;
background: url("./imgs/mark-icon.png");
background: url("imgs/mark-icon.png");
background-size: auto 100%;
display: inline-block;
vertical-align: bottom;
@ -55,7 +51,7 @@ body {
width: 24px;
height: 24px;
margin: 13px 12px;
background: url('./imgs/mark-icon.png');
background: url('imgs/mark-icon.png');
background-size: auto 100%;
text-align: center;
font-size: 12px;
@ -66,7 +62,7 @@ body {
.char-idx .idx-icon.mode-dmg.idx-1 {
width: 48px;
margin: 13px 0;
background-image: url('./imgs/mark-icon2.png');
background-image: url('imgs/mark-icon2.png');
color: rgba(0, 0, 0, 0);
text-shadow: none;
}
@ -342,4 +338,3 @@ body {
font-size: 12px;
color: #aaa;
}
/*# sourceMappingURL=rank-profile-list.css.map */

View File

@ -2,6 +2,19 @@
{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/rank-profile-list.css"/>
{{if game==='sr'}}
<style>
body .container {
width: 900px;
}
</style>
{{else}}
<style>
body .container {
width: 820px;
}
</style>
{{/if}}
{{/block}}
{{set talentMap = game === 'sr' ? {a: '普攻', e: '战技', t:'天赋', q: '爆发'} : {a: '普攻', e: '战技', q: '爆发'} }}

View File

@ -1,11 +1,6 @@
@import "../common/base.less";
body {
width: 820px;
}
.container {
width: 820px;
padding: 0;
background-size: cover;
overflow: hidden;

View File

@ -20,7 +20,8 @@ export const abbr = {
美梦小镇大冒险: '美梦小镇',
// 智识
别让世界静下来: '别让世界静下',
今日亦是和平的一日: '今日亦是和平'
今日亦是和平的一日: '今日亦是和平',
'片刻,留在眼底': '片刻留在眼底'
}
export const aliasCfg = {
@ -131,6 +132,6 @@ export const aliasCfg = {
今日亦是和平的一日: '和平的一日,和平一日',
银河铁道之夜: '银河铁道,星穹铁道之夜,星穹铁道',
拂晓之前: '拂晓',
'片刻,留在眼底': '留在眼底,眼一直留',
'片刻,留在眼底': '片刻留在眼底,留在眼底,眼一直留',
银河沦陷日: '银河沦陷,沦陷日'
}