@import "../common/base.less"; body { width: 600px; } .container { width: 600px; padding: 0; background-size: cover; overflow: hidden; } .basic { position: relative; margin-bottom: 10px; } .basic:after { content: ""; display: block; position: absolute; left: 8px; top: 115px; bottom: 0; right: 8px; box-shadow: 0 0 2px 0 #fff; border-radius: 5px; z-index: 1; } .main-pic { width: 1400px; height: 500px; background-size: contain; background-repeat: no-repeat; background-position: center; margin-left: -545px; position: relative; z-index: 2; } .detail { position: absolute; right: 20px; top: 20px; color: #fff; z-index: 3; } .char-name { font-size: 50px; .font-NZBZ; text-shadow: 0 0 3px #000, 2px 2px 4px rgba(0, 0, 0, .7); text-align: right; } .char-lv { margin-bottom: 20px; text-shadow: 0 0 3px #000, 2px 2px 4px rgba(0, 0, 0, .7); text-align: right; .cons { margin-left: 5px; vertical-align: bottom; } } @i: 16px; .char-attr { backdrop-filter: blur(2px); background: rgba(0, 0, 0, .2); border-radius: 8px; overflow: hidden; li { width: 300px; font-size: 17px; list-style: none; height: 32px; line-height: 32px; text-shadow: 0 0 1px rgba(0, 0, 0, .5); display: flex; padding-left: 3px; &:nth-child(even) { background: rgba(0, 0, 0, .4) } &:nth-child(odd) { background: rgba(50, 50, 50, .4) } .weight { width: 36px; span { display: block; width: 30px; border-radius: 5px; font-size: 12px; height: 18px; line-height: 18px; background: rgba(0, 0, 0, .5); text-align: center; margin: 7px auto 0; &.gold { color: #ffe699; } } } .icon { width: @i+10px; padding: 2px 5px; i { display: inline-block; height: @i; width: @i; background-image: url("./imgs/icon.png"); background-size: auto @i; } } .title { width: 75px; } .value { width: 110px; text-align: right; font-weight: normal; padding-right: 10px; } .value2 { font-weight: normal; width: 60px; text-align: right; font-size: 12px; padding: 4px 10px 0 0; background: rgba(0, 0, 0, .2); span { display: block; height: 13px; line-height: 13px; transform: scale(.85); transform-origin: right center; } .base { color: #eee; } .plus { color: #90e800; } } } } .i-hp { background-position: @i*-1 0; } .i-atk { background-position: @i*-2 0; } .i-def { background-position: @i*-3 0; } .i-mastery { background-position: @i*-4 0; } .i-cpct { background-position: @i*-5 0; } .i-cdmg { background-position: @i*-6 0; } .i-recharge { background-position: @i*-7 0; } .i-dmg { background-position: @i*-8 0; } .detail.attr { li { &:nth-child(even) { background: rgba(0, 0, 0, .4) } &:nth-child(odd) { background: rgba(50, 50, 50, .4) } strong { display: inline-block; position: absolute; right: 85px; text-align: right; font-weight: normal; } span { position: absolute; right: 0; text-align: left; width: 75px; display: inline-block; color: #90e800; font-size: 15px; } } } .talent-icon { width: 100px; height: 100px; padding: 5px; display: table; border-radius: 50%; position: relative; background-size: contain; background-repeat: no-repeat; background-position: center center; z-index: 90; img, .talent-icon-img { width: 46%; height: 46%; position: absolute; top: 50%; left: 50%; margin: -22% 0 0 -23%; background-size: contain; background-repeat: no-repeat; background-position: center; } span { background: #fff; width: 34px; height: 26px; line-height: 26px; font-size: 17px; text-align: center; border-radius: 5px; position: absolute; bottom: 2px; left: 50%; margin-left: -15px; color: #000; box-shadow: 0 0 5px 0 #000; } &.talent-plus span { background: #2e353e; color: #ffdfa0; font-weight: bold; box-shadow: 0 0 1px 0 #d3bc8e, 1px 1px 2px 0 rgba(0, 0, 0, 0.5); } &.talent-crown:after { content: ""; display: block; width: 28px; height: 28px; background: url("../character/imgs/crown.png") no-repeat; background-size: contain; position: absolute; left: 50%; top: 0; margin-left: -14px; } } .char-talents { display: flex; width: 300px; margin: 0 0 10px 0; } .char-cons { display: flex; width: 250px; position: absolute; bottom: 5px; left: 20px; } .char-cons .talent-item, .char-talents .talent-item { flex: 1; } .char-cons .talent-icon { width: 50px; height: 50px; margin: 0 -5px } .char-cons .talent-icon.off { filter: grayscale(100%); opacity: .4; } .elem_anemo .talent-icon { background-image: url(../common/bg/talent-anemo.png) } .elem_anemo .container { background-image: url(../common/bg/bg-anemo.jpg); } .elem_cryo .talent-icon { background-image: url(../common/bg/talent-cryo.png) } .elem_cryo .container { background-image: url(../common/bg/bg-cryo.jpg); } .elem_electro .talent-icon { background-image: url(../common/bg/talent-electro.png) } .elem_electro .container { background-image: url(../common/bg/bg-electro.jpg); } .elem_geo .talent-icon { background-image: url(../common/bg/talent-geo.png) } .elem_geo .container { background-image: url(../common/bg/bg-geo.jpg); } .elem_hydro .talent-icon { background-image: url(../common/bg/talent-hydro.png) } .elem_hydro .container { background-image: url(../common/bg/bg-hydro.jpg); } .elem_pyro .talent-icon { background-image: url(../common/bg/talent-pyro.png) } .elem_pyro .container { background-image: url(../common/bg/bg-pyro.jpg); } .data-info { position: absolute; bottom: -10px; right: 15px; font-size: 12px; color: rgba(255, 255, 255, .85); text-align: right; text-shadow: 1px 1px 1px #000; z-index: 2; line-height: 20px; padding-right: 5px; .time { margin-left: 5px; } } /*** dmg ***/ .cont { border-radius: 10px; background: url("../common/cont/card-bg.png") top left repeat-x; background-size: auto 100%; margin: 5px 15px 5px 10px; position: relative; box-shadow: 0 0 1px 0 #ccc, 2px 2px 4px 0 rgba(50, 50, 50, .8); overflow: hidden; color: #fff; font-size: 16px; } .dmg-cont { display: table; width: calc(100% - 25px); margin-top: 10px; margin-bottom: 10px; } .dmg-mode .dmg-list .cont-footer { display: none; } .cont-title { background: rgba(0, 0, 0, .4); color: #d3bc8e; padding: 10px 20px; text-align: left; } .cont-title span { font-size: 12px; color: #aaa; margin-left: 10px; font-weight: normal; } .cont-footer { padding: 10px 15px; font-size: 12px; background: rgba(0, 0, 0, 0.5); font-weight: normal; } .cont-table { display: table; width: 100%; } .dmg-cont .tr { display: table-row; } .dmg-cont .tr:nth-child(even) { background: rgba(0, 0, 0, .4); } .dmg-cont .tr:nth-child(odd) { background: rgba(50, 50, 50, .4); } .dmg-cont .tr > div { display: table-cell; box-shadow: 0 0 1px 0 #fff; } .dmg-cont .tr > div.value-full { display: table; width: 200%; } .dmg-cont .tr > div.value-none { box-shadow: none; } .dmg-cont .thead { text-align: center; } .dmg-cont .thead > div { color: #d3bc8e; background: rgba(0, 0, 0, .4); line-height: 40px; height: 40px; } .dmg-cont .title, .dmg-cont .th { color: #d3bc8e; padding-right: 15px; text-align: right; background: rgba(0, 0, 0, .4); min-width: 100px; } .profile-mode .dmg-idx { display: none !important; } .profile-mode .dmg-title { width: 33.3333%; } .dmg-mode, .weapon-mode { .dmg-idx { display: table-cell; width: 5%; min-width: initial; padding-right: 0; text-align: center; } .dmg-title { width: 31%; min-width: initial; text-align: left; padding-left: 10px; padding-right: 0; } } .dmg .value { text-align: center; color: #fff; display: block; height: 40px; font-size: 18px; line-height: 40px; width: 32% } .dmg-notice { font-size: 12px; text-align: right; color: #f5f5f5; margin-right: 15px; } /*** artis***/ .artis { display: flex; width: 600px; flex-wrap: wrap; margin-bottom: 5px; padding: 0 5px; .item { width: 185px; border-radius: 10px; background: url("../common/cont/card-bg.png") top left repeat-x; background-size: auto 100%; margin: 5px; //height: 200px; position: relative; box-shadow: 0 0 1px 0 #ccc, 2px 2px 4px 0 rgba(50, 50, 50, .8); overflow: hidden; .arti-icon { width: 60px; height: 60px; position: absolute; left: 2px; top: 3px; span { position: absolute; right: 2px; bottom: 0; margin-left: 5px; background: rgba(0, 0, 0, .5); border-radius: 5px; height: 18px; line-height: 18px; padding: 0 3px; color: #fff; font-size: 12px; display: block; } .img { width: 50px; height: 50px; margin: 5px; background-size: contain; background-repeat: no-repeat; background-position: center; } } } .head { color: #fff; padding: 12px 0 8px 68px; strong { font-size: 15px; display: block; white-space: nowrap; overflow: hidden; //font-font: YS; } span { font-size: 14px; } .mark { } } &.input-mode { .item { height: 100px; margin: 5px 3px; &.weapon { margin-left: 5px; } &.arti { width: 72px; .arti-icon, img { width: 68px; height: 68px; } span { } .head { padding: 78px 0 0 0; strong { font-size: 12px; text-align: center; } } } } } } .mark-ACE, .mark-ACEĀ² { color: #e85656; font-weight: bold; } .mark-SSS, .mark-SS { color: #ffe699; font-weight: bold; } .mark-S, .mark-A { color: #d699ff; font-weight: bold; } .arti-main { color: #fff; padding: 6px 15px; } .artis ul.detail { width: 100%; padding: 0; position: initial; display: table; } .artis ul.detail li { padding: 0 3px; font-size: 14px; position: relative; width: 100%; display: table-row; line-height: 26px; height: 26px; white-space: nowrap; span { position: initial; display: table-cell; color: #fff; &.title { text-align: left; padding-left: 10px; i.up-num { position: absolute; display: block; left: 80px; top: 8px; height: 9px; width: 50px; background-image: url('./imgs/up-num-icon1.png'); background-position: 0 0; background-repeat: no-repeat; background-size: auto 500%; &.up-5 { background-position: 0 -9px; } &.up-4 { background-position: 0 -18px; } &.up-3 { background-position: 0 -27px; } &.up-2 { background-position: 0 -36px; } &.up-1 { background: none !important; } } } &.val { text-align: right; padding-right: 10px; } } &.great span.title { color: #ffe699; i.up-num { background-image: url("./imgs/up-num-icon2.png"); background-size: auto 500%; } } &.nouse span { color: #888; i.up-num { background-image: url("./imgs/up-num-icon0.png"); background-size: auto 500%; } } &.arti-main { font-size: 16px; padding: 3px 3px; font-weight: bold; } } .artis .weapon .star { height: 20px; width: 100px; background: url("../common/item/star.png") no-repeat; background-size: 100px 100px; transform: scale(0.8); transform-origin: 100px 10px; display: inline-block; } .artis .weapon .star.star-2 { background-position: 0 -20px; } .artis .weapon .star.star-3 { background-position: 0 -40px; } .artis .weapon .star.star-4 { background-position: 0 -60px; } .artis .weapon .star.star-5 { background-position: 0 -80px; } .artis .weapon { overflow: hidden; height: 97px; } .artis .weapon .img { width: 100px; height: 100px; top: 0; left: 0; position: absolute; z-index: 2; background-position: center; background-size: contain; background-repeat: no-repeat; } .artis .weapon .head { position: absolute; bottom: 0; right: 0; left: 0; text-align: right; padding: 13px 12px 13px 0; z-index: 3; //background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)); } .artis .weapon .head strong { font-size: 18px; margin-bottom: 3px; font-weight: normal; } .artis .weapon .head > span { display: block; } .artis .weapon span { font-size: 16px; } .artis .weapon .affix { color: #000; padding: 0 7px; border-radius: 4px; margin-left: 5px; font-size: 16px; } .artis .weapon .affix-1 { box-shadow: 0 0 4px 0 #a3a3a3 inset; background: #ebebebaa; } .artis .weapon .affix-2 { box-shadow: 0 0 4px 0 #51b72fbd inset; background: #ddffdeaa; } .artis .weapon .affix-3 { box-shadow: 0 0 4px 0 #396cdecf inset; background: #ddebffaa; } .artis .weapon .affix-4 { box-shadow: 0 0 4px 0 #c539debf inset; background: #ffddf0aa; } .artis .weapon .affix-5 { box-shadow: 0 0 4px 0 #deaf39 inset; background: #fff6dd; } .artis .artis-stat { height: 85px; } .arti-class-title { height: 25px; line-height: 20px; font-size: 12px; color: #fff; padding: 5px 10px 0; text-align: center; color: rgba(255, 255, 255, .9); text-shadow: 0 0 2px #000; } .arti-stat-ret { height: 55px; padding: 0 10px 5px; width: 100%; display: table; & > div { display: table-cell; text-align: center; color: #fff; } strong { display: block; height: 35px; font-size: 30px; line-height: 35px; } } .dmg-msg { font-size: 13px; font-weight: normal; } .dmg-msg .thead > div { text-align: left; padding-left: 10px; } .dmg-msg .th { text-align: left; padding-left: 10px; } .dmg-msg .tr .td { padding: 8px 10px; } .dmg-msg .info { font-size: 12px; text-align: left; padding-left: 10px; font-weight: normal; } .dmg-calc { } .dmg-calc .thead { } .dmg-calc .thead > div { line-height: initial; } .dmg-calc .cont-table div { vertical-align: middle; text-align: center; white-space: nowrap; } .dmg-calc .title { text-align: center; padding-right: 0; min-width: 70px; } .dmg-calc .td { padding: 5px 0; } .dmg-calc strong { font-weight: normal; display: block; } .dmg-calc span { font-size: 12px; color: #aaa; } .dmg-calc .na, .dmg-calc .eq { background: rgba(50, 50, 50, .5); } .dmg-calc .na { color: #888; } .dmg-calc .lt { background: rgba(23, 112, 41, 0.5); } .dmg-calc .gt { background: rgba(112, 23, 23, 0.5); } .dmg-desc { color: #aaa; } .dmg-desc ul { padding-left: 10px; } .dmg-desc ul li { color: #aaa; } .dmg-desc strong { color: #d3bc8e; display: inline; padding: 0 3px; font-weight: normal; } .arti-stat span { font-size: 13px; line-height: 20px; color: #bbb; }