mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-16 12:51:45 +00:00
57edccd925
Signed-off-by: Karako <karakohear@gmail.com> Co-authored-by: 洛水居室 <luoshuijs@outlook.com> Co-authored-by: xtaodada <xtao@xtaolink.cn>
324 lines
5.8 KiB
CSS
324 lines
5.8 KiB
CSS
@font-face {
|
|
font-family: 'HYWH';
|
|
src: url('../../fonts/HYWenHei-85W.ttf') format('truetype');
|
|
}
|
|
|
|
:root {
|
|
--bg-color: #EBE5D9;
|
|
--font-color: #514E49;
|
|
--color-1: #D6BA92;
|
|
--shadow: #726C65;
|
|
|
|
}
|
|
|
|
* {
|
|
font-family: 'HYWH', serif;
|
|
color: var(--font-color);
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.container {
|
|
width: 1104px;
|
|
background-color: var(--bg-color);
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
padding: 15px 30px;
|
|
}
|
|
|
|
.container > div.title {
|
|
width: 100%;
|
|
font-size: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.user-info {
|
|
margin-top: 20px;
|
|
font-size: 25px;
|
|
border-left-color: var(--color-1);
|
|
border-left-style: solid;
|
|
border-left-width: 10px;
|
|
padding: 0;
|
|
font-style: italic;
|
|
}
|
|
|
|
.user-info > span:last-child {
|
|
float: right;
|
|
}
|
|
|
|
.box {
|
|
width: 100%;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.title {
|
|
font-size: 30px;
|
|
width: 100%;
|
|
text-align: center;
|
|
position: relative;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.area {
|
|
width: calc(100% - 20px);
|
|
padding: 0 10px;
|
|
margin: 40px 0;
|
|
}
|
|
|
|
.area-head {
|
|
width: calc(100% - 20px);
|
|
height: 80px;
|
|
position: relative;
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.area-head > span {
|
|
font-size: 23px;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.area-name {
|
|
background-image: url("bg/title/01.png");
|
|
background-size: contain;
|
|
height: inherit;
|
|
width: 356px;
|
|
filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.8));
|
|
}
|
|
|
|
.area-name > img {
|
|
height: inherit;
|
|
filter: drop-shadow(3px 3px 5px black);
|
|
position: relative;
|
|
left: 5px;
|
|
}
|
|
|
|
.area-name > div {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 88px;
|
|
transform: translateY(-50%);
|
|
font-size: 28px;
|
|
}
|
|
|
|
.material-name {
|
|
top: 0 !important;
|
|
right: 269px;
|
|
z-index: 2;
|
|
padding: 2px 20px;
|
|
min-width: 100px;
|
|
min-height: 40px;
|
|
border-radius: 20px 5px 20px 20px;
|
|
background-color: rgb(246 222 169 / 50%);
|
|
backdrop-filter: blur(5px);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
box-shadow: 3px 3px 5px rgb(0 0 0 / 50%);
|
|
font-size: 24px !important;
|
|
}
|
|
|
|
.materials {
|
|
width: 335px;
|
|
height: inherit;
|
|
right: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-image: url("bg/title/02.png");
|
|
background-size: 100% 100%;
|
|
position: relative;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.8));
|
|
}
|
|
|
|
.materials > div:not(.material) {
|
|
position: absolute;
|
|
width: 100px;
|
|
height: 35px;
|
|
background: rgb(246 222 169 / 80%);
|
|
left: -35px;
|
|
top: -15px;
|
|
z-index: 2;
|
|
box-shadow: 1px 1px 10px rgb(0 0 0 / 20%);
|
|
border-radius: 20px 5px 20px 20px;
|
|
backdrop-filter: blur(10px);
|
|
text-align: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 20px;
|
|
color: rgb(255 255 255);
|
|
}
|
|
|
|
.material {
|
|
position: relative;
|
|
top: 5px;
|
|
width: 60px;
|
|
margin: 0 5px;
|
|
filter: drop-shadow(1px 1px 5px #838383);
|
|
}
|
|
|
|
.material-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
background-size: 100% auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.material-icon > img {
|
|
height: 100%;
|
|
}
|
|
|
|
.material-star {
|
|
position: relative;
|
|
top: -5px;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
filter: drop-shadow(1px 1px 2px #6C6C6C);
|
|
}
|
|
|
|
.material-star > img {
|
|
width: 10px;
|
|
}
|
|
|
|
.area-content {
|
|
margin: 20px 0;
|
|
padding: 0 20px;
|
|
display: flex;
|
|
flex-flow: wrap;
|
|
}
|
|
|
|
.item {
|
|
width: 150px;
|
|
background-color: var(--bg-color);
|
|
border-radius: 10px;
|
|
box-shadow: 3px 3px 10px var(--shadow);
|
|
margin: 10px 12px;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.item-not-owned::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgb(0 0 0 / 50%);
|
|
z-index: 1;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.item-icon {
|
|
width: inherit;
|
|
height: 150px;
|
|
background-size: 104% auto;
|
|
background-position: center;
|
|
overflow: hidden;
|
|
border-radius: 10px 10px 35px 0;
|
|
position: relative;
|
|
}
|
|
|
|
.item-icon > img {
|
|
max-height: 100%;
|
|
max-width: 150px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(-50%);
|
|
}
|
|
|
|
.item-name {
|
|
text-align: center;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 35px;
|
|
}
|
|
|
|
.item-name > div {
|
|
width: 100%;
|
|
font-size: 22px;
|
|
text-align: center;
|
|
}
|
|
|
|
.item > .item-icon > div {
|
|
position: absolute;
|
|
z-index: 1;
|
|
color: white;
|
|
}
|
|
|
|
.item > .item-icon > div:first-child {
|
|
background-color: rgba(100, 149, 237, 0.7);
|
|
backdrop-filter: blur(3px);
|
|
border-radius: 0 0 5px 0;
|
|
box-shadow: 1px 1px 5px var(--shadow);
|
|
left: 0;
|
|
font-size: 18px;
|
|
padding: 4px 5px;
|
|
}
|
|
|
|
.character {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.character > .item-icon > div:nth-child(2) {
|
|
border-radius: 0 0 0 5px;
|
|
box-shadow: -1px 1px 5px var(--shadow);
|
|
right: 0;
|
|
font-size: 20px;
|
|
padding: 3px;
|
|
}
|
|
|
|
.weapon > .item-icon > div:nth-child(2) {
|
|
border-radius: 0 5px 0 0;
|
|
box-shadow: -1px -1px 5px var(--shadow);
|
|
bottom: 0;
|
|
font-size: 18px;
|
|
padding: 3px;
|
|
}
|
|
|
|
.weapon {
|
|
overflow: unset;
|
|
position: relative;
|
|
}
|
|
|
|
.weapon > .role {
|
|
background-color: rgb(76 82 107 / 80%);
|
|
backdrop-filter: blur(3px);
|
|
position: absolute;
|
|
right: -10px;
|
|
top: -10px;
|
|
z-index: 2;
|
|
width: 30px;
|
|
height: 30px;
|
|
padding: 5px;
|
|
border-radius: 100%;
|
|
border-style: solid;
|
|
border-width: 3px;
|
|
border-color: white;
|
|
}
|
|
|
|
.weapon > .role > img {
|
|
height: 58px;
|
|
position: absolute;
|
|
left: 20px;
|
|
transform: translateX(-50%);
|
|
bottom: 0;
|
|
}
|