mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 23:51:39 +00:00
661 lines
10 KiB
CSS
661 lines
10 KiB
CSS
|
|
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: 800px;
|
|
height: 500px;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
margin-left: -260px;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.detail {
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 20px;
|
|
color: #fff;
|
|
z-index: 3;
|
|
}
|
|
|
|
.char-name {
|
|
font-size: 50px;
|
|
font-family: NZBZ;
|
|
text-shadow: 0 0 3px #000, 2px 2px 4px rgba(0, 0, 0, .7);
|
|
text-align: right;
|
|
}
|
|
|
|
.char-lv {
|
|
font-family: Number;
|
|
margin-bottom: 20px;
|
|
text-shadow: 0 0 3px #000, 2px 2px 4px rgba(0, 0, 0, .7);
|
|
text-align: right;
|
|
}
|
|
|
|
.attr {
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.detail li {
|
|
width: 300px;
|
|
font-size: 17px;
|
|
list-style: none;
|
|
padding: 0 100px 0 35px;
|
|
position: relative;
|
|
font-family: YS;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
font-weight: 400;
|
|
text-shadow: 0 0 1px rgba(0, 0, 0, .5);
|
|
}
|
|
|
|
.attr li i {
|
|
display: inline-block;
|
|
height: 20px;
|
|
width: 20px;
|
|
background-image: url("./icon.png");
|
|
background-size: auto 20px;
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 8px;
|
|
opacity: .9;
|
|
transform: scale(.9);
|
|
|
|
}
|
|
|
|
.i-hp {
|
|
background-position: -20px 0;
|
|
}
|
|
|
|
.i-atk {
|
|
background-position: -40px 0;
|
|
}
|
|
|
|
.i-def {
|
|
background-position: -60px 0;
|
|
}
|
|
|
|
.i-mastery {
|
|
background-position: -80px 0;
|
|
}
|
|
|
|
.i-cr {
|
|
background-position: -100px 0;
|
|
}
|
|
|
|
.i-cd {
|
|
background-position: -140px 0;
|
|
}
|
|
|
|
.i-re {
|
|
background-position: -120px 0;
|
|
}
|
|
|
|
.i-dmg {
|
|
background-position: -160px 0;
|
|
}
|
|
|
|
.detail li:nth-child(even) {
|
|
background: rgba(0, 0, 0, .4)
|
|
}
|
|
|
|
.detail li:nth-child(odd) {
|
|
background: rgba(50, 50, 50, .4)
|
|
}
|
|
|
|
.detail li strong {
|
|
display: inline-block;
|
|
position: absolute;
|
|
right: 85px;
|
|
text-align: right;
|
|
font-family: Number, sans-serif;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.detail li span {
|
|
position: absolute;
|
|
right: 0;
|
|
text-align: left;
|
|
width: 75px;
|
|
display: inline-block;
|
|
font-family: Number, sans-serif;
|
|
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;
|
|
}
|
|
|
|
.talent-icon img,
|
|
.talent-icon .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;
|
|
}
|
|
|
|
.talent-icon 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;
|
|
font-family: Number;
|
|
}
|
|
|
|
.talent-icon.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-icon.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-bottom: 10px;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
|
|
/*** dmg ***/
|
|
|
|
.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;
|
|
display: table;
|
|
width: calc(100% - 25px);
|
|
color: #fff;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.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 .th {
|
|
text-align: center;
|
|
}
|
|
|
|
.dmg-cont .th > div {
|
|
font-family: YS;
|
|
color: #d3bc8e;
|
|
background: rgba(0, 0, 0, .4);
|
|
line-height: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
|
|
.dmg-cont .title {
|
|
font-family: YS;
|
|
color: #d3bc8e;
|
|
padding-right: 15px;
|
|
text-align: right;
|
|
background: rgba(0, 0, 0, .4);
|
|
}
|
|
|
|
|
|
.dmg .value {
|
|
text-align: center;
|
|
color: #fff;
|
|
display: block;
|
|
height: 40px;
|
|
font-size: 18px;
|
|
font-family: Number;
|
|
line-height: 40px;
|
|
width: 33.333%
|
|
}
|
|
|
|
.dmg-notice {
|
|
font-size: 12px;
|
|
text-align: right;
|
|
color: #eee;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
|
|
/*** artis***/
|
|
.artis {
|
|
display: flex;
|
|
width: 600px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 5px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.artis .item {
|
|
width: 185px;
|
|
border-radius: 10px;
|
|
background: url("../common/cont/card-bg.png") top left repeat-x;
|
|
background-size: auto 100%;
|
|
margin: 5px;
|
|
height: 210px;
|
|
position: relative;
|
|
box-shadow: 0 0 1px 0 #ccc, 2px 2px 4px 0 rgba(50, 50, 50, .8);
|
|
}
|
|
|
|
|
|
.artis .item .arti-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
position: absolute;
|
|
left: 2px;
|
|
top: 3px;
|
|
}
|
|
|
|
.artis .item .arti-icon 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;
|
|
}
|
|
|
|
.artis .item img {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
.artis .head {
|
|
color: #fff;
|
|
padding: 12px 0 8px 68px;
|
|
}
|
|
|
|
.artis .head strong {
|
|
font-size: 15px;
|
|
display: block;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.artis .head span {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.artis .head .mark {
|
|
font-family: Number, YS;
|
|
}
|
|
|
|
.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;
|
|
font-family: YS;
|
|
}
|
|
|
|
.artis ul.detail li {
|
|
padding: 0 3px;
|
|
font-size: 14px;
|
|
position: initial;
|
|
width: 100%;
|
|
display: table;
|
|
line-height: 26px;
|
|
height: 26px;
|
|
}
|
|
|
|
|
|
.artis ul.detail li.nouse span {
|
|
color: #888;
|
|
}
|
|
|
|
.artis ul.detail li.arti-main {
|
|
font-size: 16px;
|
|
padding: 3px 3px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.artis ul.detail li span {
|
|
position: initial;
|
|
display: table-cell;
|
|
color: #fff;
|
|
font-family: YS;
|
|
}
|
|
|
|
.artis ul.detail li span.title {
|
|
text-align: left;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.artis ul.detail li span.val {
|
|
text-align: right;
|
|
padding-right: 10px;
|
|
font-family: Number;
|
|
}
|
|
|
|
.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: 100px;
|
|
}
|
|
|
|
.artis .weapon img {
|
|
width: 100px;
|
|
height: 100px;
|
|
top: 0;
|
|
left: 0;
|
|
position: absolute;
|
|
z-index: 2;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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 .stat {
|
|
height: 100px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.artis .stat {
|
|
display: table-row;
|
|
padding: 18px 10px;
|
|
display: table;
|
|
}
|
|
|
|
.artis .stat > div {
|
|
display: table-cell;
|
|
text-align: center;
|
|
color: #fff;
|
|
}
|
|
|
|
.artis .stat strong {
|
|
display: block;
|
|
height: 40px;
|
|
font-size: 30px;
|
|
font-family: Number;
|
|
line-height: 40px;
|
|
}
|
|
|
|
|
|
.artis .stat span {
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
color: #bbb;
|
|
}
|
|
|
|
.char-优菈 .main-pic {
|
|
margin-left: -175px;
|
|
}
|
|
|
|
.char-烟绯 .main-pic {
|
|
margin-left: -135px;
|
|
}
|
|
|
|
.char-香菱 .main-pic {
|
|
margin-left: -195px;
|
|
} |