2022-08-08 21:16:37 +00:00
|
|
|
.font(@name, @file) {
|
|
|
|
@font-face {
|
|
|
|
font-family: @name;
|
|
|
|
src: url("./font/@{file}.woff") format('woff'), url("./font/@{file}.ttf") format('truetype');
|
|
|
|
}
|
2022-05-10 21:54:01 +00:00
|
|
|
}
|
|
|
|
|
2022-08-08 21:16:37 +00:00
|
|
|
.font('Number', 'tttgbnumber');
|
|
|
|
.font('NZBZ', 'NZBZ');
|
|
|
|
.font('YS', 'HYWH-65W');
|
2022-05-10 21:54:01 +00:00
|
|
|
|
2022-08-08 21:16:37 +00:00
|
|
|
@import "base.less";
|
2022-05-16 21:32:31 +00:00
|
|
|
|
2022-05-10 21:54:01 +00:00
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
box-sizing: border-box;
|
2022-08-05 22:12:57 +00:00
|
|
|
-webkit-user-select: none;
|
2022-05-10 21:54:01 +00:00
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-size: 18px;
|
|
|
|
color: #1e1f20;
|
2022-08-08 21:16:37 +00:00
|
|
|
font-family: Number, "汉仪文黑-65W", YS, PingFangSC-Medium, "PingFang SC", sans-serif;
|
2022-05-10 21:54:01 +00:00
|
|
|
transform: scale(1.4);
|
|
|
|
transform-origin: 0 0;
|
|
|
|
width: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
width: 600px;
|
|
|
|
padding: 20px 15px 10px 15px;
|
|
|
|
background-size: contain;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.head-box {
|
|
|
|
border-radius: 15px;
|
|
|
|
padding: 10px 20px;
|
|
|
|
position: relative;
|
|
|
|
color: #fff;
|
|
|
|
margin-top: 30px;
|
|
|
|
|
2022-08-05 22:12:57 +00:00
|
|
|
.title {
|
2022-08-08 21:16:37 +00:00
|
|
|
.font-NZBZ;
|
2022-08-05 22:12:57 +00:00
|
|
|
font-size: 36px;
|
|
|
|
text-shadow: 0 0 1px #000, 1px 1px 3px rgba(0, 0, 0, .9);
|
2022-08-08 21:16:37 +00:00
|
|
|
|
|
|
|
.label {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2022-08-05 22:12:57 +00:00
|
|
|
}
|
2022-05-10 21:54:01 +00:00
|
|
|
|
2022-08-05 22:12:57 +00:00
|
|
|
.genshin_logo {
|
|
|
|
position: absolute;
|
|
|
|
top: 1px;
|
|
|
|
right: 15px;
|
|
|
|
width: 97px;
|
|
|
|
}
|
2022-05-10 21:54:01 +00:00
|
|
|
|
2022-08-05 22:12:57 +00:00
|
|
|
.label {
|
|
|
|
font-size: 16px;
|
|
|
|
text-shadow: 0 0 1px #000, 1px 1px 3px rgba(0, 0, 0, .9);
|
2022-05-10 21:54:01 +00:00
|
|
|
|
2022-08-05 22:12:57 +00:00
|
|
|
span {
|
|
|
|
color: #d3bc8e;
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
|
|
|
}
|
2022-05-10 21:54:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
color: #888;
|
|
|
|
font-size: 12px;
|
|
|
|
text-align: right;
|
|
|
|
padding: 12px 5px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-center {
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
text-shadow: 1px 1px 1px #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.copyright {
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
color: #fff;
|
|
|
|
position: relative;
|
|
|
|
padding-left: 10px;
|
|
|
|
text-shadow: 1px 1px 1px #000;
|
2022-05-22 13:10:10 +00:00
|
|
|
margin: 10px 0;
|
|
|
|
|
|
|
|
.version {
|
|
|
|
font-size: 13px;
|
|
|
|
color: #d3bc8e;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 3px;
|
|
|
|
}
|
2022-05-10 21:54:01 +00:00
|
|
|
}
|
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
|
2022-05-13 19:31:49 +00:00
|
|
|
/* */
|
|
|
|
|
|
|
|
.cons {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 0 5px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2022-05-10 21:54:01 +00:00
|
|
|
|
2022-05-16 21:32:31 +00:00
|
|
|
|
2022-05-10 21:54:01 +00:00
|
|
|
.cons(@idx, @bg, @color:#fff) {
|
|
|
|
.cons-@{idx} {
|
|
|
|
background: @bg;
|
|
|
|
color: @color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cons(0, #666);
|
2022-05-16 21:32:31 +00:00
|
|
|
.cons(n0, #404949);
|
|
|
|
.cons(1, #5cbac2);
|
|
|
|
.cons(2, #339d61);
|
|
|
|
.cons(3, #3e95b9);
|
|
|
|
.cons(4, #3955b7);
|
2022-05-10 21:54:01 +00:00
|
|
|
.cons(5, #531ba9cf);
|
|
|
|
.cons(6, #ff5722);
|
|
|
|
|
2022-05-16 21:32:31 +00:00
|
|
|
.cons2(@idx, @bg, @color:#fff) {
|
|
|
|
.cons2-@{idx} {
|
|
|
|
border-radius: 4px;
|
|
|
|
background: @bg;
|
|
|
|
color: @color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cons2(0, #666);
|
|
|
|
.cons2(1, #71b1b7);
|
|
|
|
.cons2(2, #369961);
|
|
|
|
.cons2(3, #4596b9);
|
|
|
|
.cons2(4, #4560b9);
|
|
|
|
.cons2(5, #531ba9cf);
|
|
|
|
.cons2(6, #ff5722);
|
|
|
|
|
2022-08-07 22:14:24 +00:00
|
|
|
/******** Fetter ********/
|
|
|
|
|
|
|
|
.fetter {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
display: inline-block;
|
|
|
|
background: url('./item/fetter.png');
|
|
|
|
background-size: auto 100%;
|
|
|
|
@fetters: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10;
|
|
|
|
each(@fetters, {
|
|
|
|
&.fetter@{value} {
|
|
|
|
background-position: (-100%/9)+(100%/9)*@value 0;
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
2022-05-10 21:54:01 +00:00
|
|
|
|
|
|
|
/******** ELEM ********/
|
|
|
|
|
2022-08-01 21:15:37 +00:00
|
|
|
@elems: hydro, anemo, cryo, electro, geo, pyro, dendro;
|
2022-05-10 21:54:01 +00:00
|
|
|
|
|
|
|
each(@elems, {
|
|
|
|
.elem-@{value} .talent-icon {
|
|
|
|
background-image: url("./bg/talent-@{value}.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.elem-@{value} .elem-bg,
|
|
|
|
.@{value}-bg {
|
|
|
|
background-image: url("./bg/bg-@{value}.jpg");
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
/* cont */
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cont-title {
|
|
|
|
background: rgba(0, 0, 0, .4);
|
|
|
|
box-shadow: 0 0 1px 0 #fff;
|
|
|
|
color: #d3bc8e;
|
|
|
|
padding: 10px 20px;
|
|
|
|
text-align: left;
|
|
|
|
border-radius: 10px 10px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-title span {
|
|
|
|
font-size: 12px;
|
|
|
|
color: #aaa;
|
|
|
|
margin-left: 10px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-body {
|
|
|
|
padding: 10px 15px;
|
|
|
|
font-size: 12px;
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
box-shadow: 0 0 1px 0 #fff;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cont-footer {
|
|
|
|
padding: 10px 15px;
|
|
|
|
font-size: 12px;
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2022-06-25 23:45:43 +00:00
|
|
|
.cont > ul.cont-msg {
|
|
|
|
display: block;
|
|
|
|
padding: 5px 10px;
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.cont-msg, .cont-footer ul {
|
|
|
|
padding-left: 15px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin: 5px 0;
|
|
|
|
margin-left: 15px;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0 2px;
|
|
|
|
color: #d3bc8e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-10 21:54:01 +00:00
|
|
|
.cont-table {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-table .tr {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-table .tr:nth-child(even) {
|
|
|
|
background: rgba(0, 0, 0, .4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-table .tr:nth-child(odd) {
|
|
|
|
background: rgba(50, 50, 50, .4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-table .tr > div,
|
|
|
|
.cont-table .tr > td {
|
|
|
|
display: table-cell;
|
|
|
|
box-shadow: 0 0 1px 0 #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-table .tr > div.value-full {
|
|
|
|
display: table;
|
|
|
|
width: 200%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-table .tr > div.value-none {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-table .thead {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cont-table .thead > div,
|
|
|
|
.cont-table .thead > td {
|
|
|
|
color: #d3bc8e;
|
|
|
|
background: rgba(0, 0, 0, .4);
|
|
|
|
line-height: 40px;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cont-table .title,
|
|
|
|
.cont-table .th {
|
|
|
|
color: #d3bc8e;
|
|
|
|
padding-right: 15px;
|
|
|
|
text-align: right;
|
|
|
|
background: rgba(0, 0, 0, .4);
|
|
|
|
min-width: 100px;
|
|
|
|
vertical-align: middle;
|
2022-05-22 13:10:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
font-size: 18px;
|
|
|
|
text-align: center;
|
|
|
|
color: #fff;
|
|
|
|
margin: 20px 0 10px 0;
|
|
|
|
}
|
2022-08-05 22:12:57 +00:00
|
|
|
|
|
|
|
/* item-icon */
|
|
|
|
.item-icon {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 4px;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
background-size: contain;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
@stars: 1, 2, 3, 4, 5;
|
|
|
|
each(@stars, {
|
|
|
|
&.star@{value} {
|
|
|
|
background-image: url("../common/item/bg@{value}.png");
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|